Programming

is it necessary to use Redis ?

Started by anarhackist · Feb 19, 2026

#11642
↳ Replying to @cannafuneurope
The project I'm building is /d/MediaSymmetric which is an anonymous online marketplace.

Will redis do an effect here ?

And yes, you can go into technical details
#11643
↳ Replying to @anarhackist
I'll check it out.

We had an SQL database hosted as a RDS instance on Amazon AWS: When we grew quickly we had to create database replicas and it only allows for a master/slave relationship where there is 1 master database and several slaves. This resulted in syncing issues with our ERP that handled the orders with the warehouse. So the cost of increasing the actual master server became so fucking expensive that we had to look for other options, and Redis reduced quite a lot of our load there which helped us save a lot of money.
#11645
↳ Replying to @anarhackist
The problem wasn't heavy load for us in that regard. The problem was that our master DB had to be hosted on the largest server they had on Amazon at the time which is quite expensive, we're talking thousands of dollars each month just for a database. We could have increased the server performance but that would cost more which would increase the cost of our department and when working with e-commerce it's a tough sell because only the IT staff knows why the fuck you even pay for IT. They want to spend it all on marketing. So it was a cost issue that led us to find these solutions.

If you are able to split the DB operations of writes (reads are easy because you can replicate the databases) then you don't have a problem because you can just increase the number of shitty servers to handle that for you. The problem occurs when you have 1 single source of truth that can handle writing. That's when you need to batch operations and that's where redis helped us.

If it were to happen today I would re-write the architecture and have a "pre-layer" of NoSQL documents that optimize the writing to the SQL DB or just use NoSQL like MongoDB altogether. But I haven't tried that type of architecture in a large project and I don't think I will ever work as an architect for a large firm like that.
#11647
↳ Replying to @anarhackist
Np. We went from 0 orders to +10k orders per day in 2,5 years in the fashion industry. From 0$ to +$1BN per year turnover. Quite a hectic ride.
#11649
↳ Replying to @Aftle1941
No, I'm serious. Companies want software developers to use their useless tools, which is why they push for frameworks (even when vanilla JavaScript is more than enough to solve the problem). By using their framework, you're bringing their vulnerabilities to your project.

See the recent MongoDB exploit (which was inserted by someone working on the code, so it's a backdoor, not a vulnerability). Those that decided to not rely on it were not exposed to it. See React.js, which has serious security vulnerabilities (which I think are deliberate, as they want means to hit people that could become targets of interest).

REJECT FRAMEWORKS, EMBRACE SIMPLICITY.

Members-only continuation

This discussion contains more posts.

Create an account or sign in to continue reading the full conversation. 3 additional posts await inside.

Create an accountSign in