© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
42 replies
Nikil

Socket response time >=150ms ?

I was under the impression that with Websockets and Durable Objects, we could get short response times, like <50ms. I'm just sending json objects. But I'm getting like 500ms to 1.5s.
I'm operating a live Q&A service.
Maybe I'm being dumb by sending the latest status of all of the questions when somebody upvotes a question or asks a new one so I can make sure we don't have weird consistency issues between clients, so I'm send around 1.7MB when there are ~400 questions. However, I deleted all the questions and tried it and I'm still gettting around the same timing.

I'm measuring the timing using K6 socket testing.

What could I be doing wrong? How can I make this more performant (<50ms or at least <100ms)?

@eeswar
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Slow Response Time
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
15mo ago
D1 Response time slow
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
16mo ago
Workers-KV Slow Response time
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
7mo ago
Workers response time is unstable?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
13mo ago