pambo Posted April 17, 2009 Share Posted April 17, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/154568-mysql-connections/ Share on other sites More sharing options...
jackpf Posted April 18, 2009 Share Posted April 18, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/154568-mysql-connections/#findComment-812867 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.