Workers and WebSocket pricing estimate
# workers-help
a
Hi !> I have a question regarding workers and their pricing when connected to a websocket. Assuming my use case is a realtime multiplayer game and I want to synchronize the state between players such as player position, rotation etc. The client sends updates to the websocket server 5 times a second and worker writes to Upstash Kafka for global distribution of the message. In this case can somebody help me, will my worker be billed for all those 5 requests a second so billed for : ``5 * 3600 * 24 * 30 = 12,960,000 ``packets per month ?
Or I am better of having a long running container somewhere on vm for that type of use case ?
5 Views