POSIX Threads Don’t Scale Past 100K Concurrent Web Service Requests (Part 1/2)

What we were expecting to see were MODEST operations and fibers outperforming the pure POSIX thread approach. We expected the pure POSIX thread approach to scale to around 3000-5000 threads before things started to bottle-neck. The process limit was set to 32,768 – so we thought that the hard limit would be in that neighborhood.

These are the types of assumptions, that when untested, lead to horrible scalability mishaps. Imagine launching a piece of software that used pure POSIX threads to scale connections and having this happen (the red line) just as you started to get lots of site traffic:

So, what caused this nightmare? Take a second or two to think about the problem and make an educated guess. You will see if you were right or not on the next page.

What went wrong…

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

© 2019 Digital Bazaar, Inc. All rights reserved.

Log in with your credentials

Forgot your details?