Hi Jake Buller,
Thanks for sharing your thoughts. Just wanted to get your opinion about abstracting all the if-else conditions in validateInputs() method?.
I certainly can see the benefit of extracting some pieces of the business logic out of our service layer (though someone might say, this is what…
Thank you, Richard!
Would queues are more efficient if the concurrent work you are doing is CPU bound and have no order requirements?
Why not. That’s a perfect situation for using the queues. Queues are meant to manage the tasks and have control over things like the number of concurrencies. That’s…
I have added the other parts at the very beginning.
This is a series of tutorials. We are going to:
No. These microservices are sitting behind a firewall that doesn’t allow any request from outside. The firewall is something you can configure when you deploy your application to say, AWS.
You’ll only allow requests to Gateway and block everything else. Only the gateway is able to talk to these services and no one else.
No. This has to be done on the firewall level. In other words, whenever you deploy the application, say on AWS, you should block all the external requests to these services so that you are only allowed to ping the auth service, which in turn forwards the request to the image and gallery services.
Let me know if that makes sense.