My favorites | Sign in
Project Logo
          
Search
for
Updated Sep 09, 2008 by sears.russell
Stasis  
Main Page

Stasis wiki

The wiki contains ideas for future Stasis development

Buffer Manager notes

Stasis' current buffer manager assumes that the underlying OS provides a correct pthreads implementation, but for portability only uses extremely basic I/O routines, like read() and write(). In practice, that means it's complicated, and has high synchronization overhead. It also can interact badly with the underlying OS, as it needs to have multiple file handles open in order to issue concurrent I/O requests.

There are two alternative API's that we'd like to support:

General purpose mechanisms that databases typically don't provide

B-Tree plans

Stasis' initial B-Tree implementation is geared toward LSM-Trees, and only supports append, scan and lookup operations. This allows it to support fast bulk loading operations, and avoids the complexity of dealing with page splits, etc. A MySQL storage engine would be interested in the following types of index probes:

Moving forward there are a number of optimizations / implementation strategies to consider:



Sign in to add a comment
Hosted by Google Code