Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
concurrency control in MySQL,PHP based apps

 
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum
Author Message
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: concurrency control in MySQL,PHP based apps Reply with quote

Friends,
I don't know if this is the right forum to put this topic, if not then sorry.
I want to know in linux environment how to handle concurrency of PHP,MySQL based applications? Do I have to handle concurrency issue in coding or linux handles this by default? What will happen when simultaneous requests will take place when it will be up in the server?
Another issue is after I develop an application using PHP,MySQl then what next? I mean to say ishow to up it in server, where to put the database,...
Looking forward for help in this any link,tutorial, will be a great help.
Sat Oct 02, 04 4:37 am
Back to top
tanveer View user's profile Send private message
hasnut
Expert User
Expert User


Joined: 28 Aug 2004
Posts: 201

Post Post subject: Reply with quote

you can look at this
http://www.itu.dk/people/jcg/WP/Conc/www/index.html

But if you are really new in php/mysql based system then you don't need to much worried abut concurrency control of your system.

In practical life there are really small amount of people have expreance with say 1 milllion of users at a time for a site, where concurrency issue is importent.

Quote:

Another issue is after I develop an application using PHP,MySQl then what next?


upload your files by ftp for that you need ftp access(username/pass), setup mysql database and for that you need hostname username and pass
_________________
Sarder Hasnut
MCSD, CIW A

Need Low Cost Prefessional Hosting Contact me
Sat Oct 02, 04 9:09 am
Back to top
hasnut View user's profile Send private message Visit poster's website MSN Messenger
hasnut
Expert User
Expert User


Joined: 28 Aug 2004
Posts: 201

Post Post subject: Reply with quote

Have a look at this issue
http://www.eecs.tufts.edu/~stauber/mycomp20/php_dangers.php3

But you will rarely fall in such issue with php with myslq database.
_________________
Sarder Hasnut
MCSD, CIW A

Need Low Cost Prefessional Hosting Contact me
Sat Oct 02, 04 9:36 am
Back to top
hasnut View user's profile Send private message Visit poster's website MSN Messenger
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: Reply with quote

hasnut,
Thanks a lot. It was a great help for me to clarify things.
It's almost a year I am working with PHP,MySQL and read many books but never found this concurrency issue in any book.
All I know was if I use persistent connection(mysql_pconnect) then it can handle upto 100 client requests simultaneously,by default. But can extend this number by editing in config file.
I came up with this question in a recent interview of mine with a bunch of idiots who were asking such questions.

Thanks anyway.
Sat Oct 02, 04 9:57 am
Back to top
tanveer View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group