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
-
@azous I also think this. All the rants are in memory, once the server get restarted the rants gone.
-
@math-silva every in memory database has either a full replay feature, a interval backup or both.
-
@DarKneT A bit more complex to work with than SQL, but extremely powerful. Graphs are a very natural way to represent objects and relationships between them.
Imagine a User table in SQL. Now your boss wants to save family membership in the database. A is the son of B, B is the uncle of C, B got remarried so D is half-sister to A, etc.
Representing that in SQL is awkward. You could easily make a pivot table from user to user, with labels. But database level constraints and query efficiency can get difficult... especially once your boss starts asking questions like "how strong is the correlation between family relation distance and movie genre preference" or "through which chains of family members is A related to distant relative X"?
Graph databases are amazing for answering complex questions about relations between objects. Not just human relationships... purchased products, liked articles, etc
For devrant, this probably makes content sorting much easier, based on earlier ++s.
");drop table rants;--
rant
");drop table tags;--