This repo accompanies the Dreamforce '17 session Beat Governor Limits By Taking Your Compute Processes to Heroku. It demonstrates a distributed architecture which spans Force.com and Heroku.
Why might you want to build such an app? I'm glad you asked! Heroku does what force.com don't.
- Heroku gives you access to industry standard external libraries and tooling
- For example, this app uses the open source NPM module is-prime to check for primality
- Is not constrained by governor limits
- Process large volumes of data without batch apex
- Make callouts to other web services with impunity
- Gives you far greater control
- Continuous delivery instead of waiting for users to pull managed package versions
Deploy the Salesforce and Heroku components of the app using the buttons below.
Important! Remember to change the Named Credential endpoint to match your newly created Heroku app (e.g. https://my-app-123.herokuapp.com).
Or if you want to get your hands dirty... see the wiki for local development and manual deployment instructions.
- This repository has 2 distinct components
- In production, you should use a separate repo for the force and heroku components
If you find any issues or opportunities for improving this respository, fix them! Feel free to contribute to this project by forking this repository and make changes to the content. Once you've made your changes, share them back with the community by sending a pull request. Please see How to send pull requests for more information about contributing to Github projects.
If you find any issues with this demo that you can't fix, feel free to report them in the issues section of this repository.