Performance and Persistence
P
Posted on
Jun 05 2015
Hi,
I have a few questions about sending errors and logging through to the API. All of these concern websites running on IIS and also locally running processes like a JVM.
I take it the calls can be sync or async?
Can the errors fall back to a local storage log if the API is unavailable? If yes, are these then sent through once the API is contactable again?
Is there any type of throttling? What is the throughput one account is allowed hit?
Thanks
Alex
Posted on
Jun 11 2015
Hi there,
Depending on the provider and the context in which the call is being made you may be able to use either synchronous or asynchronous calls. In the case of .NET manual sending to Raygun can be made asynchronous, if you write a global exception handler which calls the anync method manuall. Java Servlets can make async calls too.
Some of our providers do allow offline storage of errors which will resend in the future. At the moment this only exists for iOs, Android, Windows Phone and Xamarin for iOs and Android.
We will throttle your account if large amounts of data comes in over a short period. This rate has to be in the multiple gigabytes per hour range though. If you have an concerns about going over this limit get in touch.
Cheers,
Alex