3 ms·
Agreed, but as we're reasoning about a post of DHH, an idiomatic Rails application doesn't carry any state worth thinking about from a request to another one. E
by pmontra 11y ago
Agreed, but as we're reasoning about a post of DHH, an idiomatic Rails application doesn't carry any state worth thinking about from a request to another one. Exceptions are tiny bits of information stored in cookies (usually nothing more than the id of current user) and the database. PHP does the same.
The difference between PHP and application servers is that all its runtime environment is reloaded from scratch at every request. This is both a good and a bad thing.