Node JS and Socket.IO Slow Response

subdomain
#1

I am using small node js chat app on my server and DNS is served by free cloudflare. Chat work fine with 5-10 ppl but when visitors starts to increase the chat response starts slowing down like 10-15 sec to send message using socket.io. If i use other domain name which do not use cloudflare everything starts to work normal even with heavy traffic, Can you please suggest me what is the solution? Is there any limitation that cloudflare puts on free version? Do I need to buy paid option from cloudflare. Please help

Thanks

#2

Have you checked this page out?

Also if Cloudflare is the problem, you could maybe have the socket.io respond on it’s own subdomain which is not protected by Cloudflare?

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.