![]() |
Upload attachment to external server
I was thinking if it is possible to write a script to allow uploading the attachments/images to external or another server using cdn.maindomain.com
It would be great as will not use much time in restoration and back up process if files are stored in different ftp server. I wish some coders can do it. |
This would be a great idea.
|
So, I know its possible, but what is the advantage?
You need some basic resources to be stored on the remote server as well. attachments are currently served via php. Which means attachment.php and its required files would also have to be stored on the remote server, and a remote db request would have to sent as well. |
Quote:
|
That sounds like a bad idea.
|
There is a safe way to implement this idea. How likely anyone is to make it for vBulletin.org is another question.
|
Quote:
|
I need this
|
There really is no need to do this, if you are having server issues due to images, it's time to upgrade the server, not look for band-aids to put on it.
|
Quote:
I use a setup like this, since two or three high resolution images are usually attached to every post, and during the week we have around 500 posts per day with pictures. We unfortunately had to use this kind of setup, but I would not carry over the complexity we added -- and have to maintain -- to the other boards I run. |
I think it would increase load times as well having to pull your data from a remote host instead of the local server.
|
Quote:
|
Quote:
|
Quote:
After reading it over, I should have started my reply with "I agree with you". I was really trying to explain why I needed such a monster and that for most people it is total overkill. I did not even get into the fact that we run a modified version of PHP where we run our caches in a common static memory module, so they do not have to be refreshed or rebuilt every page. All of this was done just to get back some of the performance loss you were indicating. Your input is always welcome. :) |
It's all good friend! Not like I was mad or anything. :) All good points and good discussion.:up:
|
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|