Questions tagged [dyno]

Heroku Dynos are lightweight containers for running apps.

Dynos are isolated, virtualized Linux containers that are designed to execute user code on the Heroku platform.

136 questions
2
votes
2 answers

Heroku dyno redundancy with hobby?

Heroku's Production Check recommends "running at least 2 web dynos" for redundancy. We're currently running one hobby dyno and are about to launch a social-networking app for iPhone. The free & hobby dyno types only support a maximum of one dyno…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
2
votes
0 answers

Heroku - execute a shell command with access to files in ephemeral filesystem

I have a Sinatra app that I have deployed to Heroku. There's a webpage where a user submits a form, it writes some files to a temporary folder, then executes a shell command that has to consume those files that were just written. The problem is…
Teddy
  • 18,357
  • 2
  • 30
  • 42
2
votes
1 answer

Different buildpacks for worker / web dynos on heroku

In my Rails Apps, I use 2 buildpack : $heroku buildpacks === steeple-prod Buildpack URLs 1. heroku/ruby 2. https://github.com/shunjikonishi/heroku-buildpack-ffmpeg but I use ffmpeg only on the worker dyno, not on the web dyno, and I want to use…
Nicolas Maloeuvre
  • 3,069
  • 24
  • 42
2
votes
1 answer

Adding Temporary Dyno for Spike in Traffic to my site (Heroku Rails App)

I am expecting a large increase in traffic tomorrow(press, etc) to my website. I want to be able to manage the traffic without it going down. I know that I have to add dyno's and the cost is not too prohibitive because it is only temporary to keep…
Javier
  • 249
  • 1
  • 6
  • 16
2
votes
1 answer

Heroku, schedule new Dyno sleeptime

With the announcement of the new Dyno pricing on Heroku I had some questions about the mechanics of the new free Dyno. I was wondering if it was possible to schedule sleep time for a Dyno. This way I could make sure that my application is down while…
Noah Huppert
  • 4,028
  • 6
  • 36
  • 58
2
votes
1 answer

do multiple web dynos make sense in a real-time socket.io node.js app?

i'm developing a node.js backend for a real-time chat app on heroku. As i'm looking at dynos and ways to scale the node.js backend, i can see the advantage that dynos could have on http servers because each dyno can be independent from other dynos…
Alex
  • 10,869
  • 28
  • 93
  • 165
1
vote
0 answers

Heroku postgres crached

I want to run some python code from a remote server in order to expose the database in output of this code. Do you have an idea of what is my probleme ? I'm connected to the heroku posgresql apps-on and a dyno. My requirements.txt is ok. My…
1
vote
0 answers

Can't change dyno with Procfile on Heroku

I'm trying to deploy django project to Heroku using docker image. My Procfile contains command: web: gunicoron myProject.wsgi But when I push and release to heroku - somewhy dyno process command according to a dashboard is web: python3 Command…
Kereell
  • 69
  • 7
1
vote
0 answers

What does Herokus metric graph display?

I use Heroku, but I'm either too dumb or am looking in all the wrong places to get info on how the dynos work. I initially thought that a single dyno could run a bunch of different processes simultaneously. But I realized that if that were the case,…
John R Perry
  • 3,916
  • 2
  • 38
  • 62
1
vote
0 answers

How many concurrent connections does Heroku free allow for an app Websocket?

I have the following case: Build a chat with approximately 500 to 1000 connected users for a virtual event (I can't use Zoom, FB or YT), I plan to build it with Express without DB. I was wondering if Heroku Free would support 1000 simultaneously…
Diego Lope Loyola
  • 781
  • 2
  • 9
  • 15
1
vote
0 answers

Dash plotly app with Heroku: works well heroku locally but dosent work propely in production

I have a dash plotly python jupyter notebook app (music) that takes 5 rows as a sample from a bigger dataframe using df_sample= df.sample(5). It has a quiz with inputs to compare the response of the users with the df_sample and take points…
1
vote
1 answer

Heroku 403 Forbidden Error while using Python requests module

I am working on a Django application, currently deployed on a Free Heroku dyno, which consumes the CoWin public API. On Heroku server, the requests.get() method returns HttpResponse status code 403. This is what my API call looks like - headers =…
1
vote
1 answer

How to change the IP address on each Heroku request?

So I'm web scraping Google and am pretty sure it's blocking my requests based on the IP address. I've deployed my app to Heroku (which has dynamic IP addresses when the dynos restart) and I've noticed that if the app is up, after 5 requests, they…
nickcoding2
  • 142
  • 1
  • 8
  • 34
1
vote
1 answer

How to have a variable persist between Heroku dyno/server restarts and new deployments?

I have an array that has a bunch of values that I want to persist between dyno restarts and deployments of new code. In the below example, 'arrayWithValues' is the array that I am trying to have persist, but whenever the server is somehow restarted,…
nickcoding2
  • 142
  • 1
  • 8
  • 34
1
vote
1 answer

Is pinging Heroku to keep free dynos from shutting off illegal/against the TOS?

I've verified my account on Heroku so I have my 1000 free Dynos hours and only one project, and I'm only using the basic dynos. With that in mind, I thought it would be good to ping the server once every 30 minutes to make it so the dynos don't…
nickcoding
  • 305
  • 8
  • 35
1 2
3
9 10