Skip to main content

Questions tagged [heroku]

The tag has no usage guidance.

0 votes
1 answer
575 views

Race conditions in API calls within Golang microservices

I have a microservice architecture running on Heroku. I am having some problems handling race conditions. The problem is, that service A: Needs to fetch the user's balance through an API call to ...
Harald Nordgren's user avatar
0 votes
1 answer
468 views

Heroku request timeout vs Nodejs architecture

At this link (https://blog.heroku.com/timeout-quickly#how-webservers-work), I read: All webservers will work in a similar way. Any new request will go to a queue, and the server will process ...
prmph's user avatar
  • 111
4 votes
1 answer
429 views

How to ease the pain of lack of diffs when using database migrations?

The pain that I've often felt when creating database migration files, is best described in this Speakerdeck: Sane Database Change Management with Sqitch. Paste entire function to new "up" ...
Christiaan Westerbeek's user avatar
2 votes
0 answers
342 views

Are there any advantages of Cloud SQL Proxy over a DBaaS?

I'm currently migrating an app from Heroku to Google Cloud Platform (GKE and Cloud SQL). With Heroku, I've become used to the incredibly simple practice of defining a DATABASE_URL and letting their ...
Michael Hays's user avatar
-5 votes
1 answer
174 views

What should I use columns for, and what should I use rows for in SQL? [closed]

In SQL, what's the standard convention for what rows and columns should be used for? For instance, if I need to make a table of users and their data, which axis (rows or columns) should be the users ...
clickbait's user avatar
  • 211
1 vote
1 answer
3k views

Is there a way to control a looping Python script with Heroku?

I have a Python script that continuously makes GET and POST requests to a third-party API at about 1 request per second. It uses a while loop, so the requests all come from the same process. Currently,...
Michael Hays's user avatar
1 vote
2 answers
260 views

Stateful server on heroku

I'm building a multiplayer trivia game where the server is written in NodeJS and hosted on Heroku. I ran into a problem when the server should notify the users that time's up for answering a question ...
Ephi Gabay's user avatar
3 votes
3 answers
230 views

Why should I purchase an SSL certificate for custom domain?

After reading Heroku articles, Stack Overflow questions, and the Stripe payments integration guides, the general advice is that I should should purchase an SSL certificate for my custom domain that ...
sealocal's user avatar
  • 873
3 votes
1 answer
751 views

Rails Google Cloud Messaging with heroku

I'm looking at using GCM to send notifications from my rails app to an Android app. The getting started guide says: In the resulting configuration dialog, supply your server's IP address. I'm using ...
settheline's user avatar
1 vote
2 answers
210 views

how do you manage api keys?

I have a few projects that use various webservices e.g. DropBox, AWS. For managing private information I use bash_profile which works great with heroku that uses env variables to manages secret ...
Lukasz Madon's user avatar
  • 1,496
1 vote
2 answers
4k views

What is the best way to build a static page web site from a JSON API?

I have a JSON API that includes some discusssions. I want to build a static html site on another server, pages that are built from data on that API. I am more comfortable using Rails than Node. The ...
kurtybot's user avatar
  • 157
0 votes
1 answer
616 views

Listing dependencies in the package.json for a node.js app on Heroku

I previously had an issue with my node.js app on Heroku. I added the dependency into my package.json and now it is working. But, is this the best way to do it? { "name": "application-name", "...
JGallardo's user avatar
  • 101
3 votes
1 answer
458 views

Rails + Heroku Architecture

I'm in the process of developing a Rails app that I plan on subsequently deploying to Heroku. I've never run apps on Heroku (outside of the free simple app) so I have some questions on a few things on ...
Justin Chmura's user avatar
51 votes
4 answers
40k views

How does one handle sensitive data when using Github and Heroku?

I am not yet accustomed with the way Git works (And wonder if someone besides Linus is ;)). If you use Heroku to host you application, you need to have your code checked in a Git repo. If you work on ...
Jonas Schmid's user avatar