Database and Ajax
Younger brother recently want to try to write a network chat room, encountered a chat record storage problems. Kazakhstan exists database Well, my classmates let me exist in the file and then the way to read Ajax, he said that the existence of the database will have a large impact on performance, so want to ask, is directly present in the file or the existence of the database, or you prawns have what with a good way to teach Oh, younger brother greatly appreciated
------Solution--------------------
It's good in XML.
------Solution--------------------
Open the database to hold the data directory, you will see a file. So, the database is also the data stored in the file
Since it's all written and read, how much does it affect performance?
------Solution--------------------
Personal feel that the file is less than the database performance (the chat room estimate can not be seen, the amount of data is a big feeling)
Just the content of the chat room is a temporary session, so feel no need to save the database!
You can do it with XML!
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