Vert.x libraries
author and contributor, 2017–2021
A set of open-source libraries filled gaps in the Vert.x stack with fibers, a Redis cluster manager, and jOOQ code generation, all written while running Spellsource on it.
Covered in vertx-jooq
Spellsource runs its server on Vert.x. Operating a live game on the platform revealed three technical gaps that were addressed in public.
vertx-fibers integrates Quasar fibers into the Vert.x event loop, running sequential game logic without blocking an operating system thread for each player.
vertx-redis-cluster is a Redis-backed cluster manager for Vert.x 3.9 and newer. Hazelcast and Zookeeper were the standard options, but neither was easy to run on Kubernetes, and Redis was already part of the deployment.
vertx-jooq is an upstream project. The contributions to it cover the changes required for its generated data access objects to function against the database schema Spellsource used.