Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Automatic Cross-Server File Storage
Old 06-02-2005, 04:52 AM Automatic Cross-Server File Storage
HitSnapper.com's Avatar
Extreme Talker

Posts: 154
Location: England, UK
Trades: 0
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
HitSnapper.com is offline
Reply With Quote
View Public Profile Visit HitSnapper.com's homepage!
 
 
Register now for full access!
Old 06-02-2005, 06:15 AM
Marvin Le Rouge's Avatar
Skilled Talker

Posts: 52
Trades: 0
On first sight, i think i would make something like store new file on server number (file id modulo server number), and store this "where's the image" number in database, so no problem when modifying the number of servers.
Marvin Le Rouge is offline
Reply With Quote
View Public Profile
 
Old 06-02-2005, 07:41 AM
HitSnapper.com's Avatar
Extreme Talker

Posts: 154
Location: England, UK
Trades: 0
But would you use ftp to store the file or, as someone mentioned on my webmaster forum, "NFS mount disks from other servers, as you can often share bandwidth allocation between servers, alternatively round-robin the DNS and have the script on all the servers."

Thanks for the reply

Craig
HitSnapper.com is offline
Reply With Quote
View Public Profile Visit HitSnapper.com's homepage!
 
Old 06-02-2005, 01:06 PM
Marvin Le Rouge's Avatar
Skilled Talker

Posts: 52
Trades: 0
I never used the technique you're talking about, so i wouldn't be of any advice.
Marvin Le Rouge is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Automatic Cross-Server File Storage
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20035 seconds with 12 queries