[twitter-dev] Re: Connection Keep-Alive and Max Simultaneous Connections

2009-04-08 Thread Steve Brunton

On Wed, Apr 8, 2009 at 8:51 PM, orange80  wrote:
>
> Does the Twitter API server support keep-alive?  I can't seem to get
> it to work with Apache HttpClient 4.  Also is there a limit to the
> number of simultaneous connections?
>

Seeing as how it sends back a "Connection: close" header I'm going to
guess no. That's just a guess though.

-steve


[twitter-dev] Re: Connection Keep-Alive and Max Simultaneous Connections

2009-04-08 Thread orange80

Yeah, I started checking the headers and realized that.  It doesn't
seem like there's any hard limit on simultaneous connections though so
that helps quite a bit.

Thanks!
Jamie

On Apr 8, 9:46 pm, Steve Brunton  wrote:
> On Wed, Apr 8, 2009 at 8:51 PM, orange80  wrote:
>
> > Does the Twitter API server support keep-alive?  I can't seem to get
> > it to work with Apache HttpClient 4.  Also is there a limit to the
> > number of simultaneous connections?
>
> Seeing as how it sends back a "Connection: close" header I'm going to
> guess no. That's just a guess though.
>
> -steve


[twitter-dev] Re: Connection Keep-Alive and Max Simultaneous Connections

2009-04-08 Thread John Adams


On Apr 8, 2009, at 10:33 PM, orange80 wrote:


Yeah, I started checking the headers and realized that.  It doesn't
seem like there's any hard limit on simultaneous connections though so
that helps quite a bit.



Our web servers do not support Keep-Alive.

-j

---
John Adams
Twitter Operations
j...@twitter.com
http://twitter.com/netik






[twitter-dev] Re: Connection Keep-Alive and Max Simultaneous Connections

2009-04-09 Thread orange80

Any reason why not?  Just curious.  Nice API by the way :)

Thanks,
Jamie

On Apr 9, 12:47 am, John Adams  wrote:
> On Apr 8, 2009, at 10:33 PM, orange80 wrote:
>
> > Yeah, I started checking the headers and realized that.  It doesn't
> > seem like there's any hard limit on simultaneous connections though so
> > that helps quite a bit.
>
> Our web servers do not support Keep-Alive.
>
> -j
>
> ---
> John Adams
> Twitter Operations
> j...@twitter.comhttp://twitter.com/netik


[twitter-dev] Re: Connection Keep-Alive and Max Simultaneous Connections

2009-04-09 Thread Chad Etzel

I would guess that when you have millions of connection requests a day
coming into a few different servers, you don't want the connection to
stay open for any longer than it needs to be.  Get in, serve data, get
out.
-Chad

On Thu, Apr 9, 2009 at 2:02 PM, orange80  wrote:
>
> Any reason why not?  Just curious.  Nice API by the way :)
>
> Thanks,
> Jamie
>
> On Apr 9, 12:47 am, John Adams  wrote:
>> On Apr 8, 2009, at 10:33 PM, orange80 wrote:
>>
>> > Yeah, I started checking the headers and realized that.  It doesn't
>> > seem like there's any hard limit on simultaneous connections though so
>> > that helps quite a bit.
>>
>> Our web servers do not support Keep-Alive.
>>
>> -j
>>
>> ---
>> John Adams
>> Twitter Operations
>> j...@twitter.comhttp://twitter.com/netik
>


[twitter-dev] Re: Connection Keep-Alive and Max Simultaneous Connections

2009-04-09 Thread Doug Williams
Right on, Chad.

Doug Williams
Twitter API Support
http://twitter.com/dougw


On Thu, Apr 9, 2009 at 1:34 PM, Chad Etzel  wrote:

>
> I would guess that when you have millions of connection requests a day
> coming into a few different servers, you don't want the connection to
> stay open for any longer than it needs to be.  Get in, serve data, get
> out.
> -Chad
>
> On Thu, Apr 9, 2009 at 2:02 PM, orange80  wrote:
> >
> > Any reason why not?  Just curious.  Nice API by the way :)
> >
> > Thanks,
> > Jamie
> >
> > On Apr 9, 12:47 am, John Adams  wrote:
> >> On Apr 8, 2009, at 10:33 PM, orange80 wrote:
> >>
> >> > Yeah, I started checking the headers and realized that.  It doesn't
> >> > seem like there's any hard limit on simultaneous connections though so
> >> > that helps quite a bit.
> >>
> >> Our web servers do not support Keep-Alive.
> >>
> >> -j
> >>
> >> ---
> >> John Adams
> >> Twitter Operations
> >> j...@twitter.comhttp://twitter.com/netik
> >
>


[twitter-dev] Re: Connection Keep-Alive and Max Simultaneous Connections

2009-04-09 Thread orange80

Yeah, I was just wondering though if all the overhead of setting up
and tearing down connections for each request makes sense when a
client might need to download hundreds of statuses (to be stored in
local cache) the first time someone uses it.

On Apr 9, 3:34 pm, Chad Etzel  wrote:
> I would guess that when you have millions of connection requests a day
> coming into a few different servers, you don't want the connection to
> stay open for any longer than it needs to be.  Get in, serve data, get
> out.
> -Chad
>
> On Thu, Apr 9, 2009 at 2:02 PM, orange80  wrote:
>
> > Any reason why not?  Just curious.  Nice API by the way :)
>
> > Thanks,
> > Jamie
>
> > On Apr 9, 12:47 am, John Adams  wrote:
> >> On Apr 8, 2009, at 10:33 PM, orange80 wrote:
>
> >> > Yeah, I started checking the headers and realized that.  It doesn't
> >> > seem like there's any hard limit on simultaneous connections though so
> >> > that helps quite a bit.
>
> >> Our web servers do not support Keep-Alive.
>
> >> -j
>
> >> ---
> >> John Adams
> >> Twitter Operations
> >> j...@twitter.comhttp://twitter.com/netik