socket

amin2 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 Tananaev2 months ago

Yes.

amin2 months ago

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

Anton Tananaev2 months ago

Why?

amin2 months ago

Memory Exhaustion and File Descriptor Limits (Socket Exhaustion)

Anton Tananaev2 months ago

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