Jump to content

DusMac

Members
  • Content Count

    5
  • Joined

  • Last visited

Posts posted by DusMac


  1. Have specific service, having to handle 2000+ connections while processing large amonuts of data. Data is processed in separate thread using FIFO buffer. The problems appear when many TCP clients disconnect / reconnect in short time. When repeated few times service shows no client connections, but clients are unable to reconnect until service restart.

     

    Using TSslWSocketServer with TSslContext (TLS 1.2 encryption).

     

    In memory I am keeping track of each socket/context with timestamp of last data received, if idle for more than 60 seconds socket gets disconnected/closed. In normal conditions there should be some data at least every 5s from every client.

     

    Any idea what am I doing wrong ?

×