Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add uv threadpool congestion regression test #23099

Merged

Commits on Dec 30, 2018

  1. test: regression test for uv threadpool congestion

    Validate that massive dns lookups do not block filesytem I/O
    (or any fast I/O for that matter).
    Prior to libuv/libuv#1845 few back-to-back dns
    lookup were sufficient to engage libuv threadpool workers in a blocking
    manner, throttling other work items that need the pool. this test acts
    as a regression test for the same.
    
    Start slow and fast I/Os together, and make sure fast I/O can complete
    in at least in 1/100th of time for slow I/O.
    
    Refs: libuv/libuv#1845
    Refs: nodejs#8436
    
    PR-URL: nodejs#23099
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gireeshpunathil committed Dec 30, 2018
    Configuration menu
    Copy the full SHA
    54fa59c View commit details
    Browse the repository at this point in the history