# Ruby object databases

**URL:** <https://www.ruby-forum.com/t/ruby-object-databases/132632>\
**Category:** Ruby\
**Created:** [March 22, 2008, 8:01am UTC](https://www.ruby-forum.com/t/ruby-object-databases/132632 "2008-03-22T08:01:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![allins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/97f17d/32.png) [@allins](https://www.ruby-forum.com/u/allins)\
**Post date:** [March 22, 2008, 8:01am UTC](https://www.ruby-forum.com/t/ruby-object-databases/132632/1 "2008-03-22T08:01:14Z")

</div>

Google fails me.

Anything like Python’s ZODB for Ruby?  
I found madeleine but a prevayler type system isnt really what I’m  
looking for.

Pointers to projects, urls etc would be great.

---

<div class="post-metadata">

**Author:** ![allins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/97f17d/32.png) [@allins](https://www.ruby-forum.com/u/allins)\
**Post date:** [March 22, 2008, 11:30am UTC](https://www.ruby-forum.com/t/ruby-object-databases/132632/2 "2008-03-22T11:30:09Z")

</div>

On Sat, Mar 22, 2008 at 2:00 AM, Sean A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Google fails me.
> 
> Anything like Python’s ZODB for Ruby?  
> I found madeleine but a prevayler type system isnt really what I’m  
> looking for.
> 
> Pointers to projects, urls etc would be great.

Perhaps DyBase?  
[http://www.garret.ru/~knizhnik/dybase.html](http://www.garret.ru/~knizhnik/dybase.html)

Daniel Brumbaugh K.

---

<div class="post-metadata">

**Author:** ![allins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/97f17d/32.png) [@allins](https://www.ruby-forum.com/u/allins)\
**Post date:** [March 22, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/ruby-object-databases/132632/3 "2008-03-22T13:41:00Z")

</div>

On 22.03.2008 08:00, Sean A. wrote:

> Anything like Python’s ZODB for Ruby?  
> I found madeleine but a prevayler type system isnt really what I’m  
> looking for.
> 
> Pointers to projects, urls etc would be great.

I am not familiar with the full feature set of ZODB but depending on  
what you need PStore might be what you are looking for. Basically it’s  
a transactional wrapper around Marshal.

[http://www.ruby-doc.org/stdlib/libdoc/pstore/rdoc/index.html](http://www.ruby-doc.org/stdlib/libdoc/pstore/rdoc/index.html)

If your requirements (especially on size) are even looser a simple Hash  
stored via Marshal in a file might be sufficient.

Kind regards

robert

---

<div class="post-metadata">

**Author:** ![allins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/97f17d/32.png) [@allins](https://www.ruby-forum.com/u/allins)\
**Post date:** [March 22, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/ruby-object-databases/132632/4 "2008-03-22T21:00:21Z")

</div>

On Mar 22, 2008, at 12:40 PM, Joel VanderWerf wrote:

> > [http://www.ruby-doc.org/stdlib/libdoc/pstore/rdoc/index.html](http://www.ruby-doc.org/stdlib/libdoc/pstore/rdoc/index.html)
> 
> I don’t think that’s what Sean is looking for (PStore’s not an  
> object db), but if it is, he might want to take a look at fsdb  
> instead, which does what PStore does, but lets you treat a file tree  
> as a hash, is thread safe (not just process safe), has pluggable  
> file types (not just Marshal, but YAML, String, etc.), and other  
> features.
> 
> [FSDB](http://redshift.sourceforge.net/fsdb/)

I came across an annoucement that Gemstone is working with the  
rubinius crew on a persistence system based on Gemstone/S which would  
be well…  
better than anything I was hoping before. Basically, I want to get rid  
of dealing with an RDBMS. We are spending way too much time  
making the code I’m working on working with the RDBMS when if we had  
an object store, we could just deal with the actual problems.

I really like ruby and am hoping to find something for it as we are at  
the same time moving away from perl… things I’ve found that would  
hit the spot…

Smalltalk w/ Gemstone/S  
Python w/ Zeo & ZODB  
HAppS

and of course the rubinius and gemstone mentioned above that I found  
since I posted the first message.

Issue is, RDBMS in question contains something on the order of what  
would become 8 million objects so far and  
we are now adding around 150,000 more a month so just any old thing  
obviously wont do.

---

<div class="post-metadata">

**Author:** ![allins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/97f17d/32.png) [@allins](https://www.ruby-forum.com/u/allins)\
**Post date:** [March 22, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/ruby-object-databases/132632/5 "2008-03-22T17:42:24Z")

</div>

Robert K. wrote:

> [http://www.ruby-doc.org/stdlib/libdoc/pstore/rdoc/index.html](http://www.ruby-doc.org/stdlib/libdoc/pstore/rdoc/index.html)

I don’t think that’s what Sean is looking for (PStore’s not an object  
db), but if it is, he might want to take a look at fsdb instead, which  
does what PStore does, but lets you treat a file tree as a hash, is  
thread safe (not just process safe), has pluggable file types (not just  
Marshal, but YAML, String, etc.), and other features.

[http://redshift.sourceforge.net/fsdb/](http://redshift.sourceforge.net/fsdb/)
