I know some people use 10k+ real devices with Traccar. One user reported that he had tested 30k emulated devices with Traccar and it worked just fine.
As for your example, I think it should be able to handle 1000 or more messages per second.
I want use nginx to load balancing tcp socket.
Help me if you know!
What exactly do you want to load balance? Web interface access?
Hi Anton Tananaev,
I need server, not web interface.
This afternoon, I found module stream of nginx.
I tested and success with nginx 1.9
http://nginx.org/en/docs/stream/ngx_stream_core_module.html
vi /usr/local/nginx/conf/nginx.conf
stream {
upstream stream_backend {
server 127.0.0.1:5005;
}
server {
listen *:5095;
proxy_pass stream_backend;
}
}
http {
...
}
Install Nginx 1.9 with stream module
wget http://nginx.org/download/nginx-1.9.0.tar.gz
tar -vxzf nginx-1.9.0.tar.gz
cd nginx-1.9.0
./configure --with-stream
make
sudo make install
sudo wget https://raw.github.com/JasonGiedymin/nginx-init-ubuntu/master/nginx -O /etc/init.d/nginx
sudo chmod +x /etc/init.d/nginx
sudo update-rc.d -f nginx defaults
service nginx start # to start the server
I don't quite understand why you need to scale device communication back-end. How many devices do you plan to use? Traccar can easily handle tens or even hundreds of thousands devices.
Hello,
how much simultaneous devices can feed data to the server (or amount of points per second)? for example on 24 GB 2.8 4core box? what is the database maximum tested size?
thanks in advance.