You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by James Peach <jp...@apache.org> on 2014/05/20 04:45:29 UTC

Re: git commit: TS-2821 Add to default records.config and tweak the name to be more consistent.

On May 19, 2014, at 5:26 PM, amc@apache.org wrote:

> Repository: trafficserver
> Updated Branches:
>  refs/heads/master c25fb7541 -> ce8304309
> 
> 
> TS-2821 Add to default records.config and tweak the name to be more consistent.
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
> Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ce830430
> Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ce830430
> Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ce830430
> 
> Branch: refs/heads/master
> Commit: ce8304309e2c17b4b3efbe93f990f7106a28a7e1
> Parents: c25fb75
> Author: Alan M. Carroll <am...@network-geographics.com>
> Authored: Mon May 19 17:25:29 2014 -0700
> Committer: Alan M. Carroll <am...@network-geographics.com>
> Committed: Mon May 19 17:25:29 2014 -0700
> 
> ----------------------------------------------------------------------
> doc/reference/configuration/records.config.en.rst | 4 ++--
> mgmt/RecordsConfig.cc                             | 2 +-
> proxy/config/records.config.default.in            | 6 ++++++
> proxy/spdy/SpdyCommon.cc                          | 2 +-
> 4 files changed, 10 insertions(+), 4 deletions(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/doc/reference/configuration/records.config.en.rst
> ----------------------------------------------------------------------
> diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
> index 4ca5613..cef38fe 100644
> --- a/doc/reference/configuration/records.config.en.rst
> +++ b/doc/reference/configuration/records.config.en.rst
> @@ -2227,10 +2227,10 @@ ICP Configuration
> SPDY Configuration
> ==================
> 
> -.. ts:cv:: CONFIG proxy.config.spdy.max_concurrent_streams INT 1000
> +.. ts:cv:: CONFIG proxy.config.spdy.client.max_concurrent_streams INT 1000
>    :reloadable:

This should be proxy.config.spdy.SERVER.max_concurrent_streams. The terms "client" and "server" are well established. "proxy.config.ssl.client" refers to ATS making outbound SSL connections, and "proxy.config.ssl.server" and "proxy.config.http.server" refer to ATS accepting sessions from clients. This setting is all about ATS acting as a SPDY server.

The default value of 1000 is *huge*. 10 would be better IMHO.

We should not be adding more default entries to "records.config"; the goal is to reduce the number of entries that are duplicated in that file.

Finally, I think that it is worth documenting that which this is reloadable, only new SPDY sessions will get the new value. Since SPDY sessions are long-lasting, this may surprise people.

> 
> -   Set the maximum number of concurrent streams per client SPDY connection.
> +   Set the maximum number of concurrent streams per client connection.
> 
> Scheduled Update Configuration
> ==============================
> 
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/mgmt/RecordsConfig.cc
> ----------------------------------------------------------------------
> diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
> index 0551ec4..f46a5b8 100644
> --- a/mgmt/RecordsConfig.cc
> +++ b/mgmt/RecordsConfig.cc
> @@ -1934,7 +1934,7 @@ RecordElement RecordsConfig[] = {
>   //# SPDY global configuration.
>   //#
>   //############
> -  {RECT_CONFIG, "proxy.config.spdy.max_concurrent_streams", RECD_INT, "1000", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
> +  {RECT_CONFIG, "proxy.config.spdy.client.max_concurrent_streams", RECD_INT, "1000", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
> 
>   //# Add LOCAL Records Here
>   {RECT_LOCAL, "proxy.local.incoming_ip_to_bind", RECD_STRING, NULL, RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL}
> 
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/proxy/config/records.config.default.in
> ----------------------------------------------------------------------
> diff --git a/proxy/config/records.config.default.in b/proxy/config/records.config.default.in
> index 22a2587..3445a24 100644
> --- a/proxy/config/records.config.default.in
> +++ b/proxy/config/records.config.default.in
> @@ -541,6 +541,12 @@ CONFIG proxy.config.ssl.client.CA.cert.filename STRING NULL
> CONFIG proxy.config.ssl.client.CA.cert.path STRING @rel_sysconfdir@
> ##############################################################################
> #
> +# SPDY Configuration.
> +#
> +##############################################################################
> +CONFIG proxy.config.spdy.client.max_concurrent_streams INT 1000
> +##############################################################################
> +#
> # ICP Configuration.
> #
> ##############################################################################
> 
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/proxy/spdy/SpdyCommon.cc
> ----------------------------------------------------------------------
> diff --git a/proxy/spdy/SpdyCommon.cc b/proxy/spdy/SpdyCommon.cc
> index 66086ef..58ba1d9 100644
> --- a/proxy/spdy/SpdyCommon.cc
> +++ b/proxy/spdy/SpdyCommon.cc
> @@ -50,7 +50,7 @@ spdy_config_load()
>   //
>   SPDY_CFG.spdy.serv_port = -1;
> //  SPDY_CFG.spdy.max_concurrent_streams = 1000;
> -  REC_EstablishStaticConfigInt32(SPDY_CFG.spdy.max_concurrent_streams, "proxy.config.spdy.max_concurrent_streams");
> +  REC_EstablishStaticConfigInt32(SPDY_CFG.spdy.max_concurrent_streams, "proxy.config.spdy.client.max_concurrent_streams");
>   SPDY_CFG.spdy.initial_window_size = (64 << 10);
> 
>   spdy_callbacks_init(&SPDY_CFG.spdy.callbacks);
> 


Re: git commit: TS-2821 Add to default records.config and tweak the name to be more consistent.

Posted by "Alan M. Carroll" <am...@network-geographics.com>.
James,

Monday, May 19, 2014, 7:45:29 PM, you wrote:

I will bow out of the naming issue just do whatever the consensus is.

> The default value of 1000 is *huge*. 10 would be better IMHO.

1000 was the existing hardwired value.

> We should not be adding more default entries to "records.config"; the goal is to reduce the number of entries that are duplicated in that file.

There was some discussion of this but I was persuaded that it was reasonable to provide it as a guide. I don't have a strong opinion on it.

> Finally, I think that it is worth documenting that which this is reloadable, only new SPDY sessions will get the new value. Since SPDY sessions are long-lasting, this may surprise people.

I'll fix that.


Re: git commit: TS-2821 Add to default records.config and tweak the name to be more consistent.

Posted by Leif Hedstrom <zw...@apache.org>.
On May 20, 2014, at 10:42 AM, James Peach <jp...@apache.org> wrote:

> On May 19, 2014, at 8:37 PM, Brian Geffon <br...@apache.org> wrote:
> 
>> In response to this default value, most spdy servers I've seen use 256 for
>> this value. Take a look at net internals in chrome.
> 
> Even 256 seems pretty aggressive. That's letting a single socket queue 256 parallel requests :)


Not sure if that is particularly aggressive? Although I have very little experience with SPDY, the HTTP/2 spec recommends it to be at least 100:

   SETTINGS_MAX_CONCURRENT_STREAMS (3):  Indicates the maximum number of
      concurrent streams that the sender will allow.  This limit is
      directional: it applies to the number of streams that the sender
      permits the receiver to create.  Initially there is no limit to
      this value.  It is recommended that this value be no smaller than
      100, so as to not unnecessarily limit parallelism.


I assume SPDY has some similar recommendation in their spec?


As for the config naming, I think James have some suggestions, so I’m +1 with whatever he recommends :)

— leif


Re: git commit: TS-2821 Add to default records.config and tweak the name to be more consistent.

Posted by James Peach <jp...@apache.org>.
On May 19, 2014, at 8:37 PM, Brian Geffon <br...@apache.org> wrote:

> In response to this default value, most spdy servers I've seen use 256 for
> this value. Take a look at net internals in chrome.

Even 256 seems pretty aggressive. That's letting a single socket queue 256 parallel requests :)

> 
> Brian
> 
> On Monday, May 19, 2014, Leif Hedstrom <zw...@apache.org> wrote:
> 
>> Agree with James, let's be consistent.
>> 
>> -- Leif
>> 
>>> On May 19, 2014, at 8:45 PM, James Peach <jp...@apache.org> wrote:
>>> 
>>>> On May 19, 2014, at 5:26 PM, amc@apache.org wrote:
>>>> 
>>>> Repository: trafficserver
>>>> Updated Branches:
>>>> refs/heads/master c25fb7541 -> ce8304309
>>>> 
>>>> 
>>>> TS-2821 Add to default records.config and tweak the name to be more
>> consistent.
>>>> 
>>>> 
>>>> Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
>>>> Commit:
>> http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ce830430
>>>> Tree:
>> http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ce830430
>>>> Diff:
>> http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ce830430
>>>> 
>>>> Branch: refs/heads/master
>>>> Commit: ce8304309e2c17b4b3efbe93f990f7106a28a7e1
>>>> Parents: c25fb75
>>>> Author: Alan M. Carroll <am...@network-geographics.com>
>>>> Authored: Mon May 19 17:25:29 2014 -0700
>>>> Committer: Alan M. Carroll <am...@network-geographics.com>
>>>> Committed: Mon May 19 17:25:29 2014 -0700
>>>> 
>>>> ----------------------------------------------------------------------
>>>> doc/reference/configuration/records.config.en.rst | 4 ++--
>>>> mgmt/RecordsConfig.cc                             | 2 +-
>>>> proxy/config/records.config.default.in            | 6 ++++++
>>>> proxy/spdy/SpdyCommon.cc                          | 2 +-
>>>> 4 files changed, 10 insertions(+), 4 deletions(-)
>>>> ----------------------------------------------------------------------
>>>> 
>>>> 
>>>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/doc/reference/configuration/records.config.en.rst
>>>> ----------------------------------------------------------------------
>>>> diff --git a/doc/reference/configuration/records.config.en.rst
>> b/doc/reference/configuration/records.config.en.rst
>>>> index 4ca5613..cef38fe 100644
>>>> --- a/doc/reference/configuration/records.config.en.rst
>>>> +++ b/doc/reference/configuration/records.config.en.rst
>>>> @@ -2227,10 +2227,10 @@ ICP Configuration
>>>> SPDY Configuration
>>>> ==================
>>>> 
>>>> -.. ts:cv:: CONFIG proxy.config.spdy.max_concurrent_streams INT 1000
>>>> +.. ts:cv:: CONFIG proxy.config.spdy.client.max_concurrent_streams INT
>> 1000
>>>>  :reloadable:
>>> 
>>> This should be proxy.config.spdy.SERVER.max_concurrent_streams. The
>> terms "client" and "server" are well established. "proxy.config.ssl.client"
>> refers to ATS making outbound SSL connections, and
>> "proxy.config.ssl.server" and "proxy.config.http.server" refer to ATS
>> accepting sessions from clients. This setting is all about ATS acting as a
>> SPDY server.
>>> 
>>> The default value of 1000 is *huge*. 10 would be better IMHO.
>>> 
>>> We should not be adding more default entries to "records.config"; the
>> goal is to reduce the number of entries that are duplicated in that file.
>>> 
>>> Finally, I think that it is worth documenting that which this is
>> reloadable, only new SPDY sessions will get the new value. Since SPDY
>> sessions are long-lasting, this may surprise people.
>>> 
>>>> 
>>>> -   Set the maximum number of concurrent streams per client SPDY
>> connection.
>>>> +   Set the maximum number of concurrent streams per client connection.
>>>> 
>>>> Scheduled Update Co


Re: git commit: TS-2821 Add to default records.config and tweak the name to be more consistent.

Posted by Brian Geffon <br...@apache.org>.
In response to this default value, most spdy servers I've seen use 256 for
this value. Take a look at net internals in chrome.

Brian

On Monday, May 19, 2014, Leif Hedstrom <zw...@apache.org> wrote:

> Agree with James, let's be consistent.
>
> -- Leif
>
> > On May 19, 2014, at 8:45 PM, James Peach <jp...@apache.org> wrote:
> >
> >> On May 19, 2014, at 5:26 PM, amc@apache.org wrote:
> >>
> >> Repository: trafficserver
> >> Updated Branches:
> >> refs/heads/master c25fb7541 -> ce8304309
> >>
> >>
> >> TS-2821 Add to default records.config and tweak the name to be more
> consistent.
> >>
> >>
> >> Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
> >> Commit:
> http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ce830430
> >> Tree:
> http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ce830430
> >> Diff:
> http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ce830430
> >>
> >> Branch: refs/heads/master
> >> Commit: ce8304309e2c17b4b3efbe93f990f7106a28a7e1
> >> Parents: c25fb75
> >> Author: Alan M. Carroll <am...@network-geographics.com>
> >> Authored: Mon May 19 17:25:29 2014 -0700
> >> Committer: Alan M. Carroll <am...@network-geographics.com>
> >> Committed: Mon May 19 17:25:29 2014 -0700
> >>
> >> ----------------------------------------------------------------------
> >> doc/reference/configuration/records.config.en.rst | 4 ++--
> >> mgmt/RecordsConfig.cc                             | 2 +-
> >> proxy/config/records.config.default.in            | 6 ++++++
> >> proxy/spdy/SpdyCommon.cc                          | 2 +-
> >> 4 files changed, 10 insertions(+), 4 deletions(-)
> >> ----------------------------------------------------------------------
> >>
> >>
> >>
> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/doc/reference/configuration/records.config.en.rst
> >> ----------------------------------------------------------------------
> >> diff --git a/doc/reference/configuration/records.config.en.rst
> b/doc/reference/configuration/records.config.en.rst
> >> index 4ca5613..cef38fe 100644
> >> --- a/doc/reference/configuration/records.config.en.rst
> >> +++ b/doc/reference/configuration/records.config.en.rst
> >> @@ -2227,10 +2227,10 @@ ICP Configuration
> >> SPDY Configuration
> >> ==================
> >>
> >> -.. ts:cv:: CONFIG proxy.config.spdy.max_concurrent_streams INT 1000
> >> +.. ts:cv:: CONFIG proxy.config.spdy.client.max_concurrent_streams INT
> 1000
> >>   :reloadable:
> >
> > This should be proxy.config.spdy.SERVER.max_concurrent_streams. The
> terms "client" and "server" are well established. "proxy.config.ssl.client"
> refers to ATS making outbound SSL connections, and
> "proxy.config.ssl.server" and "proxy.config.http.server" refer to ATS
> accepting sessions from clients. This setting is all about ATS acting as a
> SPDY server.
> >
> > The default value of 1000 is *huge*. 10 would be better IMHO.
> >
> > We should not be adding more default entries to "records.config"; the
> goal is to reduce the number of entries that are duplicated in that file.
> >
> > Finally, I think that it is worth documenting that which this is
> reloadable, only new SPDY sessions will get the new value. Since SPDY
> sessions are long-lasting, this may surprise people.
> >
> >>
> >> -   Set the maximum number of concurrent streams per client SPDY
> connection.
> >> +   Set the maximum number of concurrent streams per client connection.
> >>
> >> Scheduled Update Co

Re: git commit: TS-2821 Add to default records.config and tweak the name to be more consistent.

Posted by Leif Hedstrom <zw...@apache.org>.
Agree with James, let's be consistent.

-- Leif 

> On May 19, 2014, at 8:45 PM, James Peach <jp...@apache.org> wrote:
> 
>> On May 19, 2014, at 5:26 PM, amc@apache.org wrote:
>> 
>> Repository: trafficserver
>> Updated Branches:
>> refs/heads/master c25fb7541 -> ce8304309
>> 
>> 
>> TS-2821 Add to default records.config and tweak the name to be more consistent.
>> 
>> 
>> Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ce830430
>> Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ce830430
>> Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ce830430
>> 
>> Branch: refs/heads/master
>> Commit: ce8304309e2c17b4b3efbe93f990f7106a28a7e1
>> Parents: c25fb75
>> Author: Alan M. Carroll <am...@network-geographics.com>
>> Authored: Mon May 19 17:25:29 2014 -0700
>> Committer: Alan M. Carroll <am...@network-geographics.com>
>> Committed: Mon May 19 17:25:29 2014 -0700
>> 
>> ----------------------------------------------------------------------
>> doc/reference/configuration/records.config.en.rst | 4 ++--
>> mgmt/RecordsConfig.cc                             | 2 +-
>> proxy/config/records.config.default.in            | 6 ++++++
>> proxy/spdy/SpdyCommon.cc                          | 2 +-
>> 4 files changed, 10 insertions(+), 4 deletions(-)
>> ----------------------------------------------------------------------
>> 
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/doc/reference/configuration/records.config.en.rst
>> ----------------------------------------------------------------------
>> diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
>> index 4ca5613..cef38fe 100644
>> --- a/doc/reference/configuration/records.config.en.rst
>> +++ b/doc/reference/configuration/records.config.en.rst
>> @@ -2227,10 +2227,10 @@ ICP Configuration
>> SPDY Configuration
>> ==================
>> 
>> -.. ts:cv:: CONFIG proxy.config.spdy.max_concurrent_streams INT 1000
>> +.. ts:cv:: CONFIG proxy.config.spdy.client.max_concurrent_streams INT 1000
>>   :reloadable:
> 
> This should be proxy.config.spdy.SERVER.max_concurrent_streams. The terms "client" and "server" are well established. "proxy.config.ssl.client" refers to ATS making outbound SSL connections, and "proxy.config.ssl.server" and "proxy.config.http.server" refer to ATS accepting sessions from clients. This setting is all about ATS acting as a SPDY server.
> 
> The default value of 1000 is *huge*. 10 would be better IMHO.
> 
> We should not be adding more default entries to "records.config"; the goal is to reduce the number of entries that are duplicated in that file.
> 
> Finally, I think that it is worth documenting that which this is reloadable, only new SPDY sessions will get the new value. Since SPDY sessions are long-lasting, this may surprise people.
> 
>> 
>> -   Set the maximum number of concurrent streams per client SPDY connection.
>> +   Set the maximum number of concurrent streams per client connection.
>> 
>> Scheduled Update Configuration
>> ==============================
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/mgmt/RecordsConfig.cc
>> ----------------------------------------------------------------------
>> diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
>> index 0551ec4..f46a5b8 100644
>> --- a/mgmt/RecordsConfig.cc
>> +++ b/mgmt/RecordsConfig.cc
>> @@ -1934,7 +1934,7 @@ RecordElement RecordsConfig[] = {
>>  //# SPDY global configuration.
>>  //#
>>  //############
>> -  {RECT_CONFIG, "proxy.config.spdy.max_concurrent_streams", RECD_INT, "1000", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
>> +  {RECT_CONFIG, "proxy.config.spdy.client.max_concurrent_streams", RECD_INT, "1000", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
>> 
>>  //# Add LOCAL Records Here
>>  {RECT_LOCAL, "proxy.local.incoming_ip_to_bind", RECD_STRING, NULL, RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL}
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/proxy/config/records.config.default.in
>> ----------------------------------------------------------------------
>> diff --git a/proxy/config/records.config.default.in b/proxy/config/records.config.default.in
>> index 22a2587..3445a24 100644
>> --- a/proxy/config/records.config.default.in
>> +++ b/proxy/config/records.config.default.in
>> @@ -541,6 +541,12 @@ CONFIG proxy.config.ssl.client.CA.cert.filename STRING NULL
>> CONFIG proxy.config.ssl.client.CA.cert.path STRING @rel_sysconfdir@
>> ##############################################################################
>> #
>> +# SPDY Configuration.
>> +#
>> +##############################################################################
>> +CONFIG proxy.config.spdy.client.max_concurrent_streams INT 1000
>> +##############################################################################
>> +#
>> # ICP Configuration.
>> #
>> ##############################################################################
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/proxy/spdy/SpdyCommon.cc
>> ----------------------------------------------------------------------
>> diff --git a/proxy/spdy/SpdyCommon.cc b/proxy/spdy/SpdyCommon.cc
>> index 66086ef..58ba1d9 100644
>> --- a/proxy/spdy/SpdyCommon.cc
>> +++ b/proxy/spdy/SpdyCommon.cc
>> @@ -50,7 +50,7 @@ spdy_config_load()
>>  //
>>  SPDY_CFG.spdy.serv_port = -1;
>> //  SPDY_CFG.spdy.max_concurrent_streams = 1000;
>> -  REC_EstablishStaticConfigInt32(SPDY_CFG.spdy.max_concurrent_streams, "proxy.config.spdy.max_concurrent_streams");
>> +  REC_EstablishStaticConfigInt32(SPDY_CFG.spdy.max_concurrent_streams, "proxy.config.spdy.client.max_concurrent_streams");
>>  SPDY_CFG.spdy.initial_window_size = (64 << 10);
>> 
>>  spdy_callbacks_init(&SPDY_CFG.spdy.callbacks);
> 

Re: git commit: TS-2821 Add to default records.config and tweak the name to be more consistent.

Posted by Leif Hedstrom <zw...@apache.org>.
Agree with James, let's be consistent.

-- Leif 

> On May 19, 2014, at 8:45 PM, James Peach <jp...@apache.org> wrote:
> 
>> On May 19, 2014, at 5:26 PM, amc@apache.org wrote:
>> 
>> Repository: trafficserver
>> Updated Branches:
>> refs/heads/master c25fb7541 -> ce8304309
>> 
>> 
>> TS-2821 Add to default records.config and tweak the name to be more consistent.
>> 
>> 
>> Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ce830430
>> Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ce830430
>> Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ce830430
>> 
>> Branch: refs/heads/master
>> Commit: ce8304309e2c17b4b3efbe93f990f7106a28a7e1
>> Parents: c25fb75
>> Author: Alan M. Carroll <am...@network-geographics.com>
>> Authored: Mon May 19 17:25:29 2014 -0700
>> Committer: Alan M. Carroll <am...@network-geographics.com>
>> Committed: Mon May 19 17:25:29 2014 -0700
>> 
>> ----------------------------------------------------------------------
>> doc/reference/configuration/records.config.en.rst | 4 ++--
>> mgmt/RecordsConfig.cc                             | 2 +-
>> proxy/config/records.config.default.in            | 6 ++++++
>> proxy/spdy/SpdyCommon.cc                          | 2 +-
>> 4 files changed, 10 insertions(+), 4 deletions(-)
>> ----------------------------------------------------------------------
>> 
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/doc/reference/configuration/records.config.en.rst
>> ----------------------------------------------------------------------
>> diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
>> index 4ca5613..cef38fe 100644
>> --- a/doc/reference/configuration/records.config.en.rst
>> +++ b/doc/reference/configuration/records.config.en.rst
>> @@ -2227,10 +2227,10 @@ ICP Configuration
>> SPDY Configuration
>> ==================
>> 
>> -.. ts:cv:: CONFIG proxy.config.spdy.max_concurrent_streams INT 1000
>> +.. ts:cv:: CONFIG proxy.config.spdy.client.max_concurrent_streams INT 1000
>>   :reloadable:
> 
> This should be proxy.config.spdy.SERVER.max_concurrent_streams. The terms "client" and "server" are well established. "proxy.config.ssl.client" refers to ATS making outbound SSL connections, and "proxy.config.ssl.server" and "proxy.config.http.server" refer to ATS accepting sessions from clients. This setting is all about ATS acting as a SPDY server.
> 
> The default value of 1000 is *huge*. 10 would be better IMHO.
> 
> We should not be adding more default entries to "records.config"; the goal is to reduce the number of entries that are duplicated in that file.
> 
> Finally, I think that it is worth documenting that which this is reloadable, only new SPDY sessions will get the new value. Since SPDY sessions are long-lasting, this may surprise people.
> 
>> 
>> -   Set the maximum number of concurrent streams per client SPDY connection.
>> +   Set the maximum number of concurrent streams per client connection.
>> 
>> Scheduled Update Configuration
>> ==============================
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/mgmt/RecordsConfig.cc
>> ----------------------------------------------------------------------
>> diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
>> index 0551ec4..f46a5b8 100644
>> --- a/mgmt/RecordsConfig.cc
>> +++ b/mgmt/RecordsConfig.cc
>> @@ -1934,7 +1934,7 @@ RecordElement RecordsConfig[] = {
>>  //# SPDY global configuration.
>>  //#
>>  //############
>> -  {RECT_CONFIG, "proxy.config.spdy.max_concurrent_streams", RECD_INT, "1000", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
>> +  {RECT_CONFIG, "proxy.config.spdy.client.max_concurrent_streams", RECD_INT, "1000", RECU_DYNAMIC, RR_NULL, RECC_INT, NULL, RECA_NULL},
>> 
>>  //# Add LOCAL Records Here
>>  {RECT_LOCAL, "proxy.local.incoming_ip_to_bind", RECD_STRING, NULL, RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL}
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/proxy/config/records.config.default.in
>> ----------------------------------------------------------------------
>> diff --git a/proxy/config/records.config.default.in b/proxy/config/records.config.default.in
>> index 22a2587..3445a24 100644
>> --- a/proxy/config/records.config.default.in
>> +++ b/proxy/config/records.config.default.in
>> @@ -541,6 +541,12 @@ CONFIG proxy.config.ssl.client.CA.cert.filename STRING NULL
>> CONFIG proxy.config.ssl.client.CA.cert.path STRING @rel_sysconfdir@
>> ##############################################################################
>> #
>> +# SPDY Configuration.
>> +#
>> +##############################################################################
>> +CONFIG proxy.config.spdy.client.max_concurrent_streams INT 1000
>> +##############################################################################
>> +#
>> # ICP Configuration.
>> #
>> ##############################################################################
>> 
>> http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ce830430/proxy/spdy/SpdyCommon.cc
>> ----------------------------------------------------------------------
>> diff --git a/proxy/spdy/SpdyCommon.cc b/proxy/spdy/SpdyCommon.cc
>> index 66086ef..58ba1d9 100644
>> --- a/proxy/spdy/SpdyCommon.cc
>> +++ b/proxy/spdy/SpdyCommon.cc
>> @@ -50,7 +50,7 @@ spdy_config_load()
>>  //
>>  SPDY_CFG.spdy.serv_port = -1;
>> //  SPDY_CFG.spdy.max_concurrent_streams = 1000;
>> -  REC_EstablishStaticConfigInt32(SPDY_CFG.spdy.max_concurrent_streams, "proxy.config.spdy.max_concurrent_streams");
>> +  REC_EstablishStaticConfigInt32(SPDY_CFG.spdy.max_concurrent_streams, "proxy.config.spdy.client.max_concurrent_streams");
>>  SPDY_CFG.spdy.initial_window_size = (64 << 10);
>> 
>>  spdy_callbacks_init(&SPDY_CFG.spdy.callbacks);
>