3 ms·
No idea why you would roll your own, easiest thing is run nginx in docker. No way writing your own is the first thing you should do.
by lfmunoz4 2y ago
No idea why you would roll your own, easiest thing is run nginx in docker. No way writing your own is the first thing you should do.
- vrosas 2y agoUntil you want your gateway to handle some complex auth or routing rules and don’t want to learn a whole new programming language to implement that.
- dingnuts 2y agothis is such a wild take to me. why on earth are there complicated routing rules happening at the API gateway at all? In MY real world experience, the API gateway does some sort of very simple routing to various services and any complex auth or routing rules would be the service's responsibility. If the API gateway has your application logic in it it's not a separate component at all. How complex can you really get with HTTP requests anyway?