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...
Strona głównaProgramowanie rozproszone
Programowanie rozproszone 2539 dni, 11 godzin, 32 minuty temu 162 pokaż kod licznika zwiń