I’m currently evaluating rust for a HTTP API and made several PoCs.
One thing I’m not confident with yet is: How to scale
I have my
DbExecutor and messages like
But how to scale the code with 200+ messages ? I cannot simply put the 200+ messages in a single
db.rs source file.
Should I create multiple
DBActor (1 actor per type of my mode) ?
Should I split my
DbExecutor messages in multiple files (1 file per type of my model) ?
Or is there other patterns I’m not yet aware to scale the actor model applied to HTTP service ?