What is the transmission speed of php remote database reading? I have some pages to be mounted to other websites, and then I want to read data from my database to those pages. Will it be slow to read data through mysql_connect? Will there be a big problem? Because I want to purchase products on those pages, and then jump to our back-end payment · & nbsp; ask the master php to solve the transmission speed problem of reading the remote database?
I have some pages to be mounted to other websites, and then I want to read data from my database to those pages. Will it be slow to read data through mysql_connect? Will there be a big problem? Because we need to purchase products on those pages and then jump to our background to make payments ···
Ask for the insights of Masters ···
------ Solution --------------------
To someone else's website, and then read data from my database Remote operations must be slower.
The problem is that the remote operation requires the permission to expose all your data to the other party.
This should not be what you want, because there are
Our back-end payment ------ Solution --------------------
I understand what you mean. you want to show the products on your platform to other merchant websites. In fact, you do not need to open the mysql permission, because it is not safe for others to have the database permission.
You can take a look at other data interactions, such as xml or webserver. you provide them with such an interface, which is much better than you directly grant them database operation permissions.
------ Solution --------------------
If it is not the same data center and the same switch, the speed is very slow. The best way is to make an API interface for the other party to call
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service