Size based eviction implementation
AssigneeSap SE
InventorsPetio Petev, Michael Wintergerst
Life of this patent
Estimating the term…
Abstract
Methods for a treatment of cached objects are described. In one embodiment, management of a region of a cache is configured with an eviction policy plug-in. The eviction policy plug-in includes an eviction timing component and a sorting component, with the eviction timing component including code to implement an eviction timing method, and the eviction timing method to trigger eviction of an object from the region of cache. The sorting component includes code to implement a sorting method to identify an object that is eligible for eviction from said region of cache. The sorting method includes identifying an object for eviction that is cached in the region of cache and that is larger than other objects that are cached in the region of cache.
Claims18
A method, comprising:
- configuring management of a region of a cache with an eviction policy plug-in, said eviction policy plug-in comprising an eviction timing component and a sorting component, said eviction timing component comprising code to implement an eviction timing method, said eviction timing method to trigger eviction of an object from said region of cache, said sorting component comprising code to implement a sorting method, said sorting method to identify an object that is eligible for eviction from said region of cache, wherein said sorting method comprises identifying an object for eviction that is cached in said region of cache and that is larger than other objects that are cached in said region of cache.
A computing system comprising a machine, said computing system also comprising instructions disposed on a computer readable medium, said instructions capable of being executed by said machine to perform a method, said method comprising:
- configuring management of a region of a cache with an eviction policy plug-in, said eviction policy plug-in comprising an eviction timing component and a sorting component, said eviction timing component comprising code to implement an eviction timing method, said eviction timing method to trigger eviction of an object from said region of cache, said sorting component comprising code to implement a sorting method, said sorting method to identify an object that is eligible for eviction from said region of cache, wherein said sorting method comprises identifying an object for eviction that is cached in said region of cache and that is larger than other objects that are cached in said region of cache.
An article of manufacture including program code which, when executed by a machine, causes the machine to perform a method, the method comprising:
- configuring management of a region of a cache with an eviction policy plug-in, said eviction policy plug-in comprising an eviction timing component and a sorting component, said eviction timing component comprising code to implement an eviction timing method, said eviction timing method to trigger eviction of an object from said region of cache, said sorting component comprising code to implement a sorting method, said sorting method to identify an object that is eligible for eviction from said region of cache, wherein said sorting method comprises identifying an object for eviction that is cached in said region of cache and that is larger than other objects that are cached in said region of cache.
Dependencies are inferred from the claim text.