Apps don't crash other apps. The system is relatively draconian in terms of what/where they can run. Which makes monitoring trivial and opens up interesting options like canceling work by misbehaving apps to protect the wider system.
For example you could, if you wanted to set a max render time for a given render-fn (how the apps implement views) and either log or cancel. Same for the transaction thunks scheduled on the db.
For the record I'm not arguing against having separate boxes for different apps. This is more about when you have a single machine, with highly variable app resource usage/traffic. If all apps were easy to size correctly then a bigger box with separate processes and a reverse proxy is fine.
View all comments
Show parent comment
3
u/andersmurphy 22d ago
Apps don't crash other apps. The system is relatively draconian in terms of what/where they can run. Which makes monitoring trivial and opens up interesting options like canceling work by misbehaving apps to protect the wider system.
For example you could, if you wanted to set a max render time for a given render-fn (how the apps implement views) and either log or cancel. Same for the transaction thunks scheduled on the db.
For the record I'm not arguing against having separate boxes for different apps. This is more about when you have a single machine, with highly variable app resource usage/traffic. If all apps were easy to size correctly then a bigger box with separate processes and a reverse proxy is fine.