I would like to easily upgrade the Rails application:
Value:
- If migration is not required, I want to transparently update the code and not send 404 requests during deployment.
- It's complicated. . I would like to have some process that can easily update the database and during this time just hold web requests (queue them), when db update is executed, allow everything. (I only need this to work on short migrations - for example, 5-10 seconds of migration).
How would you do that?
source
share