Scaling apps on heroku

Get Started. It's Free
or sign up with your email address
Scaling apps on heroku by Mind Map: Scaling apps on heroku

1. About

1.1. @vzmind

1.2. Heroku practice manager

1.3. Vincent Spehner

2. Check the playbook

2.1. share your ideas

3. Solutions

3.1. cache

3.1.1. Cache or call pattern using redis / memcache

3.1.2. caching options cache data replication (best) data synchronization most robust most hard to implement HerokuConnect will do it for you

3.1.3. cache warming background job

3.2. custom APEX end point

3.2.1. reduce API calls

3.2.2. group API calls

3.2.3. trigger complex Apex code from a REST endpoint

3.3. environment mgmt

3.3.1. duplicate your production env locally for testing (same components) Foreman

3.3.2. of course you can run the testing on heroku as well

3.4. no clues on errors

3.4.1. logs are an event stream

3.4.2. use tools that store the logs on DB or monitor them papertrail new relic

3.5. App capacity estimation

3.5.1. blitz

4. API latency syndrom

4.1. symptoms

4.1.1. API quota reached quickly

4.1.2. >5 API calls per action

4.1.3. App not working at specific times of the day


5.1. 12 factors of building apps on PaaS / heroku