Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is they just can’t shard the thing? Isn’t each Discord ‘server’ isolated from the others (can’t send a message from one to the other?) Why can’t they address trillions of messages by having thousands of shards that each handle billions?


The partition key included the channel ID, and they were still having problems with hot partitions even with that fine-grained sharing.


Last time I checked the Discord bot API, it had explicit provisions for sharding.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: