Jump to content

MySQL Connections....


pambo

Recommended Posts

Hi, 

 

I have never worried about the number of simultaneous connections to a MySQL database before, as the sites I have made so far weren't targeted for very many simultaneous users. However, I am dealing with a site now, whereby potentially thousands of users might be on at once. The application I need is very specific - i need to count the time that each user has been on the site and store it in the database.  Is this possible? What happens when too many users are connecting to the database at once??   

 

Thanks in advance for any insight to this!! 

 

Pambo   

Link to comment
https://forums.phpfreaks.com/topic/154568-mysql-connections/
Share on other sites

What happens when too many users are connecting to the database at once??
Well...it'll probably overload.

 

If you are that conserned about database usage, you could use SQLite for this particular function, rather than your mysql database, or your main database, whatever that may be.

 

SQLite is pretty fast and able to cope with a lot of connections. May be a better option.

Link to comment
https://forums.phpfreaks.com/topic/154568-mysql-connections/#findComment-812867
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.