You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2010/08/24 05:46:16 UTC

[jira] Created: (TS-423) Increase default max number of outstanding DNS requests

Increase default max number of outstanding DNS requests
-------------------------------------------------------

                 Key: TS-423
                 URL: https://issues.apache.org/jira/browse/TS-423
             Project: Traffic Server
          Issue Type: Improvement
            Reporter: Leif Hedstrom
            Priority: Minor


Currently, the default for max number of DNS request in-flight is 60. This seems awfully small, particularly for a forward proxy. What if we increase this to maybe 512, or some other large'ish number? What is a reasonable, default "upper" limit? I assume this setting is there to not kill the external resolver.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-423) Increase default max number of outstanding DNS requests

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-423:
-----------------------------

    Fix Version/s: 2.1.3

> Increase default max number of outstanding DNS requests
> -------------------------------------------------------
>
>                 Key: TS-423
>                 URL: https://issues.apache.org/jira/browse/TS-423
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.3
>
>
> Currently, the default for max number of DNS request in-flight is 60. This seems awfully small, particularly for a forward proxy. What if we increase this to maybe 512, or some other large'ish number? What is a reasonable, default "upper" limit? I assume this setting is there to not kill the external resolver.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-423) Increase default max number of outstanding DNS requests

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-423.
------------------------------

    Resolution: Fixed

> Increase default max number of outstanding DNS requests
> -------------------------------------------------------
>
>                 Key: TS-423
>                 URL: https://issues.apache.org/jira/browse/TS-423
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.3
>
>
> Currently, the default for max number of DNS request in-flight is 60. This seems awfully small, particularly for a forward proxy. What if we increase this to maybe 512, or some other large'ish number? What is a reasonable, default "upper" limit? I assume this setting is there to not kill the external resolver.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TS-423) Increase default max number of outstanding DNS requests

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-423:
--------------------------------

    Assignee: Leif Hedstrom

> Increase default max number of outstanding DNS requests
> -------------------------------------------------------
>
>                 Key: TS-423
>                 URL: https://issues.apache.org/jira/browse/TS-423
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.3
>
>
> Currently, the default for max number of DNS request in-flight is 60. This seems awfully small, particularly for a forward proxy. What if we increase this to maybe 512, or some other large'ish number? What is a reasonable, default "upper" limit? I assume this setting is there to not kill the external resolver.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-423) Increase default max number of outstanding DNS requests

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901719#action_12901719 ] 

Leif Hedstrom commented on TS-423:
----------------------------------

Oh, forgot, relevant places to change code:

iocore/dns/P_DNSProcessor.h: #define MAX_DNS_IN_FLIGHT                   60

proxy/mgmt2/RecordsConfig.cc:   {CONFIG, "proxy.config.dns.max_dns_in_flight", "", INK_INT, "60", RU_REREAD, RR_NULL, RC_NULL, NULL, RA_NULL}

> Increase default max number of outstanding DNS requests
> -------------------------------------------------------
>
>                 Key: TS-423
>                 URL: https://issues.apache.org/jira/browse/TS-423
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Leif Hedstrom
>            Priority: Minor
>
> Currently, the default for max number of DNS request in-flight is 60. This seems awfully small, particularly for a forward proxy. What if we increase this to maybe 512, or some other large'ish number? What is a reasonable, default "upper" limit? I assume this setting is there to not kill the external resolver.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-423) Increase default max number of outstanding DNS requests

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903579#action_12903579 ] 

Leif Hedstrom commented on TS-423:
----------------------------------

I'm going to increase this to 2048 I think.  Here's my thinking, the default is way too small. and we need something somewhat reasonable. 2048 in-flight DNS requests could equate to maybe 4 - 8k QPS or so, which we really should be able to handle. If the resolvers can't handle that sort of load, they really ought to increase their resolver capacity.

Anyone against?

> Increase default max number of outstanding DNS requests
> -------------------------------------------------------
>
>                 Key: TS-423
>                 URL: https://issues.apache.org/jira/browse/TS-423
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>            Priority: Minor
>             Fix For: 2.1.3
>
>
> Currently, the default for max number of DNS request in-flight is 60. This seems awfully small, particularly for a forward proxy. What if we increase this to maybe 512, or some other large'ish number? What is a reasonable, default "upper" limit? I assume this setting is there to not kill the external resolver.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.