Hi Ben,

The request works for me, so the time out issue is a performance issue and
not related to API problems. We have been having some hiccups in December
and we are looking into them.

- Ian

On 19/12/07 20:07, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> Send Connotea-code-devel mailing list submissions to
> [email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/connotea-code-devel
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
> [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Connotea-code-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. failing request (Benjamin Good)
>    2. Re: Throttling (Martin Flack)
>    3. Re: Throttling (Martin Flack)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 18 Dec 2007 13:41:38 -0800
> From: Benjamin Good <[EMAIL PROTECTED]>
> Subject: [Connotea-code-devel] failing request
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; format=flowed; charset=US-ASCII
> 
> Is there anything wrong with this request for any two bookmarks ?
> 
> http://www.connotea.org/data/bookmarks?num=2&start=0
> 
> Why does it time out?
> 
> thanks
> -Ben
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 18 Dec 2007 17:29:07 -0500
> From: Martin Flack <[EMAIL PROTECTED]>
> Subject: Re: [Connotea-code-devel] Throttling
> To: Christopher Townson <[EMAIL PROTECTED]>
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Christopher Townson wrote:
>> How does the throttling work for the Connotea server?
>> 
>> I'm wondering because API calls that get refused receive HTML (rather than
>> RDF or XML, which is not ideal to have to handle as a client).
>> 
>> Would it be possible to get the server to return an RDF message when API
>> calls are refused? This could also make the reasoning clear by providing a
>> human-readable error message.
> 
> Hi Chris,
> 
> We may do this at some point. Throttling just happens earlier in the
> process.
> 
> What we actually advise is to first refer to the HTTP status code. For
> 503 as the return code you can stop and loop for a retry after a pause.
> 
> For API access, you should say "WWW::Connotea" in your outbound
> User-Agent header, which will be recognized on our end for a bit of
> extra help. (The Perl API wrapper, if not all of them, should do this
> for you.)
> 
> This page describes the throttling algorithm:
> http://www.connotea.org/wiki/Throttling
> 
> Regards,
> Martin Flack
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 18 Dec 2007 17:49:22 -0500
> From: Martin Flack <[EMAIL PROTECTED]>
> Subject: Re: [Connotea-code-devel] Throttling
> To: Christopher Townson <[EMAIL PROTECTED]>
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Christopher Townson wrote:
>> How does the throttling work for the Connotea server?
>> 
>> I'm wondering because API calls that get refused receive HTML (rather than
>> RDF or XML, which is not ideal to have to handle as a client).
>> 
>> Would it be possible to get the server to return an RDF message when API
>> calls are refused? This could also make the reasoning clear by providing a
>> human-readable error message.
> 
> Ah, just realized to which "Chris" I was replying. ;-) If you need me to
> change the API 503 to RDF, I'll be happy to take care of it for you. ;-)
> 
> Cheers,
> Martin
> 
> 
> 
> 
> ------------------------------
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> 
> ------------------------------
> 
> _______________________________________________
> Connotea-code-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/connotea-code-devel
> 
> 
> End of Connotea-code-devel Digest, Vol 20, Issue 4
> **************************************************


-- 
Ian Mulvany
[EMAIL PROTECTED]
+44(0)2078434756
www.nature.com
www.connotea.org
--



********************************************************************************
   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   
********************************************************************************

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Connotea-code-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/connotea-code-devel

Reply via email to