Questions about the transfer speed of PHP read remote database

Source: Internet
Author: User
PHP read remote database transfer speed problem?
I now have some pages to hang on to someone else's website, and then to read data from my database to those pages display, if the direct mysql_connect () connection to read the data will not be very slow? Will there be a big problem? Because you also want to buy items on those pages, and then jump to our back-office payment ...
Seek the Master's opinion ...


------Solution--------------------
Hang it to someone else's website and then read the data from my database
Remote operation must be slower, that's all.
The problem is that remote operations require open access, with a slight careless exposure of your data to each other.
This should not be what you want, because there are still payments to our backstage
------Solution--------------------
I understand what you mean, you want to put the merchandise on your platform on the other merchant's website. In fact, you do not need to open MySQL permissions, because the other people have access to the database is not safe for you.
You can learn about other ways of interacting with data, such as XML or webserver, and you provide them with an interface that is much better than the permissions you give them directly to their database operations.
------Solution--------------------
If it is not the same engine room, under the same switch, the speed is very slow, the best way is to do an API interface to each other to let the other side to tune

  • Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.