Comment

Comment by Luker88

I am a fan of the thread-per-core model, but I do not share their views on the data sharding per core

While it increases the data locality, I have seen a few software following this sharding model (notably scylla) that work really bad once the load is not evenly distributed across all shards

When that happens it can be a huge waste of resources and can give lower performance (depending on the type of load)

Imho unless you are absolutely sure about the type of load, leave the sharding to dividing data between servers, or have some mechanism that can shift to sharing the load between threads if the system imbalance is too great

parent Luker88 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton