How many connection can Photon accept?
Options
qingye5x
✭
How many connection can Photon accept?
On my machine , i make 5000 client to connect Photon, but when UDP Peer become 3100, Photon log shows:
8888: 16:15:06.074 - CENetThreadPool::Process - std::exception - bad allocation
Is Photon can only hold 3100 connection?
On my machine , i make 5000 client to connect Photon, but when UDP Peer become 3100, Photon log shows:
8888: 16:15:06.074 - CENetThreadPool::Process - std::exception - bad allocation
Is Photon can only hold 3100 connection?
0
Comments
-
photon can handle as many connections as your server can handle. Thats a matter of network interface, processing power and RAM etc0
-
Thank you~!0