Path Parameters
Body
application/json
Response
Successful Response
Receive heartbeat from a worker (simplified version with worker_id in URL).
OPTIMIZATION: Uses Redis for scalable heartbeat storage instead of database. Database writes are expensive and heartbeats happen every 30s per worker. Redis provides sub-millisecond writes and automatic TTL expiration.
Args: worker_id: Worker ID (UUID) heartbeat: Heartbeat data
Successful Response