Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera113883yGood for learning :)
What features did you include, just the pub/sub or the key/value storage? -
@Voxera iirc just pub/sub for events including a json payload. The subscribing nodes would use events to keep their data synchronized as far as they needed.
-
hack64143ySo you used javascript to solve scaling problem and used it as in memory db? Not very clever choice of tech
-
bioDan56223ySounds like you've implemented a middleware, not created a database. But good for you!
-
Voxera113883y@localpost Then its just a pub/sub. Redis is first and most a key value database with some quite advanced scripting and list features.
Pub/sub is just built on top of the rest ;)
Still good for learning but actually implementing the db and list/script part is many times more complex than a simple pub/sub.
Related Rants
I kind of ended up writing my own version of Redis, just an Express server broadcasting events you send it, when I made my first full-stack project.
rant
wk308