DZone

In our previous article, we used the tarantool-authman module to implement an authentication server. Tarantool-authman is quite good and has almost all of our desired functionality, but in complex distributed systems (including microservice ones), many subsystems must work asynchronously. So, if we implement a system with multiple services and a single authentication tool, the latter can become a bottleneck and will slow down the entire operation. Fortunately, queues provide a solution to our problem.

Our goal in this article is to achieve an implementation of an authentication server, i.e. a Tarantool-based instance, with the tarantool-authman module. To help this server cope with an inevitable flood of web-service requests, we’ll add a queue server made with Tarantool Queue.

Source: DZone