orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

Remove ODatabaseRecordThreadLocal and work with direct reference of database

Open andrii0lomakin opened this issue 1 year ago • 0 comments

Massive usage of thread locals leads to performance degradation. Those references are implemented not for free. They access an instance of the current thread and then hash the map stored in the given thread instance.

The usage of thread locals also makes instance management harder to do.

andrii0lomakin avatar Jan 29 '24 07:01 andrii0lomakin