![]() |
|
Thread Tools |
#1
|
|||
|
|||
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. No members have liked this post.
|
#2
|
|||
|
|||
This would be a great idea.
No members have liked this post.
|
#3
|
||||
|
||||
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.
__________________
Looking for ImpEx?
No members have liked this post.
|
#4
|
|||
|
|||
Originally Posted by Zachery
If the contents are served using remote db, isn't it vulnerable? I wanted to use ftb server only.Well, the advantage I thought is "won't need more time to restore the main db, in-case I need to change the webhost.
![]()
No members have liked this post.
|
#5
|
||||
|
||||
That sounds like a bad idea.
__________________
Looking for ImpEx?
No members have liked this post.
|
#6
|
|||
|
|||
There is a safe way to implement this idea. How likely anyone is to make it for vBulletin.org is another question.
No members have liked this post.
|
#7
|
||||
|
||||
There are tons of safe ways to do this, however most of them seem to have a rather large amount of overhead that complicates the entire matter. Esp if someone just wants to store their attachments offsite to avoid "downtime" when moving hosts.
__________________
Looking for ImpEx?
No members have liked this post.
|
#8
|
||||
|
||||
I need this
__________________
My Modifications: Thread Starter Manoel - Random Avatar vB3.x Manoel - Random Avatar vB4.x No members have liked this post.
|
#9
|
||||
|
||||
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.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others. The following members like this post: CAG CheechDogg
|
#10
|
|||
|
|||
Originally Posted by Zachery
I have to agree with @Zachery here. You would know if you absolutely needed a setup like this. The guy that has a cheap host and does not have the storage for attachments, this is not a work-around. No money/time will be saved with this kind of an arrangement in the long-run. In most cases we conjure up these ideas and their complexities, but are they really needed? Who is going to handle the support when things go awry? The question is never can it be done. ![]()
![]() 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. No members have liked this post.
|
#11
|
||||
|
||||
I think it would increase load times as well having to pull your data from a remote host instead of the local server.
__________________
No members have liked this post.
|
#12
|
|||
|
|||
We had to make quite a few adjustments, an advancement to the post cache and a specialized attachment cache -- just to name a few. We were forced to this method due to large attachment processing and manipulating. The average vBulletin owner has really no need for this kind of complexity, maybe a large specialty photo site. I spoke out because I thought @Zachery needed some support on his view/statements. This question seems to pop-up now and then, and I figured I could add some insight.
The following members like this post: RichieBoy67
Last edited by tbworld; 27 Jan 2014 at 00:42. |
#13
|
||||
|
||||
Originally Posted by tbworld
I wasn't questioning you or anything. I was just adding in response to the op. I'm sure you had reasons and it sounds like you made it work well.
![]()
__________________
The following members like this post: tbworld, Manoel Júnior
|
#14
|
|||
|
|||
Originally Posted by RichieBoy67
No worries, I took your response as the good-natured intent that you meant. I am sorry if my response in anyway indicated that I did not. I try to write my responses for anyone reading the thread, the idea was to add additional helpful content that I decided to append to the end of the post. Sorry, I think I confused you in my effort to write to the general audience.![]()
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. ![]() The following members like this post: Manoel Júnior, RichieBoy67
Last edited by tbworld; 30 Jan 2014 at 11:02. |
#15
|
||||
|
||||
It's all good friend! Not like I was mad or anything.
![]() ![]()
__________________
The following members like this post: tbworld
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:21.