0
Summary: what alternative would "save" the server? Save a huge array in a Session (name, email, Cpf, city etc) or always make a query in the database (mysql) when you need information (considering that every second hundreds of queries are being performed)?
I never had to worry about this kind of thing, but now I have a client who has a site with more than a thousand simultaneous accesses and the server is terrible (I already suggested changes, new servers/ services and everything was barred), it is always falling. So I’m concerned about a system that I’m developing. Basically, this system deals with user registration and consultation of users in the database. Since the server is already bad, I don’t know which alternative (Session or db queries) would be "less worse".
On the duplicate: no answer to the question was conclusive and the author also said nothing.
Possible duplicate of Session vs Database Query
– rbz
In fact, I believe the question is based on opinions. It seems to take each answer according to a different point of view.
– Wallace Maxters
The same is to have a server that includes the application. Doing half-assed patches is a bad way to try to save money (I know, sometimes it’s the fault of the "manager").
– Wallace Maxters