Currently we are developing our microservices by running them all locally using docker. We are now limited by the resources of our local machine and we are trying to find a solution to scale our development environment.
We want to keep quick feedback and our current debugging tools/IDE locally.
Based on this article we think the best solution for us would be to have a local proxy that connects to another cloud proxy that would stub the service being developped.
See schema below:
The local proxy would be used to avoid updating local endpoints, so if we need X services locally, it would start X listeners and forward requests to the cloud.
The cloud proxy would take these requests and stub the corresponding services. Responses from services would be sent back to the local proxy.
Is this solution doable ? How would you implement such solution ? Is there a better way ?