by happychappy · 10y ago · 0 comments
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.
No comments yet.