質問

こんにちは私は私のプロジェクトの1つでカンネルを使っています、そして私はプッシュモードで複数のキューを実装できる方法を知りたいです。 プルモードのために私はいくつかの投稿をチェックし、システムは高負荷シナリオで抵抗する必要があるため、Kannelは進行SMSのためのキューイングのメカニズムを実装していないことがわかりました。

私はKannelで非常に新しいです。私は彼らの文書を試しましたが、これまでのところプッシュモードのための主なアイデアを得なかった。 事前にありがとうございます。

役に立ちましたか?

解決

You can rely on sqlbox to implement multiple queues before tapping on bearerbox for delivering MT traffic.

Install sqlbox and run 2 instances, each one is connected on a different couple of sql tables, let's say:

  1. queued_1 and sent_1
  2. queued_2 and sent_2

And then you'll have to insert your SMS-MT into queued_1 and queued_2 tables with a roundrobin algorithm so you can load-share the traffic on both sqlboxes.

But dont get it wrong, bearerbox still have its own queue, and it's a one-queue-per-smsc, this is a memory based queue which gets filled whenever the smsc doesnt respond (with submit_sm_resp) or rejects delivery.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top