in reply to Keeping MySQL connection parameters in a safe place
Ok this is pretty cool.. I think I need to using something like this. My question.. this hits the disk, so.. performance - If I need to query a table every time a user logs in, etc- this creates an expensive disk operation, right?
If 20 people log in per minute, or if every time a user does something I need to perform some kind of query to the db, then.. won't reading from disk for a db connection sort of slow things?
Maybe I'm missing something here- maybe I should be looking into opening a db connection for a user's session and not closing it somehow ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Keeping MySQL connection parameters in a safe place
by tirwhan (Abbot) on Dec 27, 2005 at 19:42 UTC | |
by leocharre (Priest) on Dec 28, 2005 at 15:25 UTC | |
by tirwhan (Abbot) on Dec 28, 2005 at 16:00 UTC |