|
|
|
|
|
by rantanplan
3429 days ago
|
|
I can't characterize the performance of my app on a dev instance. I don't even think it's possible. You could characterize in the sense you do it for algorithms(with regards to time complexity). But in general this is my(our) process. - First I write the code. - Then I test the code locally. - Then I test the code on an instance with a copy of prod data. If I want to debug at this point, I run the web process locally while my DB configuration points at that specific server with the prod data. - If it's code that spans across more than one subsystem(e.g. it also involves async celery task/queue servers) I test on a staging environment, that duplicates(as much as possible) the prod infrastructure. - Then I deploy. Obviously there are other various details, plus rollback plans in case something still goes wrong, but that's the gist of it. |
|
I believe it's possible that nobody ever logs into any instances in the staging environment, but if that's the case then your organization is an exception to the rule. Plus you mention it's "as close as possible" to the prod infrastructure rather than identical.
The point is: don't act superior by feigning ignorance that most shops still have people who occasionally log into Linux hosts.