Which server is best to have websockets like connection as it is in upstox

if i want to have websocket like connection (like all trading apps) with my server then which will be best server to choose.

The type of instances you choose depends entirely on the number of concurrent WebSocket connections you plan to support. After setting up, you can conduct load testing by automatically generating multiple connections.

If youā€™re using AWS, you might start with a General Purpose t2.medium instance. As the load increases, consider switching to a Compute Optimized C4 instance and perform another round of load testing.

For more information, visit AWS EC2 Instance Types.

1 Like