Loading…
Topic
Heroku Connect
3 posts about Heroku Connect. Every summary links to the original.
- 3 posts
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Heroku Connect: Faster, More Reliable Data Sync with Salesforce CDC
Heroku Connect customers needing current Salesforce data for applications such as custom quoting have faced stale records because legacy synchronization could lag, with Opportunity Line Items among unsupported objects for Accelerated Polling. Heroku is rolling out support for Salesforce Change Data Capture (CDC), allowing Accelerated Polling to listen for changes instead of relying only on the Salesforce Streaming API. That change adds more than 170 Salesforce standard objects to Accelerated Polling, including Opportunity Line Items, Pricebook2, Asset, and OpportunityLineItem, so critical data can synchronize more quickly. To enable it, a Salesforce administrator turns on CDC for selected objects, after which the corresponding Heroku Connect mappings expose the “Uses Accelerated Polling” option.
Optimizing Data Reliability: Heroku Connect & Drift Detection
Heroku Connect syncs Salesforce data with Heroku Postgres, but primary polling can miss changes when long-running Salesforce automations commit after the polling window advances, creating drift. The service uses secondary polls over the same bounds as primary polls to find and repair missed changes, with Bulk API or SOAP API selected according to dataset size and retries for failed polls. Recent improvements change Bulk API drift handling by creating one secondary bulk job for each primary bulk job, then adding corresponding batches instead of creating many jobs. Secondary tasks are now scheduled and executed with limited concurrency, reducing simultaneous database connections consumed while Postgres is updated and preserving capacity for applications. The post says these changes reduce load on Salesforce and improve operational reliability during heavy synchronization, while noting that Heroku Connect remains asynchronous rather than truly real-time.
Using force.com from your Heroku apps
Force.com and Heroku, both part of the Salesforce1 platform, can be connected from Heroku applications through data synchronization or direct API access. Heroku Connect provides point-and-click, two-way synchronization between Force.com and the Postgres database attached to an app, allowing reads and writes in Postgres while changes are copied asynchronously; that latency makes it unsuitable when an immediate Force.com response is required. For synchronous access, open-source client libraries cover Force.com’s SOAP, REST, Streaming, Bulk, and Metadata APIs across languages including Java, Ruby, Node.js, PHP, Python, Objective-C, and Go. The article maps libraries and packages to supported APIs, including restforce and salesforce_bulk for Ruby, nforce for Node.js, simple-salesforce for Python, mobile SDKs, and ForceCLI for scripting SOAP and Metadata operations.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.