Answer the question
In order to leave comments, you need to log in
Where and how to deploy the backend for an Android application?
An Android application needs a server, the goal is for the server to transfer a small amount of data from its database upon request from the application. The approximate number of users is 600 per day and will continue to grow. The following interests:
1) Where to unroll this server (it is desirable free of charge)? So far, I'm looking in the direction of the google app engine, what are the pros / cons of this solution?
2) Perhaps it is worth writing a server on sockets from scratch, wouldn't it be too long/difficult? Perhaps there are already ready-made bikes for this task?
3) For the connection itself, as I understand it, it is best to serialize the object using json, and deserialize it on the receiving side
. And yet, it is important that the server needs to be written in Java, since I don’t know other PLs.
Answer the question
In order to leave comments, you need to log in
on the client side, the optimal solution to retrofit
a free server already on 600 users can be problematic, it’s better to use vds
on the server side if you want java, then spring will not be a bad solution
, many also recommend parse.com but I haven’t tried it, I won’t say anything
I do not advise you to contact GAE - you will constantly step on the quota limit, it is not so free, plus the specifics of the platform impose its limitations. RESTful on Spring deployed at https://www.digitalocean.com/ is a pretty good option. As soon as you run into the limitations of a single node, look towards typical horizontal scaling solutions.
if it's cheap, then VPS... I don't see any other choice.
For communication, it is better to use JSON.
For my small project, I deployed a python server for the REST API . Then I look towards parse.com .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question