Anyone has experience with VPSDime? The benchmark results look nice, and you get 6gb with 4 (virtual cores) for 7 dollar.
Currently I have one production projected hosted on Heroku, mostly because I don’t want to be bothered with database settings, backups etc. However, given that it’s fairly easy to deploy Elixir apps with exrm/distillery, and Heroku is pricey (25$ for a simple dyno + 50$ for database) I think that you get better ‘bang for bucks’ with:
Managed PostgreSQL from compose.io with Amazon EC2. Unfortunately they’re not offering PostgreSQL hosting in DO datacentres (as they do with MongoDB), to seriously cut costs
The big caveat here is of course that it’s hard to say anything meaningful about the performance of each of the database offerings compared to the monthly price.
I have had a VPSDime account for a while. I have had no down time (other then the time bellow). It has been surprisingly fast. I may have gotten lucky so far. The only reason I do not use it more is due to the TOS and https://vpsdime.com/aup.html. I know a lot of people and including me who have had their servers suspended due to too much load or usage. And it took a few days to prove that the TOS was not breached.
Would not use for production just quick test. I have been a fan of Openshift I have used this cartridge once before. https://github.com/wozniakjan/erlcart
And here’s a pretty detailed overview of what you’re getting with Heroku. The flip side of this is that with Elixir you don’t get the ability to cluster from Heroku, so that’s something to keep in mind.
I’m really curious how Packet.net’s Type 2A machine performs with Elixir. It’s a monster with 96-core ARMv8 with 128 gigs of ECC memory and 20 Gbps network throughput for ~ $370 / mo.
What kind of amount of RAM may a simple, low-traffic Phoenix web app/website, released with releases, using PostgreSQL require?
I’m going to need to put the start of my first client Phoenix project online soon, and I’m currently looking at running OpenBSD or FreeBSD on one of these bare metal/dedicated providers in Amsterdam:
https://www.packet.net/bare-metal/ (Type 0)
8-core @2.4GHz
8GB RAM
€33.06 per month plus bandwidth at $0.05 per GB which won’t cost much at all in my case; the next step up (Type 1) is €268.80 per month, and I was surprised not to see something in between.
I like these two cloud options because they’re in Switzerland (hot on data privacy, though to be honest that’s not the highest priority in this case as my projects aren’t sensitive in nature), but perhaps it would be better for me to pay a little more for a dedicated/bare metal server and have more headroom for running multiple apps. Also, I understand BSD developers recommend avoiding running virtualised.
Dokku looks amazing, unfortunaly i did not make it work with Phoenix app. Hope next time i try i could, actually im doing deploy in my server manually .
Anyway, coming from Heroku i am using Digital Ocean now in $20/month plan and are doing ok with my application that have around 100 requests per minute, in the moment it uses around 27% of memory ram. Im using heroku database yet so is just Phoenix app running there.
Another $20 is for Cloudflare that saves a lot of bandwidth(75+%).
So the 2GB of RAM is plenty for your app - cool. Are you running via releases or running the app using system-installed Erlang and Elixir, and do you know if this makes any difference to RAM usage and performance?
I run manually using system-installed Erlang and Elixir. Can`t say if performs better with releases or not, need to found a decent tutorial to implement a deploy process, do this process of stop server, update things, start server is boring.