Strona głównaProgramowanie rozproszone

There are some common questions when it comes to microservices. One of them is „how to forward request from API gateway to the particular microservice?”. There’s no rule of thumb here because everyone has a slightly different approach, but the most popular solution I know is:For writes, so creates, updates and deletes (CUD) create a command and publish it to the service bus based on a queue like RabbitMQ.For reads (GET) forward the HTTP request to the internal API (not p...

Źródło: foreverframe.net
Dziel się z innymi:
Microservices, HTTP forwarding and RestEase - Forever F[r]ame
Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu