a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by forwardslash
forwardslash  ·  3489 days ago  ·  link  ·    ·  parent  ·  post: Most data isn’t “big,” and businesses are wasting money pretending it is

I've been wondering: how is data persistently stored on hubski?





mk  ·  3488 days ago  ·  link  ·  

Magnetically. ;)

Hubski has no database. Instead, data is stored in flat files as s-expressions (lists, it's Lisp!). All the data you see here is actually in memory, loaded on startup, plus newly added data. Tags have existed as elements within post and user data, but I am currently creating an independent directory for them, so they can have their own associated elements that can be updated, sorted more quickly, etc.

There's definitely some work to be done with all this as things progress. It should be fun.