DanielFGray / DanielFGray/rfchat

Redis-backed ephemeral systems

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
enhancement p2 task
Dominant language
Elixir
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Summary
Use Redis for ephemeral distributed systems that should not live purely in process memory.

## Scope
- Move appropriate ephemeral state into Redis, including candidates such as presence, typing, rate-limit counters, fanout helpers, and transient coordination.
- Define ownership boundaries between Postgres, in-process memory, and Redis.
- Keep product behavior correct across multiple BEAM processes and future multi-node deployment.
- Expose enough observability and failure handling for operators.

## Acceptance Criteria
- [ ] Ephemeral state that must survive process boundaries no longer depends on single-process memory.
- [ ] Redis-backed features degrade predictably if Redis is slow or unavailable.
- [ ] TTLs and cleanup behavior are explicit for each stored data class.
- [ ] The architecture keeps durable truth in Postgres and transient coordination in Redis.

## Operational Notes
- Self-hosted deployments need clear Redis sizing and failure expectations.
- This issue should avoid Redis creep for data that actually belongs in durable storage.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.