Forum Moderators: phranque

Message Too Old, No Replies

Bandwidth Questions.

         

PokeTech

5:11 pm on Mar 8, 2009 (gmt 0)

10+ Year Member



My site allows users to log in and change different settings to change images I make using PHP, GD library, and Mysql. I'm wondering if it would save bandwidth and CPU to only update the images every 10min rather than every time someone makes a change.

maximillianos

5:35 pm on Mar 8, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think it depends on how you app is designed. We would need more information in order to give relevant advice.

For instance, do the users need to download and reupload an image during the process. Or are you just taking change requests and the server manages the alteration. Telling us a little more about how the app works might help stir up some suggestions.

But in general, hatching changes together is typically more efficient.

PokeTech

5:56 pm on Mar 8, 2009 (gmt 0)

10+ Year Member



Well If I have 2 tables user_images and user_images2 (or something like that) and the user_images is updated whenever the user inputs new information and the user_images2 is updated every 10min with the information in the user_images table.

The image would be on my site/server so like: mysite.com/image.php?id=1 and the image would get the information from the user_images2 table which is updated every 10min.

Would that also save CPU and bandwidth?