Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible for two apps on the same heroku account to access the same RedisToGo Server?

Is is possible for two apps on the same heroku account to access the same RedisToGo Server? We have two apps that both need web access but have very different structures. So they can't be dyno types in the same app - but it would be really nice if one could queue jobs via Redis for the other to do.

like image 512
Eman Avatar asked Jun 10 '12 06:06

Eman


People also ask

How many apps can you have on Heroku?

Maximum number of apps Unverified accounts can create at most 5 apps. Verified accounts can create no more than 100 apps.

How many projects can I host on Heroku for free?

A 'Free' tier Heroku account allows up to 5 apps.

How many requests can Heroku handle?

Direct from the Heroku dev center: A single-threaded, non-concurrent framework like Rails can process one request at a time. For an app that takes 100ms on average to process each request, this translates to about 10 requests per second per dyno.

Is Heroku free forever?

Maximize your free platform services Get 1000 free dyno hours by verifying your Heroku account with a credit card; unverified accounts receive 550 free hours. You will not be charged, unless you decide to use a paid service.


1 Answers

Yes, just use heroku config on the app that has redistogo in it and look for the REDISTOGO_URL config variable and then copy the value and then create a heroku config variable in the second app setting the same value

heroku config:add REDISTOGO_URL=<value_from_app_a>

like image 71
John Beynon Avatar answered Nov 03 '22 00:11

John Beynon