[PATCH] Request review for KSharedDataCache

Michael Pyne mpyne at kde.org
Sat Apr 10 20:31:02 BST 2010


On Saturday, April 10, 2010 15:08:19 Oswald Buddenhagen wrote:
> well, you do have malloc - kinda. any tree-based allocation scheme has
> dynamic memory requirements, so it basically needs to self-host its own
> meta-data. you may want to read the whitepapers of btrfs or some other
> modern fs.
> of course, this seems like major overkill for the use cases i can think
> of currently.
> 
> fwiw, this enters the realm of databases. have you looked for libraries
> which might implement a shared-memory database proper? then the whole
> thing would become a rather thin wrapper ...

I have, didn't find much. There's a boost library (of course) but it seems 
overkill for the task (you'd also have to use their matching collection 
classes). I thought there'd be at least a SQLite-alike or something. Of course 
given that this is just a key-value store then some kind of NoSQL type of 
database would be better. Maybe someone else can enlighten me. :)

Regards,
 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100410/08e942bd/attachment.sig>


More information about the kde-core-devel mailing list