Important note
This deploys Dragonfly without RDB persistence. The data stored in-memory will be lost if instances reboot.
This Dragonfly app is ideal for small, cost-conscious applications that don't require on-disk persistence. It's perfect for use cases like rate limiting, session storage, and data caching that don't require durability between reboots.
Dragonfly scales vertically very well and should only require clustering at extremely high scale. This results in a far simpler operational model and a more reliable system, particularly when running on a serverless platform like Fargate.
Getting started
To use your Dragonfly app you need to grab two values from the UI: the "Internal service URL" and the value of the "DRAGONFLY_PASSWORD" variable.
The internal service URL is available on your component overview. In the example below, you would use dragonfly.project-zeus-development.internal
as your host in a Redis-compatible client and set the port option to 6379
.
The DRAGONFLY_PASSWORD
variable can be read in your component's "Secrets and variables" dashboard.