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
-
C0D4669025y"The system is tied down to the current infrastructure like an anchor to a ship"
We will have to redesign the ship to move that anchor. -
We are thinking about dropping this project. This PM has been a pain in the ass for a while and this might be the last straw.
-
@davide It depends on utilization.
I find CosmosDB (Or monfoDB, same shit) very suitable for something like User Preferences.
Because you don’t care about each individual preference, usually you want them all for a user. This also allows to add new user settings on the fly.
Yes, you can create a table SQL with user id and JSON second column containing same thing. But mongo/cosmos offers some more flexibility. Ex : Get all users, having access to feature X and have value Y for threshold of feature Z.
Ex of usage : Custom notifications. “Get all users, who activate this notification option with these parameters”.
(Yes, I’m aware you can parse JSON in SQL server, but I still prefer Cosmos for these type of things)
But for raw data, I still prefer SQL, especially if it has more than 10000 lines. -
@davide In benchmarks I've done with loads of inserts and selects, mongo was definitely faster!
Guys guys guys. Conversation had right just now. A PM from the company I’m freelancing for just said
“We need to move away from SQL server and shift all the data to MongoDB. I don’t want it to take more than a month tops”
Verbatim. No context. Nothing. The website is for a small time supply chain software that’s been chugging along for a decade now with spaghetti code everywhere.
How do I even respond? The other guy who works with me sent πππ to me privately and now is offline lol wtf
rant