Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking

Description

This is a very specific performance enhancement that uses a ThreadLocal to cache a pool of sequence values. Care must be taken when specifying the configuration, especially the "increment_size", which determines how many sequence ids are cached per thread.

The idea is to optimize the ID generator optimizer, to avoid a contended lock on the PooledLoOptimizer.generate().

Activity

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created December 16, 2015 at 2:24 PM
Updated December 17, 2015 at 2:54 AM
Resolved December 16, 2015 at 7:52 PM