BIND 10 #2494: sync_udp_server (asio) gives in under heavy stress

BIND 10 Development do-not-reply at isc.org
Tue Dec 11 17:29:32 UTC 2012


#2494: sync_udp_server (asio) gives in under heavy stress
-------------------------------------+-------------------------------------
            Reporter:  jelte         |                        Owner:
                Type:  defect        |  jinmei
            Priority:  medium        |                       Status:
           Component:  b10-auth      |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  1             |  Sprint-20121218
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  High
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Although the change is small, it's probably better to have a branch.

 On the changes:

 - For the log message:
   - s/udp/UDP/
   - This is specifically for the "sync UDP (DNS) server".
   - I'd also give some more information about why that (possibly)
     happens, whether it's serious, what the admin should do (if
     anything should be done)
 - I'd use the error code version of send_to instead of catching
 exceptions: http://think-
 async.com/Asio/asio-1.4.8/doc/asio/reference/basic_datagram_socket/send_to/overload3.html
   The former is inherently more efficient (because the throwing
   version is a wrapper of the error code version), and even more so
   for environments where `try` itself is expensive.

-- 
Ticket URL: <https://bind10.isc.org/ticket/2494#comment:6>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list