https://github.com/Netflix/atlas
Revision 9e8937d07df8b0c10115b003238347f768ae7ca2 authored by brharrington on 28 October 2017, 17:50:50 UTC, committed by GitHub on 28 October 2017, 17:50:50 UTC
On instance type with a large number of cores the cache
introduced in #730 starts to make things worse because
of heavy thread contention with the `computeIfAbsent`
calls used for interning the queries and internally to
the LoadingCache. This change refactors the calls to
do a get/put which may result in recomputing some values,
but avoids the blocking. See Netflix/spectator#352 for
a similar issue we had before.

This change was manually pushed to a test node and I
confirmed that the blocked threads are no longer present.
1 parent 9fa0be3
History
Tip revision: 9e8937d07df8b0c10115b003238347f768ae7ca2 authored by brharrington on 28 October 2017, 17:50:50 UTC
reduce thread contention for splitter cache (#732)
Tip revision: 9e8937d

README.md

back to top