摘要 |
A system and method are provided for providing a shared RAM cache of a database, accessible by multiple processes. By sharing a single cache rath er than local copies of the database, memory is saved and synchronization of da ta accessed by different processes is assured. Synchronization between the database and the shared cache is assured by using a unidirectional notification mechanism between the database and the shared cache. Client APIs within the processes search the data within the shared cache directly, rather than by making a request to a database server. Therefore server load is not affected by the number of requesting applications and data fetch time is not affected by Inter-Process Communication delay or by additional context switching. A n ew synchronization scheme allows multiple processes to be used in building and maintaining the cache, greatly reducing start up time. |