Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@arcana you can enable an option to make it a permanent data store but it works best as a fast temporary data store, so like for caching.
it is mainly a key-value store entirely in-memory. but it has a bunch of primitive operations in addition to this. like, you can make keys automatically expire. you can create ranked lists that you can push or pop values from.
that is how I implemented the message board. a thread was a set where you put a post into the set, using a rank value of the current timestamp. the set was sorted by timestamp. I had a separate set that pushed the thread id with a rank of the latest post pushed, which made them show up at the top of the site.