Service

A look about the service

Introduction

The service is the core of the lib. It is the place where the magic happen. The core rely on the lapin lib to handle the AMQP protocol and tokio to handle the async and spawn part. Tokio spawn one delagate per vCPU to handle the request and the response. As an optimisation for heavy load, the lib use an async spawn to publish the response so if a vCPU is free, it can handle to publish the response.