Hacker News new | ask | show | jobs
by bofaGuy 633 days ago
I’m lost at why a DB (Cassandra) with better write performance than read performance was ever selected for a messaging system. I feel like it’s obvious that a message will be read more than it is written (once).
2 comments

The fact that it has better write speed than read speed doesn't mean that it has bad read speed. It just happens to have even better write speed.

It's like how I connect my phone to my home's cable connection to send a big file. It is better at downloading than uploading, but that doesn't mean it's not the best solution for uploading.

While it’s true that messages are read more, reading can be cached so not every read necessarily results in a DB call.
Which seems something they added recently but was not part of the original design of using Cassandra