|
|
|
|
|
by happychappy
3570 days ago
|
|
If you could separate the inbound traffic to either the website or the API, then you could do this. You'd need something in front of the code you're deploying though My team has a 500k monolith written in java 1.6. I don't really want to invest in fixing it, I'm migrating stuff to the new system. So a way to keep the old one going risk-free is to create three load balancer pools, and have apache send some traffic to the three based on URL pattern * /users goes to pool one
* /dashboards goes to pool two
everything else goes to pool three That guarantees that /users and /dashboards can be kept to certain level of performance - by adding more machines, not by diving into the code and trying to fix stuff. The benefit is that its the same deployable in all cases, so its very easy to push. |
|