logoalt Hacker News

atherton94027today at 4:55 AM3 repliesview on HN

I'm a bit confused here, do they have a single database they're writing to? Wouldn't it be easier and more reliable to shard the data per customer?


Replies

hinkleytoday at 6:12 AM

When one customer is 50 times bigger than your average customer then sharding doesn't do much.

show 2 replies
thaynetoday at 7:36 AM

Sharding is often not easy. Depending on the application, it may add significant complexity to the application. For example, what do you do if you have data related to multiple customers? How do you handle customers of significantly different sizes?

And that is assuming you have a solution for things like balancing, and routing to the correct shard.

atsjietoday at 5:29 AM

I wouldn't call that "easier" perse.