Multi threaded? Is betangel?

A place to discuss anything.
Post Reply
User avatar
jimrobo
Posts: 1290
Joined: Wed Mar 25, 2009 12:49 pm

I just read another software promote their software as being multi threaded. PLease could you give me a brief explanation what this is in respect of an app and whether betangel is multi threaded?
Bet Angel
Bet Angel
Bet Angel
Posts: 4031
Joined: Tue Apr 14, 2009 3:47 pm

Multi-threading allows an application to do more than one thing at the same time. E.g. A multi-threaded trading application can draw the screen and respond to mouse clicks, while retrieving new market prices from betfair, while placing a new bet and updating Excel.

Bet Angel has been multi-threaded since its creation and we’ve updated the threading model a number of times during the evolution of the product. Some applications limit themselves to one thread for betting, one for cancellations, one for updates etc.; Bet Angel manages a dynamic pool of threads and can allocate them as necessary. For instance, if the betfair API is performing slowly one day and bets are taking a long time to place, then Bet Angel will automatically assign multiple threads to bet placement so that you don’t have to wait for one bet to be processed before you can place a second bet.

All of the Guardian activity takes place using multiple background threads so again even if betfair is running slowly it is able to update a number of markets each second. All the threads are monitored to ensure the call rate doesn’t exceed betfair’s threshold of 20 calls per second.
jjrmilner
Posts: 1
Joined: Wed Apr 07, 2010 11:09 am

I have linked Guardian to Excel. Excel is running on a BetAngel VPS with the Server Edition of BetAngel.

I think there is a problem with Multi-Threading. Every so often, 2 identical bets are triggered (instead of one). I thought that perhaps, the spreadsheet was slow to updated the unmatched bets counter. (I do not place any bets when the counter is greater than Zero).

I can only assume that the mutli-threading is queuing multiple bets before sending back the correct unmatched bets value to Excel.

Do you have any suggestions for preventing this problem
Bet Angel
Bet Angel
Bet Angel
Posts: 4031
Joined: Tue Apr 14, 2009 3:47 pm

If you can contact support we can investigate. We haven't witnessed as specific issues but if we can replicate it then we can look at what is causing it. Sorry we can't be of immediate help.
Post Reply

Return to “General discussion”