Scalable Object Persistence (SOP) Framework version 4.5
See our "in-memory B-Tree discussions", highly voted and Best Article winner in codeproject:
What will you do if you have a code library containing the magic that makes "Oracle/DB2/SQL Server?" DBMS tick in a modern, more optimal/scalable/low-footprint/framework:"highly customizable, no loss in fidelity across the data stack" version?
Bring Domain Versatile Object DBMS (DVODBMS) to your application, remove translation/serialization, inter-process comms & other bottlenecks in the "data path", use SOP.
Scalable, low-footprint, multi-threaded & hierarchical embedded DB framework. SOP provides alternative (complementary to RDBMS/NoSQL:Hadoop/MongoDB) avenues for data persistence. Entities, a.k.a. - POCOs in c#, POJOs in Java, are persisted to the data file
with no data mapping requirements. Algorithms & Data Structure were purposely designed to fully take advantage of underlying OS' asynchronous, unbuffered overlapping I/O.
SOP contains specialized algorithm virtualizing RAM & disk to enable combined application level caching and the data persistence layer in one to remove unnecessary "translation" or serialization overheads which is one of the biggest bottlenecks in data
persistence. With this feature, SOP claims as the only DB engine today and ever since its initial "inception" that seamlessly virtualizes RAM & Disk. It isn't an in-memory DB, it isn't a Hybrid DB, it isn't a traditional Disk based DB because
of this unique virtualization algorithm which provides optimal scaling solution in data persistence.
One of the many actual real world uses of SOP version 4.x as a caching solution, is its bundled high speed, lightweight & scalable
ADO.Net Entity Framework 2nd level caching provider. This is a real, fully functional implementation using SOP code library.
Click on above link to navigate to SOP Performance Level details page.
FREE: Free to use, reuse, extend, no royalty fee on redistribution, no licensing fee, etc...
However, we do accept donations of any amount to support SOP innovation. Click on this link to donate:
Interested to be SOP investor/sponsor or to create business partnership, email me @
This is the 4th installment of the widely popular B-Tree Gold code library originally written in c++ & was released as Open Sourced on late '90s in
programmer's haven and similar developer hub internet sites. In version 4.0 (released sometime 2009), the biggest functionalities comprising RAM & Disk virtualization were completed and got used by Customers since then. Today in version
4.5 we've added many key enhancements to further refine, optimize and streamline the code library & its performance, commemorating B-Tree Gold's 12th year anniversary, it was also released in the spirit of Open Source.
Click on above link to navigate to SOP Use Case Scenarios details page.
Click on above link to navigate to SOP logical and physical structure details page.
Click on above link to navigate to SOP's Store/Data Driver Algorithms details page.
using(Sop.ObjectServer server = Sop.ObjectServer.OpenWithTransaction("c:\\SopBin\\OServer.dta"))
var storeFactory = new Sop.StoreFactory();
var sortDict = storeFactory.Get<int, string>(
sortDict.Add(1, "Hello World!");
sortDict.Add(2, "Foo Bar");
This is a very basic, sample usage of SOP framework. It will create (or open if existing) transaction protected SOP server data file containing a single data Store named "MyDictionary" (key is int, value is string type) in the SystemFile. We are inserting following
- key: 1 value: "Hello World!"
- key: 2 value: "Foo Bar"
At end of the block, we commit the Transaction.
Click on above link to navigate to Build Instructions page.
Click on above link to navigate to Sample programs page.