php - PDO and mysql_connect at same time - performance -


i working on 7+ year old site made extremely extensive use of mysql_connect/mysql_query. begin tedious project of converting on pdo, cannot afford take time go through entire project @ once.

i have done research , searches , see possible connect 2 @ same time, not able find information on performance hit cause.

am going slow site crawl while connect both methods?

you asked

am going slow site crawl while connect both methods?

no. long

  1. as mysql server configured sufficient simultaneous connections allow 2 each of php pages, and
  2. the queries issue simultaneously 2 connections don't deadlock each other.

this should fine. i've done similar things success.

avoiding deadlock should easy if you're careful overlapping queries same table.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -