-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
mosquito
A background task runner for crystal applications supporting periodic (CRON) and manually queued jobs (by robacarp)
FYI the code is on GitHub.
imdrasil/jennifer.cr is my ORM of choice, but I'm no longer following the recommended config directory in the root of the project. I'm just stuffing initializers to be required from the main app files (i.e. src/app.cr).
I actually already have this implemented with the mosquito shard, but that will be covered in the next post of this series. I'm waiting for at least a day's worth of leaderboard match data to reliably compare with the results above, so stay tuned if interested I guess.
There's indeed a penalty in persisting data, likely coming from network latency and the low cost DB server performance being much lower than ideal... I'm saving $$ with that pet (as in "not caddle") server (droplet on DO) hosting Redis+Postgres maintained by me. This hack saves me ~$25/month and could merit a post in and of itself 😆
OpenTelemetry data on Honeycomb is able to tell me exactly how it performed (read my post about this here).
This is another post about the Battlesnake project I've been working on while diving in Crystal lang.