Follow Me on Twitter
Client Support Community Server Status Contact Us Client Login
Email Hosting Website Hosting Reseller Hosting VPS Hosting Dedicated Servers

    Join our Community      Check your private messages       Profile       Search       FAQ       Memberlist       Log in


bandwidth question :)

 
Post new topic   Reply to topic    NetHosted Community Index -> FTP/SQL Support
Z Reply with quote
 NetHosted Customer

 

 Joined: 29 Jan 2005
 Posts: 382
 

PostPosted: Mon Jul 26, 2010 3:04 pm    Post subject: bandwidth question :)
 
Okay, I have an SQL database that is accessed via PHP and retrieves the location of an image on the server.

The PHP code then resizes the image in flight before displaying on the page.

How much bandwidth is used? The size of the original image or the resized one?

And an aside question, does the database lookup carry any overhead on bandwidth? I'm guessing not as it's all local?

_________________
Getting the hang of it slowly (subject to comment)
Back to top
View user's profile Send private message
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 7017
 

PostPosted: Mon Jul 26, 2010 3:12 pm    Post subject:
 
Z,

If all of these access requests are internal to the server then there will be no bandwidth usage.

Naturally when someone downloads the now resized image from your website bandwidth is used. That bandwidth will correspond to the size of the resized image.

Thanks,

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Follow us on Twitter: http://twitter.com/nethosted 
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
Z Reply with quote
 NetHosted Customer

 

 Joined: 29 Jan 2005
 Posts: 382
 

PostPosted: Mon Jul 26, 2010 3:19 pm    Post subject:
 
cool, as I thought Ta.
_________________
Getting the hang of it slowly (subject to comment)
Back to top
View user's profile Send private message
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 7017
 

PostPosted: Mon Jul 26, 2010 3:21 pm    Post subject:
 
No problem

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Follow us on Twitter: http://twitter.com/nethosted 
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
Post new topic   Reply to topic    NetHosted Community Index -> FTP/SQL Support
Page 1 of 1

User Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

 
Jump to: