O'Reilly logo

Hands-On Serverless Deep Learning with TensorFlow and AWS Lambda by Rustem Feyzkhanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Message queue

The message queue is an important additional method of interaction within different services. While the RESTful API has a timeout limit, the message queue doesn't have this kind of drawback. Therefore, it helps to handle long-running processes or delayed messages. Also, it allows a more uniform load on the backend. It does not have a critical feature for working with AWS Lambda, since Lambda can easily scale, but it can be very useful when dealing with clusters. Finally, the message queue allows retry logic, meaning that failed tasks can be sent back multiple times. Now let's look more into AWS SQS.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required