﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ido Samuelson commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Gotcha,

Take a look at this solution, looks interesting...
http://tirania.org/blog/archive/2011/Dec-19.html
</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment11</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment11</guid><pubDate>Tue, 12 Mar 2013 15:43:39 GMT</pubDate></item><item><title>Ayende Rahien commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Ido,
The problem is that managed C++ won't work with Mono.</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment10</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment10</guid><pubDate>Tue, 12 Mar 2013 15:36:27 GMT</pubDate></item><item><title>Ido Samuelson commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Instead of going the platform invoke way. Work with Managed C++ and the IJW. It will not only be easier to integrate but also perform better.</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment9</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment9</guid><pubDate>Tue, 12 Mar 2013 15:34:48 GMT</pubDate></item><item><title>Ayende Rahien commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>JDice,
Sure, but that is something that you are going to have in _any_ ACID db with large values.
</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment8</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment8</guid><pubDate>Tue, 12 Mar 2013 12:32:10 GMT</pubDate></item><item><title>JDice commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Here's something from the LevelDB benchmarks:

LevelDB doesn't perform as well with large values of 100,000 bytes each. This is because LevelDB writes keys and values at least twice: first time to the transaction log, and second time (during a compaction) to a sorted file. With larger values, LevelDB's per-operation efficiency is swamped by the cost of extra copies of large values.
</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment7</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment7</guid><pubDate>Tue, 12 Mar 2013 02:22:04 GMT</pubDate></item><item><title>Rob Ashton commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Matt - it's a rabbit hole - when you only need 10% of the functionality and you'd have to do 100% of the work to get that 10% into the other projects.

Especially the LevelDB C api - do you really think they're going to take pull requests for this?</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment6</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment6</guid><pubDate>Fri, 08 Mar 2013 15:41:15 GMT</pubDate></item><item><title>Matt Johnson commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Why write a new API?  Why not contribute changes to the existing projects instead?</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment5</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment5</guid><pubDate>Fri, 08 Mar 2013 15:18:26 GMT</pubDate></item><item><title>Rob Ashton commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Leveldb handles concurrency for most operations across threads - which is what is required.</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment4</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment4</guid><pubDate>Fri, 08 Mar 2013 14:46:49 GMT</pubDate></item><item><title>njy commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>@James: yep, it does seem so "... The database file cannot be shared between multiple processes simultaneously..."

source: http://blogs.msdn.com/b/windowssdk/archive/2008/10/23/esent-extensible-storage-engine-api-in-the-windows-sdk.aspx
</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment3</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment3</guid><pubDate>Fri, 08 Mar 2013 14:12:09 GMT</pubDate></item><item><title>James Nugent commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>@Rei - AFAIK Esent (as currently used by RavenDB) is also accessible from one process at a time.</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment2</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment2</guid><pubDate>Fri, 08 Mar 2013 14:09:21 GMT</pubDate></item><item><title>Rei Roldan commented on Rob&amp;rsquo;s Sprint: The cost of getting data from LevelDB</title><description>Reading the limitations list, do you really think it would be a good match for RavenDB?

Specifically: 

Only a single process (possibly multi-threaded) can access a particular database at a time.</description><link>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment1</link><guid>http://ayende.com/161281/rob-s-sprint-the-cost-of-getting-data-from-leveldb#comment1</guid><pubDate>Fri, 08 Mar 2013 12:26:52 GMT</pubDate></item></channel></rss>