-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ben Greene edited this page Apr 3, 2014
·
5 revisions
Welcome to the MemoryStorage wiki!
- Build a Memory based DB like set of tooling that is fast for both OLAP and OLTP, has ACID consistency and is optimised for NUMA architectures.
- https://computing.llnl.gov/tutorials/pthreads/#Stack
- http://preshing.com/20130618/atomic-vs-non-atomic-operations/
- http://en.wikipedia.org/wiki/Seqlock
- http://stackoverflow.com/questions/262232/concurrent-data-structure-design
- http://stephen-tu.blogspot.co.uk/2013/04/on-importance-of-numa-aware-memory.html
- http://blog.jcole.us/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/
Consider to using atomic operations instead of locks.
- http://www.cplusplus.com/reference/atomic/atomic/operatorplusplus/
- Initial trial has locks around a list (as a baseline)
- Try an option to use an atomic index object to reduce the contention for sequencing and enable threads to work actual writes in parallel after sequencing.
- BUT need to work out how to handle checks on who has completed actual write and who is in progress