The query cache on every lookup takes a read lock, which despite being on the read side, still pollutes the cpu cache, as the read lock writes to the lock space to update the reader count. We can improve this by:
Replacing the method store cache with a series of atomically accessed linked lists
removing the read lock
The query cache on every lookup takes a read lock, which despite being on the read side, still pollutes the cpu cache, as the read lock writes to the lock space to update the reader count. We can improve this by:
Replacing the method store cache with a series of atomically accessed linked lists
removing the read lock