Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #61  
Old 11-15-2009, 11:28 AM
RCA RCA is offline
 
Join Date: Mar 2003
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

move completed:




is easy code a php script to capture files from one server and move to others (i do in original upload process), vb 3.x only needs avatars and profilepicture if remember correctly, all other files and images are full static.
Attached Images
File Type: gif scdn1.gif (13.9 KB, 0 views)
Reply With Quote
  #62  
Old 11-15-2009, 04:12 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RCA View Post
is easy code a php script to capture files from one server and move to others (i do in original upload process), vb 3.x only needs avatars and profilepicture if remember correctly, all other files and images are full static.
That is not what I asked about.

I specifically said in my post "capture a 404 error on one web server and the retrieve the missing file from another web server...." (and then serve it on the first server, of course).

This is non-trivial.
Reply With Quote
  #63  
Old 11-22-2009, 06:07 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the first time I have heard about SimpleCDN and its game-changing "mirror bucket" feature. I definitely am eager to try this out, as I have just switched our Big Board (1.5 million posts, 40,000 users, around 200-300 concurrent a peak) from a dedicated colo over to the Cloud, and would love to migrate all of our static content off of the server.
Reply With Quote
  #64  
Old 11-22-2009, 06:15 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaelon View Post
This is the first time I have heard about SimpleCDN and its game-changing "mirror bucket" feature. I definitely am eager to try this out, as I have just switched our Big Board (1.5 million posts, 40,000 users, around 200-300 concurrent a peak) from a dedicated colo over to the Cloud, and would love to migrate all of our static content off of the server.
Give it a try! We get around 4,000 to 4,200 peak users these days, and are reasonably happy with SimpleCDN, but they do "hiccup" from time to time. In the beginning, their team told me it was because of some DDOS attacks against their EU nodes. They told me all that would be resolved in Sept.

September has come to pass, SimpleCDN will not respond alas!

Wake me up, when November ends :-)
Reply With Quote
  #65  
Old 11-23-2009, 01:09 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am definitely going to try an upload bucket and see how things go in the short-term before delving in too deeply.

Do you have a back-up plan for when SimpleCDN is on the fritz? Or does your site suffer, and then basically you're stuck with what has come to pass?
Reply With Quote
  #66  
Old 11-23-2009, 02:46 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaelon View Post
Do you have a back-up plan for when SimpleCDN is on the fritz? Or does your site suffer, and then basically you're stuck with what has come to pass?
We CNAME alias our Simple CDN mirror buckets and use a short TTL in the DNS. So, if there seems to be a prolonged hiccup with Simple CDN we just repoint the CNAME to our origin server and bypass SimpleCDN until the problem is fixed.

If you host your own nameserver, you could easily automate this.
Reply With Quote
  #67  
Old 11-23-2009, 07:09 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
We CNAME alias our Simple CDN mirror buckets and use a short TTL in the DNS. So, if there seems to be a prolonged hiccup with Simple CDN we just repoint the CNAME to our origin server and bypass SimpleCDN until the problem is fixed.

If you host your own nameserver, you could easily automate this.
This is fascinating. I've already gotten a single Upload Bucket and created a CNAME alias to point to it, for the specific static stuff that I want to serve. I'm thinking of creating a Mirror Bucket for the dynamic-CDN, but I have a lot of directories that have dynamic content in them:

/gallery/files <-- all of my user uploaded galleries
/forums/customavatars <-- custom avatars
/forums/customprofilepics <-- custom profilepics
/forums/signaturepics <-- custom signaturepics
/forums/thumbs <-- generated thumbnails
/forums/albums <-- uploaded albums
/links/banners <-- uploaded banner images
/forums/images <-- all of my other static forum images

What do you think the best way to create a dynamic-CDN "Mirror Bucket" for these would be? Should I change my hierarchies? So far, SimpleCDN is working like a charm.
Reply With Quote
  #68  
Old 11-23-2009, 07:18 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaelon View Post
What do you think the best way to create a dynamic-CDN "Mirror Bucket" for these would be? Should I change my hierarchies? So far, SimpleCDN is working like a charm.
We have to be "speaking the same language" first. I don't know what you mean by "Dynamic CDN" when discussing in terms of Mirror Bucket. Every file can be updated based on the cache configuration of the CDN, and any file not found in the CDN cache will go to the original server to get it.

So, your directory for the CDN mirror will MIRROR your origin site.

We use two Mirror Buckets, one for images and the other for clientscript and CSS files, but that is not necessary and we paid for an extra CNAME alias. That way we could track the usage for the clientscript differently from the images.

It is simply a Mirror, so you can Mirror in as many virtual buckets as you like.

Also, if you need to update some javascript, you can delete the script from the CDN cache in the user admin control panel.....
Reply With Quote
  #69  
Old 11-23-2009, 07:29 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I think I understand this. So, for example, I could have one mirror bucket that basically mirrors my entire domain, but it will only fetch the content that is requested of it. So, does this mean if it is asked to produce /forums/images/21.gif, it will create the forums and images directories for me, and handle everything on its own? If so, then, I suppoes I should be fine with just one mirror for my entire domain given that I have so much user-generated content spread throughout all of my services.

1. Is there any security with SimpleCDN to prevent hot-linking (and thus, raising your bandwidth bills)?

2. How often do Mirror Buckets refresh or update images? For example, if a user uploads a new signature that overwrites the old one, will it be updated?

3. How do you recommend using the no-cache header linking options for your buckets?
Reply With Quote
  #70  
Old 11-23-2009, 10:22 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kaelon View Post
1. Is there any security with SimpleCDN to prevent hot-linking (and thus, raising your bandwidth bills)?
No, not at this time.

Quote:
2. How often do Mirror Buckets refresh or update images? For example, if a user uploads a new signature that overwrites the old one, will it be updated?
If a user uploads a signature, the signature resides in the database, so that is not a CDN issue. The CDN does not work for PHP files that access the database. If you are talking about images in the signature, I think you will find that new signatures, like avatars, get a new (version) number appended in the name of the gif.

Quote:
3. How do you recommend using the no-cache header linking options for your buckets?
We cache all our image and client content to the maximum number of days. This is configurable in the CDN admin panel. This overrides the no-cache header information in your files, as I recall; I suggest you open a ticket with SimpleCDN and ask them questions about how they deal with headers, cache, etc. That way you get the info directly from them.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:01 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
  • Page Generation 0.04202 seconds
  • Memory Usage 2,287KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete