Hi, I'm going to publish my first free Android app to improve the schedule bus in my city. My app needs an API so I need a backend server. Since I won't have revenue for my app, I need a free hosting.
My requirements are the next:<p>* MySQL database (or similar). Less than 10 MB.<p>* Cron. One task per day (less than 5 minutes per task).<p>* My backend is written in PHP. But I think I could translate into Python.<p>* No storage needed (just for the source code, a few json configuration files
and the database). No photos, no images, no videos.<p>* Traffic. This is quite difficult to predict. Some context:<p>My city has approximately 80000 habitants.<p>I'm using Android >= 3.0. So this reduce the total amount of
potencial users.<p>Ideally the app just has to connect once a day, the data will
be stored locally.<p>The total size of the downloaded data (json files) is
about 10kb (two or three requests).<p>Ideally the user will use the app like this: wake up in the
morning, check the arrival time for the next bus to go to work
and at the end of the day check again the arrival time to
go home (very simplified, but the average user has the same routine:
home->work->home). Anyway, just one request in the day is needed because
I store the downloaded data locally.
There is another use case where the user sends data to the server. I'm not going to
explain it, but the data sent is just text (an arrival time)
and is optional.<p>There is just another app like mine in my city but,
in my humble opinion, mine is better :)<p>I have never used GAP/Heroku and I've read the usage and billing for both, but I'm still a little lost.<p>Thanks and sorry for my English.
I would recommend GAE. It is a pretty good fit for what you are describing, and best of all, it has a very reasonable free tier that never expires.<p>I have only ever used python on GAE. PHP at the moment only accepts whitelisted applications.<p>Their database is NoSQL, but it does have a query language called GQL which shares some features and syntax of SQL.<a href="https://developers.google.com/appengine/docs/python/datastore/" rel="nofollow">https://developers.google.com/appengine/docs/python/datastor...</a><p>GAE has cron jobs which can run for up to 10 minutes. <a href="https://developers.google.com/appengine/docs/python/config/cron" rel="nofollow">https://developers.google.com/appengine/docs/python/config/c...</a><p>Applications are limited to 1GB of source files. It seems like this will be no problem for you.<p>You are limited to 1GB of data/day for free, $0.12/GB after. For you application, that's 100,000 requests/day.<p>It looks like Heroku wants to charge if you want more than 10,000 database entries.<p>Your English is great.