A
Anonymous
Guest
Please provide feedback regarding this concept.
Purpose:
To minimalize server resourcse.
Concept:
If web users are pulling the same data commonly from a MySQL database, check to see if the queried data exists in a session file, if the data does not exist: store the common queried data in the session file. Finally, use the session variables with the queried data instead of subsequent calls to the database.
Performance:
This would absolutely minimalize subsequent calls to the database. But, what negative effects might happen? The main questions is..."Will this create a performance boost?" and "Do session files require more processing/bandwidth/etc than Mysql queries?".
Thank you
Purpose:
To minimalize server resourcse.
Concept:
If web users are pulling the same data commonly from a MySQL database, check to see if the queried data exists in a session file, if the data does not exist: store the common queried data in the session file. Finally, use the session variables with the queried data instead of subsequent calls to the database.
Performance:
This would absolutely minimalize subsequent calls to the database. But, what negative effects might happen? The main questions is..."Will this create a performance boost?" and "Do session files require more processing/bandwidth/etc than Mysql queries?".
Thank you