I am in the process of (finally) migrating a small heroku app from the bamboo stack to cedar, following the migration guide.
All works well, except I am unable to reinstate the heroku memcache add-on.
Apparently this has been abandoned, or removed, but I cannot find any information about it, is my only option to switch to a different memcache-y add-on? Why did heroku discontinue this add-on?
the day after I submitted this question, heroku notified me and a bunch of other people:
Action Required: MEMCACHE ADD-ON IS SHUTTING DOWN
In the mail, they themselves suggest switching to memcachier, so that's about it.
Related
I have question about Shopify app development and the deployment process.
I've used the getting started guide here, and I have an app that works fine when I use npm run dev and view the app in the store admin.
However, of course, once I stop the server from running, the app is no longer accessible.
I believe I need to deploy the app to Heroku (or something similar) in order to have it work in a non-development environment.
It doesn't seem like there is much guidance online from Shopify about the best way to go about this.
Does anyone know what steps I need to take in order to deploy my app to Heroku, so that I can use the app in by test store on another device?
It seems like every guide online stops JUST BEFORE explaining this process and I can't figure out why! I have tried everything online but nothing has worked:
Adding the code to Github and connecting it to Heroku
Using Docker
Any help is appreciated. Thank you!
You have zero obligations to use Heroku. If you have an IP address dedicated to your house, you could host the App using your house. If you co-locate your own server at an Internet business, and they give you IP addresses you can use that. If you wanted to use Amazon directly, you could use EC2. If you wanted to use Linode, or Azure, or any other cloud service, feel free! It is up to you!
Using Heroku (built on AWS) is traditional only in the sense that it is the original easy peasy hosting in the cloud service. Play with Heroku by reading Heroku-specific documentation or hosting information. This has nothing to do with Shopify. Shopify only mentions Heroku because traditionally, developers used it. No other reason.
If you want to learn how to use Heroku, 100% there are blog posts within easy reach for you to study and learn from.
Is it ok to simultaneously use both Papertrail and LogEntries logging with the same Heroku application, or could that cause issues?
In short: there shouldn't be any issue. As stated in the logplex documentation, there can be as many log-drains as you want, starting just from the CLI, going over to custom log-drains, and addons as you wish.
is there a way to setup Heroku to get a notification you when your config variables are updated?
thanks a lot
sorry for the very late reply, but I spoke with Heroku back then, and they said that it wasn't something that they did at the moment.
Very late to the party here, but just to give an updated answer. Heroku has support for webhooks so you can monitor those + more events on your end.
If you rather not build your own consumption pipeline, consider using LightFlare (I'm the creator) that has out of the box support of consuming Webhooks events from many services (heroku included) and notifies you at your choice(s) of destinations (slack / email etc ...).
LightFlare currently supports monitoring on services like:
Infra: GCP, AWS, Azure, heroku
Code/release: GitHub, bitbucket, netlify
Commerce: shopify, gumroad
More integrations based on our customers asks
I have Meteor application which is run on Heroku platform using 1 dyno. When I increase number of dynos it stops working, reporting some problems with XHR (ERROR 404) on client side.
Does anybody successfully run Meteor app on two or more Heroku dynos? If so, what should I do in order to get it working?
No, unfortunately Meteor does not work on Heroku with more than one dyno. Meteor needs session affinity, which Heroku does not currently offer.
Meteor needs session affinity: Running meteor in a cluster and real-time changes
Heroku does not support session affinity: https://devcenter.heroku.com/articles/intro-for-java-developers
If you want a SaaS hosting provider that supports Meteor and can scale to multiple dynos using session affinity, there is now a CloudBees buildpack which looks promising:
https://github.com/CloudBees-community/meteor-clickstart
Heroku now supports session affinity, which allows it to work with Meteor. It's in labs at the time of writing this, so you'll have to enable it.
https://devcenter.heroku.com/articles/session-affinity
Well, Session affinity (or something similar) appears to be in the roadmap, at the very least. So, the developers anticipating addressing the issue by the time they release version 1.0.
https://trello.com/board/meteor-roadmap/508721606e02bb9d570016ae
Has anyone been able to restore a Redis DB on Heroku? They have instructions for regular accounts, but the "Edit" option is not available through the Heroku dashboard.
http://support.redistogo.com/kb/info/restore-from-a-backup
I beleive we worked on this through the Redis To Go support site I will still answer for others. This feature is only for Direct accounts, Redis To Go is working on releasing the same options for heroku add-on accounts, but for now switching to a direct account is fastest. If you are hooked on heroku, making a support request support.redistogo.com to have your back-up uploaded by the support staff is also an option for you!
-Morgan