[Work in progress/pre-alpha/dragons, etc.] Just got transparent persistence working on WhatDB? – the tiny, in-memory, write-on-update database I’m building for simple server-side data in Site.js.

If you want to poke around, here it is:

github.com/small-tech/whatdb

Next: get full test coverage before implementing the querying mechanism :) Quite enjoying this. (But have to keep reminding myself to do the minimum I need for Small Web as there are other things to build too.)

#SmallWeb #WhatDB #SiteJS

Follow

@aral I added your lib in my repo: github.com/croqaz/Stones

BTW you can see other alternatives, I think neDB is very similar.

@aral I'm actually working on something similar in Python but I need to process tens to hundreds of millions of JSON lines records, which requires a different approach...

@croqaz Indeed. The whole reason behind Site.js is because what works for Big Web/Big Data/etc., isn’t what works or is needed for Small Web.

@croqaz Neat, thanks. Looked at quite a number, including NeDB before starting on this. If anything, WhatDB is going to most likely end up being the most lightweight. It’s a server-side database for a system (Small Web) that doesn’t want servers to be privileged nodes (or, more accurately, to be unprivileged nodes) and encourages data to be kept on the client or e2e-encrypted whenever possible so it is only for small things / org sites.

@aral Sounds great, thanks! I'll keep an eye, it sounds super useful.

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!