There's more...

There is quite a lot of good stuff in Nameko that we have not even seen. One very useful factor is that Nameko runs listeners for multiple instances of your microservice. The default at the time of writing is 10. Under the covers, Nameko sends requests from the clients of the microservice to a RabbitMQ queue, of which there will be 10 simultaneous request processors listening to that queue.  If there are too many requests to be handled at once, RabbitMQ will hold the message until Nameko recycles an existing microservice instance to process the queued message. To increase the scalability of the microservice, we can simply increase the number of workers through the configuration of the microservice, or run a separate Nameko ...

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.