title: What is the best way to make multiple connections at the same time?
body: <p>I'm making a program that requires to make multiple connection on my website and keep it open for a few hours! So, let's say I want to make 300-500 connections and keep them up for 5 hours, if I use threads for each connection, how much CPU would it take approximately? Is there any alternative way to do this instead of using threads as it would take a lot of CPU?</p>