Tuesday, May 15, 2018

Tarantool Queues (Part 3): The Art of Queue Parsing

DZone Database Zone
Tarantool Queues (Part 3): The Art of Queue Parsing
Tarantool Queues (Part 3): The Art of Queue Parsing

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.

No comments:

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...