I'm running a cloud-server which handles thousands of TCP socket connections but it seems to just die when socket connections goe's beyond 4000 ~. For now, I'm splitting the work by creating multiple workers that handle 1000 connections each and each of them connects to the main server that connects them all together.
My question is, is there a limit to the number of socket connections that LiveCode can have? I've seen other languages that have a limit of 4096 so i search /engine/src/opensslsocket.cpp and found
Code: Select all
#define READ_SOCKET_SIZE 4096
PS: I'm using LiveCode 6.7.11 Indy but I have tested this with LiveCode 9.0.4, same results. Also, I found nothing about this in the docs.
Thank you.