AsyncTask Scheduler
-
Consisting of arbitrary workers to consume tasks and an agent with HTTP interface to create/query/hold tasks, giving way to horizontal scaling.
-
Designed loosely coupled database table normalization& sharding logic, task scheduling rules that support priority scheduling and flexible retry strategies, and service governance mechanisms.
-
Performed stress testing and improved performance from 500 QPS to 2000 QPS by using distributed locks and caching with Redis and reconfigure the MySQL connection pool.
I will offer detailed explanations and architecture images later. You can learn more at the Github repo.