|
|
|
|
|
by peterhunt
3856 days ago
|
|
There's a lot of benefits to this approach over a database join if you have async IO. Specifically, sharding becomes trivial and you can cache each movie individually, so if one movie changes you don't need to invalidate the cache for all of them. |
|
Also there's another downside to this approach: you lose the ability to do atomic transactions on the application's data.