rmaps-online/backlog/tasks/task-5 - Implement-WebSocke...

925 B

id title status assignee created_date updated_date labels dependencies priority
task-5 Implement WebSocket sync server Done
2025-12-15 19:37 2025-12-26 02:15
high

Description

Deploy a WebSocket sync server for real-time room state synchronization. Consider using Cloudflare Durable Objects or a self-hosted solution.

Implementation Notes

Implemented Node.js WebSocket sync server in sync-server/

Deployed to Netcup RS 8000 at https://sync.rmaps.online

Updated rmaps-online with NEXT_PUBLIC_SYNC_URL=wss://sync.rmaps.online

Server handles: join, leave, location, status, waypoint_add, waypoint_remove, full_state, request_state messages

Includes health check at /health and stats at /stats

Auto-cleans stale participants (1 hour) and empty rooms (24 hours)