Hacker News new | ask | show | jobs
by kpmah 3856 days ago
Yes, it might make sense if you're Facebook or Amazon to do this stuff. For the rest of us, a single (reasonably optimised) database can scale up to thousands of hits per second. Probably more.

Also there's another downside to this approach: you lose the ability to do atomic transactions on the application's data.

1 comments

Sure, but if you ever need to shard, you can no longer assume you can do atomic transactions anyway, which means you need to rewrite a lot of stuff.

By designing in this way, your scaling problems change from "the entire app fell over" to "the movie service fell over", which really helps with availability.

Not that there aren't disadvantages with microservices (overhead, distributed tracing, etc), I just think app architecture isn't one of them.