-1

I want to buy a vps with the following specifications:

  • 2 Core (s) 2.4 GHz
  • 8 GB of RAM
  • Debian 9 x64

and a dedicated server

  • CPU: Intel Xeon E3-1245v5 - 4 / 8t - 3.5GHz /3.9GHz
  • RAM: 16GB DDR4 ECC 2133 MHz
  • Disks: SoftRaid 2x2TB
  • Debian 9 x64

How many connected clients does each server support with vernemq or mosquitto with QOS 1?

Namphibian
  • 12,046
  • 7
  • 46
  • 76
  • if it's a web services question. I have an android app that through mqtt I use to collect data in real time for farms. Maybe you can help me as I wait for around 2000 clients and I need to cover those clients – Julio Cesar Caicedo Jul 13 '18 at 03:47
  • Possible duplicate of [How many clients can a MQTT broker handle?](https://stackoverflow.com/questions/48148237/how-many-clients-can-a-mqtt-broker-handle) – hardillb Jul 13 '18 at 06:03
  • There are too many variables to answer this sort of question, the only way to find out is to test – hardillb Jul 13 '18 at 06:03
  • hi, how can i do those tests simulating that amount of devices – Julio Cesar Caicedo Jul 13 '18 at 12:26

1 Answers1

0

Well, I have solved the doubt, for more than 1000 users you just have to modify the file /etc/init.d/mosquitto

add the following line to the beginning of the file

ulimit -n 20000

where 20000 is the number of connections to support