-
Committer:
Tarmac
-
Author(s):
Michi Henning
-
Date:
2014-09-19 05:02:52 UTC
-
mfrom:
(485.1.7 message-pump)
-
Revision ID:
tarmac-20140919050252-7536xdtpmpreqnv2
This MR changes the ObjectAdapter to load-balance incoming requests, so they are always scheduled for an idle thread. If all threads are busy, the pump stops polling the front-end socket, so requests pile up in the transport layer until a thread becomes available. Threads are re-used in LRU order, so we get better thread affinity and cache hits.
Approved by Marcus Tomlinson, PS Jenkins bot.