Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How to scale websocket listeners?

I'm asking about the case when your service is listening for some streams with non-stationary message intensity. Such situations are arising naturally if you for example listening for stock exchange ...
37buEr's user avatar
  • 1
0 votes
1 answer
1k views

Loadbalancing websockets with nginx behind haproxy

I have an Nginx instance which serves requests proxied to it from an haproxy. This instance should balance load between several websocket server. To get better performance the load balancing should be ...
mhk's user avatar
  • 101
-1 votes
2 answers
7k views

Why AWS classic ELB with HTTP protocol doesn't work with websockets? [closed]

I know that there is an ALB and NLB option that works with websockets. I can't understand why classic ELB with HTTP protocol doesn't work with websocket connections, although at the instance there is ...
ogbofjnr's user avatar
  • 193
0 votes
1 answer
2k views

Cannot establish Websocket on AWS

I have a webserver running on an EC2 instance behind an AWS load balancer under a custom domain for using https. Curl requests to the webserver work as expected, including over https. But ...
Dennis Hackethal's user avatar
2 votes
1 answer
3k views

Allow Websocket connections on Google Cloud Platform

We have a GCE project, with several servers behind a loadbalancer. The servers are running a NodeJS HTTPS server. We have recently tried to implement websocket support, but can't seem to connect to it ...
Nils Eijk's user avatar
1 vote
0 answers
595 views

Amazon AWS WebSocket Load Balancing Scale-In

We are in the process of developing a WebSocket application that will run on the same application servers that serve our APIs, which are all within a target group of a new Amazon Application Load ...
Sivart's user avatar
  • 131
0 votes
1 answer
656 views

How to make TCP server in node.js sticky?

This is a TCP server for receiving data from GPS server const net = require('net'); const lora_packet = require('lora-packet'); const clients = []; const server = net.createServer(function (socket) ...
Abhishek Yadav's user avatar
1 vote
1 answer
4k views

No protocol handler was valid for the URL /url. If you are using a DSO version of mod_proxy

Trying to set up a load balancer using Apache 2.4.x on Windows. Error: No protocol handler was valid for the URL /path/. If you are using a DSO version of mod_proxy, make sure the proxy submodules ...
Himani Singla's user avatar
2 votes
0 answers
785 views

When does the Nginx error happen, recv() failed (110: Connection timed out) while proxying upgraded connection

I am using Nginx 1.10.1 for my APP to balance connections on Websocket. For example, the App A(multi-process) establish Websocket connections to B1, B2 through Nginx so that the connections could be ...
asleea's user avatar
  • 169
0 votes
0 answers
1k views

Nginx, Way to re-balance websocket for a server which gets alive after failed?

I want to balance web-socket with Nginx. When it connects first, it balances the connections. When a server among upstream is failed, it also does re-balance web-socket connections. However, even ...
asleea's user avatar
  • 169
0 votes
1 answer
1k views

How to run a Parse Live Query Server (Web Sockets) behind an AWS Load Balancer?

ParseLiveQuery depends on Websockets. More generically this question could be about getting web sockets to work behind an AWS ELB. I'm using the new Parse Server configured in AWS using Elastic ...
Chad Pavliska's user avatar
0 votes
1 answer
220 views

Keep connections of closed instances behind a load balancer

I'm looking for a system to create a live sockets application through sockets.io and that can be balanced without problem. There are tons of solutions to balance the load between multiple socket ...
Jorge Fuentes González's user avatar
2 votes
0 answers
2k views

Sticky sessions with Apache load balancer for Socket.io 1.0

I've been messing around with Apache as a load balancer for my Socket.io server. I went through the following topic and now everything seems to be fine. Configuring Apache 2.4 mod_proxy_wstunnel for ...
Peyman's user avatar
  • 21
9 votes
2 answers
2k views

Scale HAProxy for more than 64k websockets

We are trying to design an architecture that will be able to handle more than 64k websockets. We first tried with Amazon ELB, but its design doesn't allow unexpected spike of traffic nor websocket. (...
Bastien974's user avatar
  • 1,916