An Async Service is a deployment that handles requests asynchronously. While a Service returns a response for an HTTP request synchronously, in the case of an Async Service, you put the request payload in a queue or pub-sub system (SQS, NATS, Kafka, etc.). Async Service processes the payload asynchronously and publishes the response to another queue or pub-sub system.
At Truefoundry, we provide robust support for message queuing systems, including the Simple Queue Service (SQS) by Amazon Web Services (AWS) and NATS. Support for Kafka is coming soon.
The key advantage of Async Service is its ability to work in the background, freeing up your main application to remain responsive and adaptable. Instead of bogging down your primary system with time and compute-consuming tasks, async services process them behind the scenes.
Updated 3 days ago