News for hackers. Stuff that matters.
Re:RethinkDB internals: handling stack overflow on custom st... by barrkel on Friday December 31, 2010 @05:55AM (#2055122)
It's pretty unusual for databases to delegate something as vital to performance as caching to the OS.
Re:RethinkDB internals: handling stack overflow on custom st... by cperciva on Friday December 31, 2010 @05:59AM (#2055128)
Sure, a database needs to cache. But it doesn't automatically need to cache at that level -- usually they can get away with caching data rather than pages.
Re:RethinkDB internals: handling stack overflow on custom st... by strlen on Wednesday January 05, 2011 @06:00PM (#2072946)
If you have your own cache and you don't use direct I/O i.e., they go through the OS page cache, don't have you have the issue of the OS page cache and the database "fighting" each other?