Quick Start
Start the Server
Section titled “Start the Server”flo server startFlo starts on port 9000 (client API). Metrics and dashboard are available on ports 9001 and 9002 by default.
# Store a JSON documentflo kv set user:alice '{"name": "Alice", "role": "admin"}'
# Retrieve itflo kv get user:alice
# Delete itflo kv delete user:alice
# List keysflo kv listStreams
Section titled “Streams”# Append events to a streamflo stream append events '{"type": "signup", "user": "alice"}'flo stream append events '{"type": "login", "user": "alice"}'
# Read the last 10 recordsflo stream read events --limit 10Queues
Section titled “Queues”# Enqueue a jobflo queue enqueue jobs '{"task": "send-welcome-email", "to": "alice"}'
# Dequeue the next job (with visibility timeout)flo queue dequeue jobsTime-Series
Section titled “Time-Series”# Write a metricflo ts write cpu --tags host=web-01 --value 82.5
# Query with FloQLflo ts floql "cpu{host=web-01}[1h] | window(5m) | avg()"Actions
Section titled “Actions”# Register an actionflo action register send-email
# Invoke itflo action invoke send-email '{"to": "alice@example.com", "subject": "Welcome!"}'
# Check run statusflo action status <run-id>
# List all runsflo action listWorkflows
Section titled “Workflows”# Create a workflow from YAMLflo workflow create --file order-workflow.yaml
# Start an instanceflo workflow start process-order '{"order_id": "ORD-123", "amount": 99.99}'
# Check statusflo workflow status <run-id>Stream Processing
Section titled “Stream Processing”# Submit a processing jobflo processing submit --file jobs/user-spend-alerts.yaml
# Check statusflo processing status user-spend-alertsDashboard
Section titled “Dashboard”Open http://localhost:9002 to see the built-in web UI for monitoring streams, keys, queues, and cluster health.
Next Steps
Section titled “Next Steps”- KV guide — CAS, TTL, versioning, blocking gets
- Streams guide — Consumer groups, offsets, partitioning
- Queues guide — Priority, DLQ, visibility timeouts
- Time-Series guide — InfluxDB ingest, FloQL queries
- SDK guides — Go, Python, JavaScript, Zig