Ayende - ayende.com
General Information:
Latest News:
Building async Unit of Work with MVC 4 27 Aug 2013 | 02:00 pm
In the RavenDB mailing list, we had a question about how we can combine the standard unit of work pattern of working with RavenDB in MVC applications with async. In particular, the problematic code wa...
Maintaining foreign identifier mapping in RavenDB 26 Aug 2013 | 02:00 pm
A fairly common question that gets ask is how to maintain identifiers between RavenDB and a secondary system. For this example, we will assume that we have a table in SQL Server that have a list of us...
Memory Mapped Files, File I/O & Performance 23 Aug 2013 | 02:00 pm
I have been testing out several approaches for writing out to files. And I thought that the results are interesting enough to share. In all cases, I was writing a 128Kb buffer of random data to a file...
Some final notes about LMDB review 22 Aug 2013 | 02:00 pm
Okay, having gone through the LMDB codebase with a fine toothed comb, I think that I can safely say that it is both a very impressive codebase and one the dearly need some TLC. I’ll freely admit that ...
re: How memory mapped files, filesystems and cloud storage works 21 Aug 2013 | 12:03 pm
Kelly has an interesting post about memory mapped files and the cloud. This is in response to a comment on my post where I stated that we don’t reserve space up front in Voron because we support clou...
B+Trees and why I love them, Part III–in page additions, deletions and updates 20 Aug 2013 | 02:00 pm
This is more of less how a page is represented in memory. There are a few things to note. The entries immediately following the page header points to the actual data at the end of the page. Why is th...
B+Trees and why I love them, Part II – splitting hairs (and pages) 19 Aug 2013 | 02:00 pm
In the previous post, I gave a brief introduction about B+Trees. Now I want to talk about a crucial part of handling them. Let us start with the basic, we have the following tree, which consist of a s...
World’s smallest No SQL Database: Persistent data 16 Aug 2013 | 02:00 pm
The second item to go over with the World’s smallest No SQL database is about persistence, and following that, I/O. Right now, there is no persistence. If you restart the process, all the data is gone...
B+Trees and why I love them, part I 15 Aug 2013 | 02:00 pm
One of the things that I enjoy about learning new things is the way it changes the way I look at the stuff that I already knows. Reading the LMDB codebase, and implementing a persistent B+Tree has giv...
Voron’s implementation: Managed memory mapped database–getting to C memory model 14 Aug 2013 | 02:00 pm
In my previous post I started to talk about the architecture of Naver. But this is actually still too early to tell, since before anything else, I want to create the low level interface for working wi...