UK Webmaster Talk - Online Marketing - SEO


 

Automatic Cross-Server File Storage

This is a discussion on Automatic Cross-Server File Storage within the Php and MySQL forums, part of the Programming / Scripting / Coding category; Hi I am currently creating a custom image hosting website and would appreciate your input regarding cross-server file storage. I ...


Go Back   UK Webmaster Talk - Online Marketing - SEO > Website Design & Development > Programming / Scripting / Coding > Php and MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices

Reply

 

LinkBack Thread Tools Display Modes
Old 02-06-2005, 09:52   #1 (permalink)
Moderator
 
Join Date: Mar 2005
Location: Barnsley, UK
Posts: 1,001
iTrader: 0 / 0%
Wistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond repute
Default Automatic Cross-Server File Storage

Hi

I am currently creating a custom image hosting website and would appreciate your input regarding cross-server file storage. I know these types of sites eat bandwidth and take up lots of storage space, so I was looking at implementing a feature where the site could be run over a few servers instead of just one.

If I decided to go with this option, what would be the easiest way to implement it using php? How would I be able to build it into the admin panel where when a new server is needed, I can just add it into the admin panel and set it up there, and images/files are automatically shared between the servers available so as not to overcrowd any of the servers?

Thanks in advance,

Craig
Wistow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 09:55   #2 (permalink)
Moderator
 
Join Date: Jan 2005
Location: post is there >>
Posts: 1,586
iTrader: 0 / 0%
robertall is just really nice
Send a message via AIM to robertall Send a message via MSN to robertall
Default

http://celerondude.com/index.php?a=s&id=1

I recommend the above is you do not yet have a script for the image hosting, i would recommend contacting lewisbeech as he has a free hosting, and i am currently hosting my site on it.
__________________
Free .org domain - Click for details!
Do not pm asking for things. My inbox is full. Add me to MSN!
robertall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 10:13   #3 (permalink)
Moderator
 
Join Date: Mar 2005
Location: Barnsley, UK
Posts: 1,001
iTrader: 0 / 0%
Wistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond repute
Default

Hi

I am creating a custom script, that means I am starting from scratch and coding the script myself.

This is why I need input regarding the cross-server file storage problem.

Craig
Wistow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 10:21   #4 (permalink)
Moderator
 
Join Date: Jan 2005
Location: post is there >>
Posts: 1,586
iTrader: 0 / 0%
robertall is just really nice
Send a message via AIM to robertall Send a message via MSN to robertall
Default

My site is planning to hold images, and i know what you mean by the space, it used up too much bandwidth on robertall.com, so i redirected the site tempory during this time. I would personally not bother to be honest, too much effort, and people take advantage of it as well. That is what happened to 30x30.org in the past...
__________________
Free .org domain - Click for details!
Do not pm asking for things. My inbox is full. Add me to MSN!
robertall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 10:47   #5 (permalink)
Moderator
 
Join Date: Mar 2005
Location: Barnsley, UK
Posts: 1,001
iTrader: 0 / 0%
Wistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond repute
Default

Yeah but as I am creating the script from scratch, I can add features that can curb abuse, such as a BW quota for each member, and when a members pic is shown it uses some of their BW quota, then when their BW quota is used up their images will not show, but a message will instead. The user will then have the chance to upgrade their membership.

Craig
Wistow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 10:48   #6 (permalink)
Moderator
 
Join Date: Jan 2005
Location: post is there >>
Posts: 1,586
iTrader: 0 / 0%
robertall is just really nice
Send a message via AIM to robertall Send a message via MSN to robertall
Default

Yes, but what i am trying to explain is that there are loads of free image hosts out there, and why will they pay for image hosting when they can get it free?
__________________
Free .org domain - Click for details!
Do not pm asking for things. My inbox is full. Add me to MSN!
robertall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 10:56   #7 (permalink)
Moderator
 
Join Date: Mar 2005
Location: Barnsley, UK
Posts: 1,001
iTrader: 0 / 0%
Wistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond repute
Default

They can have it free with my site, but once their free quota runs out they can choose to upgrade, or just wait until 'next month' when their quota renews.

I will also be integrating features into the site that are very useful and very convenient, but more on that later

Craig
Wistow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 11:25   #8 (permalink)
Super Moderator
 
Join Date: Mar 2005
Location: Herts, UK
Posts: 1,030
iTrader: 1 / 100%
monaghan is a jewel in the rough
Default

Assuming you have the servers in the same DC, then why not NFS mount disks from other servers. You can often share bandwidth allocation between servers, alternatively round-robin the DNS and have the script on all the servers.

Depending on where you have the servers, the DC will probably allow a private network using your own hub and 2nd network ports in the server, so any server to server traffic would be "free".

Feel free to shout if you need consultancy
monaghan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 11:40   #9 (permalink)
WMT Addict
 
Join Date: Apr 2005
Posts: 128
iTrader: 0 / 0%
SirJinX is on a distinguished road
Default

Not sure if it's good or not,
but what about using ftp to upload files to a server. and then it randomly uploads to one?
or first file goes to server one, 2nd file server 2, 3rd file server, then 4th file back to the first server... or as many servers as you have.
SirJinX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2005, 11:50   #10 (permalink)
Moderator
 
Join Date: Mar 2005
Location: Barnsley, UK
Posts: 1,001
iTrader: 0 / 0%
Wistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond reputeWistow has a reputation beyond repute
Default

Thanks for the replies.
I was thinking of ftp but is it secure?

Craig
Wistow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
automatic, crossserver, file, storage

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Considering UK Server - any interest in joining me ? monaghan Hosting Forum 4 19-10-2007 07:09
Automatic Links... thecthulhu Php and MySQL 0 02-08-2006 02:21
CGI Permissions - 500 Internal Server Error wwfc_barmy_army Programming / Scripting / Coding 11 23-05-2006 10:21
Automatic RSS Feeds Submitter squeege Ads, Offers & Services 0 30-01-2006 20:15
Anyone running their own server ? monaghan Hosting Forum 5 11-09-2005 20:02


All times are GMT +1. The time now is 18:56.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
UK Webmaster Forum © WebmasterTalk.co.uk | Design by Forbairt

Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41