Does TDB (trivial database) binding for Ruby exist ?

M

MiG

Hello,

I've seen benchmarks of QDBM, TDB, GDBM, DB4 and DB1 databases.
TDB was the winner so I googled to find Ruby binding for TDB, but was =20
unsuccessful.

Has anyone written it or seen it somewhere?

Thank you,
jan
 
L

Logan Capaldo

Hello,

I've seen benchmarks of QDBM, TDB, GDBM, DB4 and DB1 databases.
TDB was the winner so I googled to find Ruby binding for TDB, but
was unsuccessful.

Has anyone written it or seen it somewhere?

Thank you,
jan

Do you really need the fastest database of those four, or just one
thats fast enough? Have you tried using another DB and seeing how it
performs for your application? (Incidentally I would suggest KirbyBase
[1], since it is pure ruby, and all the code is in one file so it's
easy to distribute with your app).

[1] http://www.netpromi.com/kirbybase_ruby.html
 
M

MiG

I need TDB because it is the fastest hash db. The second reason is that i=
t =20
is really crash-resistant
(especially in comparison with QDBM).

http://sourceforge.net/projects/tdb :
TDB is a Trivial Database. In concept, it is very much like GDBM,and =20
BSD's DB except that it allows multiple simultaneous writers and uses =20
lockinginternally to keep writers from trampling on each other.TDB is =20
also extremely small.

I've had a look to tdb's code and how to write a ruby binding.
I'm not C fun but I don't think I'm unable to write it.
It's all about time :))

jan


Hello,

I've seen benchmarks of QDBM, TDB, GDBM, DB4 and DB1 databases.
TDB was the winner so I googled to find Ruby binding for TDB, but was = =20
unsuccessful.

Has anyone written it or seen it somewhere?

Thank you,
jan

Do you really need the fastest database of those four, or just one that= s =20
fast enough? Have you tried using another DB and seeing how it performs= =20
for your application? (Incidentally I would suggest KirbyBase[1], since= =20
it is pure ruby, and all the code is in one file so it's easy to =20
distribute with your app).

[1] http://www.netpromi.com/kirbybase_ruby.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,184
Latest member
ZNOChrista

Latest Threads

Top