mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Aral Balkan

Just released JavaScript Database (JSDB) version 2.1.0

Added: exposes compactOnLoad and alwaysUseLineByLineLoads options to JSDB.open()

(JSDB is a zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.)

codeberg.org/small-tech/jsdb

Codeberg.orgjsdbA zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.
#JSDB#javascript#js

@aral Can I trouble you to help me out with something? I typically work on really low levels systems stuff, so I don't have a lot of intuitions for web technology. What would a person use JSDB for? I've been following #SmallWeb stuff but I'm just out of my element.

@roadriverrail Hey Kit, sure. Basically, you can use it to persist anything (sessions, feedback forms, chat messages, etc.) The only limitation is that it doesn’t scale beyond a single process. So you can’t use it for “Big Data” (to farm people) :)

The advantage is that it’s very easy to use as all you’re doing is working with native data structures on the back end. You create and array and push to it, it’s persisted. You add a property to an object, it’s persisted :)

@roadriverrail * an array, even. Sorry, I suck at proofreading :)