On 2017-02-22 23:04, Vincent Bastos wrote: > I would like to suggest a module to manage an SMS queue. I am interested to > get feedback/comments. > > I need to create a module to send SMS's via an SMS gateway provider called > Twilio [1]. The reason for this queue is because users should be able to > tell if messages have been sent or not without having to access another > system. > > The idea is that we could have a generic SMS queue module which is > basically a single model: SMSQueue.
Very bad idea to implement a queue with SQL table, especially using isolation level as repeatable read. This is even worst if the queue has to work with external system which does not support 2 phases commit. The best solution is to interface with the information system of the gateway. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/20170223083920.GA36856%40tetsuo.