[erlang-questions] setting up a VPS for dedicated erlang server
Tue Feb 28 17:28:46 CET 2017
512Mb RAM ($5/month or less) is enough to process a few million hits/day if
you don't have a lot of data in the database. I recommend DigitalOcean and
OVH vps' to my customers. OS - debian/centos/ubuntu, does not matter much.
One caveat: assuming you use cowboy, you can't process all these hits in
the context of webserver processes, because by default there are too many
of them. You'll need a dedicated pool of 20-100 processes which will do all
the heavy logic. Also I'd recommend to run gc:collect for all processes
every 3-4 minutes, this would help to purge large binaries and won't slow
down the system too much.
2017-02-28 19:14 GMT+03:00 Joe Armstrong <>:
> I was considering setting up a dedicated Erlang VPS for a small web
> site with a few simple Erlang applications.
> I was looking at the various hosting packages - and have to choose
> the amount of memory I need - any ideas how much resident memory I
> need to run a smallish server.
> I guess all I need is an OS + Erlang - what is a suitable choice of
> OS? - Do i really need GBytes of memory - it sounds a lot to me.
> Any advice on VPS providers?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions