Hello,
I have an app that is currently subscribed by about 70k people on android, when I send a PUSH notification through firebase the application in the fm_MessageArrived event calls a web service and updates certain things in the database through an NGINX server.
The problem happened when I push the general TOPIC, the server did not support so many requests at the same time and I got a "Too many open files" error.
Tonight I'm going to change the settings so that NGINX allows more files open at the same time, and some other limit settings in the operating system.
But is this the correct way to do things ?? Or there is some other method that you can recommend, I know that you can also send PUSH to groups but it can only be done in groups of 1000 and it would be very tedious to go through the entire database to group people.
I was thinking of making a connection using MQTT, but certain ISP providers at home or in shopping blocks access to TCP ports so I would not have all the information.
Can you recommend me any ideas?
Thanks.
I have an app that is currently subscribed by about 70k people on android, when I send a PUSH notification through firebase the application in the fm_MessageArrived event calls a web service and updates certain things in the database through an NGINX server.
The problem happened when I push the general TOPIC, the server did not support so many requests at the same time and I got a "Too many open files" error.
Tonight I'm going to change the settings so that NGINX allows more files open at the same time, and some other limit settings in the operating system.
But is this the correct way to do things ?? Or there is some other method that you can recommend, I know that you can also send PUSH to groups but it can only be done in groups of 1000 and it would be very tedious to go through the entire database to group people.
I was thinking of making a connection using MQTT, but certain ISP providers at home or in shopping blocks access to TCP ports so I would not have all the information.
Can you recommend me any ideas?
Thanks.