socket

amin3 months ago

when a device sends data to the Traccar server, a socket connection is typically established between the device and the server using the Netty framework.right? for each device establishe a TCP or UDP socket? it means if we have 100 devices ,100 socket will establish?

Anton Tananaev3 months ago

Yes.

amin3 months ago

so if we have for example thousands of devices do we have problems ?

Anton Tananaev3 months ago

Why?

amin3 months ago

Memory Exhaustion and File Descriptor Limits (Socket Exhaustion)

Anton Tananaev3 months ago

You have to have appropriate limits to support the number of devices you want to have.