Mining pool.

This product solves the problem of automatically combining multiple miners into one joint group and distributing funds among the miners according to their contribution.

The main task of the pool is to manage a large number of devices simultaneously. It is assumed that the number of devices is 1,000 to 5,000 which generate approximately 50,000-100,000 requests per minute.

To ensure throughput, Stratum server clustering is used that allow the distribution of devices across clusters.

Hot data (issued tasks and results) are stored in Redis and only the data that affects the final result is directly sent to the record in the “cold” MySQL storage. To speed up the work, most processes are executed by daemons and the work is mostly done with cached data.