@OmniUno the chunk data is downloaded over http connections, as each chunk is requested across the connection we pay a round trip latency of sending the request for the chunk and getting the response. In order to ensure the bandwidth is not idle during those latency periods we always allow multiple chunks to be downloaded in parallel. Hence we allow the client to open a number of simultaneous connections (currently limited to 32).
Opening a new http connection (rather than making a new request on an existing connection) is also much more expensive on the cpu and has a higher cost in latency time (multiple back and forth requests) as a result we allow the client to hold those connections to the server open, ready to request new chunks when they’re needed. Typically an open connection has reasonably low overhead, mostly just some reasonably small memory buffers.
The only real case where I’ve seen having many connections open is some lower end routers can struggle with many connections, although typically the “many” here is thousands rather than 50.
Out of interest when you do see lag are you seeing a corresponding drop in framerate or just lagging of movement/behavior with constant framerate? Also what sort of spec is your PC?
Oh also when you mention “interacting with things in your shop” can you give some specifics, just opening plinths, adding things, adjusting prices. If you have a video of a sequence where is does it I’d like to try and reproduce it to diagnose what’s happening.