trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BRA Lento <glico...@gmail.com>
Subject Re: set share_server_sessions as 1 is ok?
Date Tue, 16 Apr 2013 15:29:29 GMT
Hi,

  I need to do this kind of plugin to my server.
  It's a private plugin or I could share the code with us ?
  I'm really interested in looking it.
  Thanks.

  Best Regards,

Bob


2013/4/16 Leif Hedstrom <zwoop@apache.org>

> On 4/16/13 9:09 AM, Yongming Zhao wrote:
>
>> the default =2 is set to threading session sharing, that is consider to
>> be better performance, and set to =1 is using the global session pool, that
>> is not that bad unless you can tell that the performance is noticeable, in
>> some case, the global session pool is much safer :D
>>
>> BTW, that is a problem we should fix, I think TS-1590 as the same type of
>> failure.
>>
>
> Ah, great. Please update TS-1590 with this information, I'll mark that one
> for v3.3.3. This needs to be fixed for v3.4 IMO (and yes, blame me! :-).
>
> Cheers,
>
> -- Leif
>
>
>> 在 2013-4-16,下午4:41,오재경 <genextoh@gmail.com <mailto:genextoh@gmail.com>>
>> 写道:
>>
>>
>>  sorry. i forgot to write the title..
>>>
>>> hi everyone.
>>>
>>> I made a plugin. it calls TSHttpConnect and download a contents when it
>>> meets a range request. as you know, ats doesn't cache partial request.
>>> that's why i made the plugin to trigger full download for a range request.
>>>
>>> proxy.config.http.share_**server_sessions makes a problem. default
>>> value is 2 and ATS always crash when the plugin trigger download.
>>>
>>> but with 1, ATS works fine with my plugin.
>>>
>>> i digged the source what happens when i call TSHttpConnect.
>>>
>>> if i set share_server_sessions 2 _acquire_session is called with ethread
>>> parameter. if 1 _acquire_session is called with global bucket.
>>>
>>> my question is ..is it ok if i set share_server_sessions 1 instead of
>>> default value 2 ?
>>>
>>> No problem in performance? No problem in running ATS in 24/7 ?
>>>
>>> Thanks.
>>>
>>
>>
>

Mime
View raw message