lwhay / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Review synchronization in BufferCache::fileInfoMap #815

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The fileInfoMap in the BufferCache, which is accessed every time a page is read 
or written, is a synchronized HashMap.

Using a data structure that allows to get a FileHandle for a file-id without 
acquiring a lock might give us better performance. For this, we could use the 
fact that file ids are assigned continuously.

Original issue reported on code.google.com by drese...@uci.edu on 25 Oct 2014 at 8:37