function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
salesforcecrapsalesforcecrap 

performance and availability

Hi fellow hackers,

A fellow developer voiced that integrating directly with the SF REST API could be unreliable since in the event of an outage, our core application functionality would directly suffer.

As such, I implemented a proxy service on Heroku. This proxy represents a "clone" of our salesforce data and provides RESTful endpoints for our applications. So currently, our applications only talk directly to the proxy, and never directly to SF. I implemented a simple, effective approach to keeping the proxy "in sync" with SF data.

 

I'd love to remove this proxy from our infrastructure, but I am wondering about how to properly handle cases when SF is down. What approaches have you taken? Any good online resources or best practices for how to handle unavailable services that directly impact the functionality of the application that consumes those services?

 

Thanks for your insight.