Answer the question
In order to leave comments, you need to log in
What are the arguments against the back-end for a mobile application in php?
We plan to write a backend for the system, which consists of three parts:
1) Mobile application
Calculation for 500k active users. Each of them makes 10-15 hits to the server per day. A persistent connection between the application and the server does not hold.
2) Interface for tracking statistics
There are fewer hits (1000 per day in total), the emphasis is on unloading from the database and processing a large amount of data.
3) Access to the VK server (API): approximately 20k hits per day.
The database is estimated in millions of rows, while it is difficult to calculate the exact number.
QUESTION:
Interested in programming language recommendations in the context of workload and potential scalability?
In general, any recommendations (what to look for) are welcome. If the description is not detailed enough, write - we will add it.
Answer the question
In order to leave comments, you need to log in
If this is a commercial development, then use the PL that you know better.
I use php to implement restfull api for mobile applications. The flight is normal. In terms of loads, there is not much difference, I'm afraid your main problem will be database optimization and caching.
Considering the PHP tag, I will assume that this language is the most famous. Write on it. 500kyu * 10-15 ~ 10M / day load is quite lifting for PHP even from one server.
I highly recommend that you immediately work out the API with mobile users and think over the architecture (at least at the level of the URL structure). Otherwise, you can run into a rake with updating the client and API versions.
The only argument against PHP in your situation may be that you know it worse than another language. But if you know PHP best, do it in PHP.
It's easy to scale - a balancer on nginx or HAProxy, behind which the required number of servers with PHP. In the case of scaling to several servers, you just need to keep in mind that if you use sessions, then you need to store them not locally in files.
The execution speed of PHP scripts can be increased by an accelerator (for example, APC).
As for the execution of long tasks in the background - you can run scripts by cron, you can use the queue manager (RabbitMQ, Gearman, ...).
PHP is not a good fit for you if you plan to do SOA or worker queues. In PHP, it is difficult to implement services (in the sense, unterminated processes), and they turn out to be quite resource-intensive. Also, PHP is not very suitable if you plan to actively interact with the external environment - exec () decently loads the processor.
It is impossible, because there is a search. The same should be the head.
If not, what do you want? Ready options? Why the hell are you on the web then?
Do you want to write yourself? What is the problem then?
5 seconds to google search codepen.io/tmrDevelops/pen/myVwKE Do some digging
and get codepen.io/search?q=css+menu&limit=all&depth=every...
Yes, of course you can.
Hold on: nettuts.s3.amazonaws.com/819_megamenu/demo/index.html
CTRL+U or F12
You can get by with one css and html.
Here is the link www.feko.com.ua/templates/feko/shop/default/css/st...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question