Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play framework memory usage

I would like to ask you about your experience with play framework and it's memory usage. The thing is that I'm looking for a hosting for my play project (with Scala) and I'm a poor student so i need something as cheap as possible. I was thinking of renting a cloud server at rackspace with 256mb ram and play on ubuntu-server ed. behind glassfish. Do you guys have any opinions?

Thanls for the answers!

like image 785
Arg Avatar asked Feb 03 '11 02:02

Arg


2 Answers

The basic hosting service on PlayApps.net only has 64Mb RAM and it works very well. As already pointed out, this is what runs the playframework site, and it serves 100,000 requests per day.

I have also run on Google App Engine, and it tends to use around 60-70 Mb. However, I would point out, that if you are running inside a WAR file on Glashfish, you are probably going to have a lot of added overhead that you don't need (all the J2EE enabled stuff that is just not needed).

I would suggest using a lightweight HTTP server sat in front of the standard play server. This will minimise your memory useage.

like image 88
Codemwnci Avatar answered Nov 04 '22 13:11

Codemwnci


Try the play hosting service : http://www.playapps.net/

The playframework website use the basic slot with 100.000 request by day

like image 6
Ricardo Avatar answered Nov 04 '22 11:11

Ricardo