Jump to content

Would this slow down my website?


mike12255

Recommended Posts

Ok, so basically someone submits a file (doc) and I need to see if it is the same as another file. So instead of opening 300+ files and checking for word similarity, I put the file info into a table called newnotes. Then check the file size for each of the notes in "newnotes" against all of the notes in the table "approvednotes" this could be something like matching 20 file sizes to 300+ file sizes. The user gets returned back to a page and this is all done in backend by the click of a button the admins can use. But would doing this slow down my server/website?

Link to comment
https://forums.phpfreaks.com/topic/225606-would-this-slow-down-my-website/
Share on other sites

Hi

 

Probably be fine. You are only saving a small amount of info and only searching a tiny amount of info.

 

If you do not want to use a database then you could just save the info in an array or object, and save a serialised copy of it.

 

All the best

 

Keith

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.