java - Professional Advice: Messaging Solution -


I am putting an application for a bulk SMS solution. I'm comfortable writing applications in Java, Perl or PHP.

Please advise on the best way to handle asynchronous message delivery.

I have credentials with the networks. I:

  • Password
  • Username
  • Password
  • etc. < / Li>

    For SMPP connectivity.

    I am considering the following:

    1. The user uploads a CSV or XLS file to the web
    2. Numbers and < Li> I am making a cron from time to time to check the database for queued messages to be sent.
    3. The message to be sent will be activated MQ (a messaging tool
    4. MQ for network forwarded
    5. To get approval and delivery status from the network Please update MQ and database.

      Please indicate if my concept is on track or better solution.

      The fact is that you are talking about SMS messages (which is an asynchr ons message handing system) confusing some things - it does not matter in practice - important The thing is that you try to write an asynchronous message handling system to some

      There is no end to the solutions prepared for the queued and processing messages. I previously used BSD LPD for lesser versions of SMS / Fax. You can equally use the tools designed for Kannal like MTA, or especially SMS handling. Combating an IEG, aggregator providing many different APIs, it proved to be more effective for rolling out its own solution.

      If you are writing your own solution, do not use cron.

      When a fire occurs in your cron job, do you just pick up a message and process it? Do you try to take all available messages and process them? What if he takes more than the gap between cron jobs? While the messaging subsystem (before your client - after not having) should take some of these complications, but it does not solve all the problems.

      The right way to do this is with a daemon process either running as a thread or with schematic sharding.

  • Comments