Live data from Hacker News

WhiteDB – Lightweight NoSQL database written in C, operating in main memory

whitedb.org

1–10 of 83 posts

WhiteDB – Lightweight NoSQL database written in C, operating in main memory

#1
WhiteDB is a lightweight NoSQL database library written in C, operating fully in main memory. There is no server process. Data is read and written directly from/to shared memory, no sockets are used between WhiteDB and the application program.

WhiteDB – Lightweight NoSQL database written in C, operating in main memory
whitedb.org

Re: WhiteDB – Lightweight NoSQL database written in C, operating in main memory

#4

Am I missing something or is this just an associative map allocated in shared memory? Seems to be an awful lot of text for something so simple.

I'm convinced that one of these days we're going to see a new "DB" which will be a simple hashmap with collision handling sacrificed for "speed and performance"

Re: WhiteDB – Lightweight NoSQL database written in C, operating in main memory

#5
post #4

Am I missing something or is this just an associative map allocated in shared memory? Seems to be an awful lot of text for something so simple.

I'm convinced that one of these days we're going to see a new "DB" which will be a simple hashmap with collision handling sacrificed for "speed and performance"

But it will be WEBSCALE!!1!

/s

Re: WhiteDB – Lightweight NoSQL database written in C, operating in main memory

#7
post #4

Earlier quoted context omitted.

I'm convinced that one of these days we're going to see a new "DB" which will be a simple hashmap with collision handling sacrificed for "speed and performance"

But it will be WEBSCALE!!1! /s

It is webscale...

"Locking We use a database level lock implemented via a task-fair atomic spinlock queue for concurrency control ..."

Fantastic, database level locking!

Re: WhiteDB – Lightweight NoSQL database written in C, operating in main memory

#9
post #3

Why, oh why GPLv3 for a linkable library? Request something more permissive (LGPL, MIT, BSD)?

Closed-source licenses are provided per request and the only restriction seems to be that you don't sell a DB system backed by the lib[1]. If you really want to prevent closed-source abuse of your library, a GPL-based dual licensing setup is the only way I can think of.

1 - http://whitedb.org/licence.html

Post reply on HN