2 ms·
Sharding your DB works if you can figure out how to segment your customers. Then you just need queue(s) and worker nodes.
by icedchai 7y ago
Sharding your DB works if you can figure out how to segment your customers. Then you just need queue(s) and worker nodes.
- aledalgrande 7y agoCan I scale up and down my sharding on demand though? Edit: I guess it's not always important to have all the writes happen in real time, so you'd get away even with a growing queue
- icedchai 7y agoIt's not really simple to do that sort of DB scaling on demand. You might want to look into a service like Amazon's Aurora which I believe has that capability.
- aledalgrande 7y agoHaha did you hack my computer? I was just looking at that :-)
- icedchai 7y agoHah! sounds like you're on the right track. I did some DB sharding/scaling work at a couple of different startups. Fun times!