Batch Insert\Update API in OSM
During performance measuring it was spotted that batch APIs on Storage caused a lot of thread blocking.
The root cause is the lack of batching support in OSM, currently, all batch operations send records one by one in a transaction that locks a thread.
Java flight recording that shows locked threads:
We need to add batching support in OSM, it is a common operation across key-value databases and should improve overall performance.
Edited by Rustam Lotsmanenko (EPAM)