Tutorial or Example Code for Using Router And LoadBalancer

Added by xspintel 32 days ago

Please mostar could hang or Router and use the Code LoadBalancer BulkGateway be placed with the library MessagingToolKit.Core V.1.0.0.6

I hope to do so ..

Thanks ..

Excuse my English is not good


Replies

RE: Tutorial or Example Code for Using Router And LoadBalancer - Added by admin 32 days ago

We will provide more samples for Router and LoadBalancer later in SmartGateway, but this one will not be in the immediate future.

For the time being, you can have a look at the RoundRobinLoadBalancer and NumberRouter sample codes attached.

You can follow the same way to code your own Router and LoadBalancer

RE: Tutorial or Example Code for Using Router And LoadBalancer - Added by sebacipo 4 days ago

Hello Admin,
i have to develop an app like bulk gateway but with 2 sql server tables: Incoming and Outgoing.

every new row added to the outgoing, this gateway has to send de sms, and when a sms receive it has to be saved in the incoming table.

now, i have some questions:

1- I notice that the bulkgateway (the example in the coretoolkit) can add many modems or phone. ¿This bulk gateway included the core toolkit manage the load balancer and the router automatically?
2- ¿Do you think that if i edit your bulkgateway app to work with the incoming and outgoing tables is a good choise? I have to send 15000 sms per day.

sorry for my english and thanks for your time, but i want to be sure before buy a licence of the coretoolkit.

RE: Tutorial or Example Code for Using Router And LoadBalancer - Added by admin 4 days ago

Hi,

The load balancer and number router are already part of the core library. You can refer to this thread https://twit88.com/platform/boards/2/topics/show/217

You can refer to the bulk gateway source, especially how to use MessageGatewayService (it is part of the core library).

In your case, I think you want to develop a Message Server, which we are working on now to be released in a few months time as addon to the core.