spillway icon indicating copy to clipboard operation
spillway copied to clipboard

InMemmoryStorage optimization

Open Sytten opened this issue 9 years ago • 1 comments

We use synchronize in the InMemoryStorage, but we already use a ConcurrentHashMap. If we modify slightly the way we override the keys, it would possible to remove them.

Also, the ConcurrentHashMap uses the default values at creation (meaning its optimized for 16 threads), we should adjust that for our own needs (I suggest 4 threads to be more realist). The gain in performance should be significant.

Sytten avatar Nov 03 '16 20:11 Sytten

Hey guys that should be an easy fix that would increase performances.

Sytten avatar Nov 28 '17 02:11 Sytten