namht1st's avatar

What is suitable language/framework to push bulk notifications in Laravel?

Hi everyone,

I'm facing a big problem when the system grows so fast that is the amount of notifications that need to be sent is too large.

Right now, I'm using APNS/FCM in Laravel to send notifications but due to PHP's limitations there is no multi-threading so the delay time is relatively high. I'm researching NodeJS/MongoDB/Redis and C# to solve the problem.

Can you suggest me what platform to use to speed up the process?

Thanks in advance

0 likes
4 replies
jestins's avatar

you can try pusher with queue.

or else use node.js with socket io. But you need to handle load balancing in an effective way.

1 like
deGecko's avatar

I'd use Queues. The component only handles the storing part of the jobs on queue, but there's information on that page on how to setup a tool called Supervisor, which can be configured to run the queued jobs in parallel (see the "numprocs" property in the config file.)

1 like
martinbean's avatar

@namht1st You should be sending notifications in a queue, not synchronously in the main thread of your application.

1 like
namht1st's avatar

Thank you guys. I will try Queue and Supervisor.

Please or to participate in this conversation.