'Better use nginx with javascript plugin or a java microservice?
I am about to implement a service that shall extract a special id out of a request (path, params or headers), by a combination of some regex analyses. Then it shall query another system about this ID, store the result to a cache for some time and decide to forward this request (like a normal reverse proxy) to different target systems located in different countries.
Basically a nginx should be a good starting point, however I'm not sure about the logic (that might also evolve a bit over time) with the cache (redis, postgres, whatever) and REST-Request to the 3rd Party system. Would it be possible (and maintainable) to implement things like this based on a nginx reverse proxy?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
