Hello,
this is a bit half php half MySql and i do not exactly what title to use, but anyways …
I plan a heavy application (such as a browsergame) and i want to collect basic informations.
I have planned quite a bit, but i dont know how much i can ask per request.
What is a maximal amount of sql querries per Filerequest or the amount that should not be exceeded.
How much time should a request took.
What size can the session take (maximal recommend??) how much data should i save to the session. Should i cache repeated sql querries to the session or querry the data everytime i need it?
I think that 20 Sql querries per normal request and about 50 sql querries for login / initialization is ok, but i have no experiences with that. So i hope you can tell me some limits, experiences.
I know that it also depends on the server, i do not have a high end performance server and I plan with about 50 – 150 users online at the same time. So we can think of normal hardware – in worst case it is a virtual server with low hardware …
Here are some of my thoughts:
100 users, each user makes every 5 seconds an action.
That means we have to handle 100 request in 5 seconds or 20 Requests per second.
That just means, there is only 50ms “worktime” left for each request. Thats not really much… So how much PHP and MySql-Querries are 50ms?
I hope you can help me out. Maybe I have some false thoughts