API Throttling

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

API Throttling

Postby Deestar » Sun Feb 16, 2020 11:36 am

I see this has been posted on the Developers forum from Betfair.

Any idea what they mean by "excessive", and what if any impact it will have on BA?

--------------
Exchange Stream API Release - Connection Throttling - 24th February
13-02-2020, 11:46 AM
To improve performance and stability we are introducing Exchange Stream API connection throttling as part of a release on the 24th February

The changes in this release are to protect our systems against excessive or improper use and will have no impact on customers who are managing their Stream API connections correctly.

Please Note: If you would have been impacted by this change based on your Stream API usage over the last 3 weeks we’ll inform you directly in a separate communication so you can make the required changes before the release.

Following this release any excessive connection requests will return the below error during authentication:
TOO_MANY_REQUESTS Failure code returned when a client makes too many requests within a short time period
The MAX_CONNECTION_LIMIT_EXCEEDED will continue to be returned during normal usage (i.e. if you attempt to create more connections than the available limit before closing existing connections).

New Status / StatusMessage Field

To help with connection management, in this release we will also add a new field, connectionsAvailable, to the StatusMessage returned from authentication requests. This field tells you how many new streaming connections you are able to open at this moment in time. If you adhere to this you should avoid TOO_MANY_REQUESTS and MAX_CONNECTION_LIMIT_EXCEEDED errors.

The new throttling behavior and connectionsAvailable field will be in the Stream API integration environment (stream-api-integration.betfair.com) from Monday 17th February.

Betfair Developer Program[/i]][/b][/b]
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: API Throttling

Postby Captain Sensible » Sun Feb 16, 2020 6:24 pm

I'd be surprised if you'd be doing excessive streaming via gruss. Most likely trying to stop the users who will be monitoring hundreds of markets at once and placing few bets to cover the costs.
User avatar
Captain Sensible
 
Posts: 2883
Joined: Sat Nov 19, 2005 2:29 pm

Re: API Throttling

Postby GaryRussell » Tue Feb 18, 2020 10:37 am

This does not affect the vast majority of our users. The limit is 10 concurrent connections to the streaming API. Betting Assistant uses 2 connections per instance so the limit is 5 instances per account. Having many markets open in an instance does not affect how many connections are made, they are all streamed through the 2 connections.
User avatar
GaryRussell
Site Admin
 
Posts: 9679
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: API Throttling

Postby Deestar » Tue Feb 18, 2020 10:52 am

Ok, thanks Gary good to know.
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am


Return to Discussion

Who is online

Users browsing this forum: No registered users and 19 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.