Current time: 12-15-2017, 10:42 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CDN List - Affordable and Effective CDN Websites
01-27-2012, 04:58 AM
Post: #31
RE: CDN List - Affordable and Effective CDN Websites
As this thread seems to be a recent discussion about MaxCDN I noticed on their site it now says:

Hong Kong is an Edge Location:

http://www.maxcdn.com/features/network/

Is that new ?

Is that true ? Because I don't see it on the dashboard in the account I ones created. But I do seen it in other places in the account.

I did a quick test and it didn't seem to download anything from Hong Kong. But I could get the cache inspector to download something from the origin server to the Hong Kong server.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-28-2012, 12:24 AM
Post: #32
RE: CDN List - Affordable and Effective CDN Websites
When I first tested MaxCDN, there was no coverage of APAC. Later they contacted me letting me know they were expanding in that area. It requires additional subscription fee as far as I recall, that is likely the reason you don't see it in your control panel.

Marvin
Find all posts by this user
Quote this message in a reply
01-28-2012, 12:39 AM
Post: #33
RE: CDN List - Affordable and Effective CDN Websites
(01-27-2012 01:59 AM)vincej Wrote:  [quote='pmeenan' pid='15915' dateline='1327584784']
Even with a Origin Pull -> Pop Push you would still be hurting unless you got a lot of visits to the same 2000 pages, right? The first person to hit a given page would still pay the CDN populating penalty so it would only benefit someone in another region that needs the same static resources.

Figuring out how to get PoP Push working would make the first visit fast for everybody.

signed up to MaxCDN, great company :-)
ran tests overnight with Origin PULL, yup. no go for my site, first time hit is too large. too many files, too many pages, too much overhead.

Then considered PUSH, till I read that there is a possible lag of 24 hours before the files become available. Aware that is worst case scenario... but still stopped me in my tracks.
scenario: 20 posts added to site, these live immediately on my server, but graphics may not be for xx hours?

I go back to wanting a simple Origin PULL -> PUSH system.

I guess I'll have to use simple web hosting service for my graphic files. I think I can setup a synch system fairly easily, but must know the files will be available immediately.

:-(
Find all posts by this user
Quote this message in a reply
01-31-2012, 05:33 AM
Post: #34
RE: CDN List - Affordable and Effective CDN Websites
(01-26-2012 11:33 PM)pmeenan Wrote:  Even with a Origin Pull -> Pop Push you would still be hurting unless you got a lot of visits to the same 2000 pages, right?

perhaps I should clarify. by Origin Pull -> Push I envision the following.

CDN server is the same for both.
Origin Pull for any files NOT on PUSH server (ie, request, don't have, get from origin otherwise serve file). this would mean the base CDN pull server acts as your storage AND PUSH server, and synchs to edge servers.

In that case, one could prime the PUSH servers with ALL current files, and pulls are ONLY done for new pages/images etc as they are added.
Given that some systems allow for LONG expires (up to a year) this would solve the problem of priming a large site and alleviate the long log on first visits experienced using origin-Pull :-)
Find all posts by this user
Quote this message in a reply
02-01-2012, 12:22 AM
Post: #35
RE: CDN List - Affordable and Effective CDN Websites
(01-26-2012 04:55 PM)vincej Wrote:  In my case, a large site, 4000+ pages, 90,000 images plus css. js.
I found MaxCDN unworkable due to the fact that I have DEEP visits (only 10% to home page, 90% to over 2000 other pages daily).

Vincej,

1. How long did you stay with MaxCDN?
2. What was your cache-to-hit ratio at the end?
3. How long was your maxage/expires?

I think if you set your maxage/expires long, lets say 1 year, for your images, css, and js, over time you would reach better than 90% cache-to-hit ratio.

Marvin
Find all posts by this user
Quote this message in a reply
02-01-2012, 12:42 AM
Post: #36
RE: CDN List - Affordable and Effective CDN Websites
(02-01-2012 12:22 AM)Marvin Wrote:  
(01-26-2012 04:55 PM)vincej Wrote:  In my case, a large site, 4000+ pages, 90,000 images plus css. js.
I found MaxCDN unworkable due to the fact that I have DEEP visits (only 10% to home page, 90% to over 2000 other pages daily).

Vincej,

1. How long did you stay with MaxCDN?
2. What was your cache-to-hit ratio at the end?
3. How long was your maxage/expires?

I think if you set your maxage/expires long, lets say 1 year, for your images, css, and js, over time you would reach better than 90% cache-to-hit ratio.

We did some tests on on what TCP factors(scroll down to "Content Delivery Networks and big sites" section) effect pageload and how CDNs have set them currently.

Basically most CDNs have a very low receive window and they make a new connection to your server for each request, which makes cache MISS expensive.

If you anticipate a lot of cache MISS, then i suggest using fastly AFAIK they do connection pooling and some protocol level optimizations. A cache miss seemed to not have much overhead compared to going direct to origin...

cdnplanet.com: We help you select the right CDN
Visit this user's website Find all posts by this user
Quote this message in a reply
02-01-2012, 01:21 AM (This post was last modified: 02-01-2012 01:27 AM by vincej.)
Post: #37
RE: CDN List - Affordable and Effective CDN Websites
(02-01-2012 12:22 AM)Marvin Wrote:  Vincej,

1. How long did you stay with MaxCDN?
2. What was your cache-to-hit ratio at the end?
3. How long was your maxage/expires?

I think if you set your maxage/expires long, lets say 1 year, for your images, css, and js, over time you would reach better than 90% cache-to-hit ratio.

In past, I had account for about 4-5 months,
For this latest test, just 24 hours each, 12 for a pull testing cycle, and 4 for push, In my case, PUSH has a minimum 2 or more hour lag to LIVE file, so it will NOT work my site. I require LIVE.

I have in both timelines had long expires to 1 month, both on their panel settings, and via http headers from my origin server. In both timelines, I see repeated requests for same file from my server from the cdn pull bot.
I asked specifically if the cdn pull respects all cache headers, and will CACHE and store files according to cache settings.
Answer is YES, it is supposed to.... but it was never mentioned how MANY fiies per customer would get stored.
My guess is there is a cache purge used in order to satisfy many customers. I just seem to get purged often, due to style of site and visitor pattern.

I see a cache/hit ratio of about 70% cached on the average.
Since I had run a test by PRELOADING ALL images at least ONCE to cdn.... by viewing in Opera, for example.... I would have expected 99% if expires and storage settings are respected?
Instead I keep seeing requests for the same images every so often during the day.
Strange thing is. I can feed a direct visitor at lease 4 images per sec off my slow site..... yet the cdn bot seems to take a slow time, like about 2 seconds for each image to grab the same for cdn storage. perhaps thinking time between requests? The result is, obviously a real laggy experience for the visitor.

My logs indicated repeated calls for img files.... and huge lags to visitors overall, even when the images should have been in cdn cache hours ago.

IF the cache and storage really DID hold files for the specified expires period..... I'd be very happy. I could easily set up a pre-loader to prime that cache baby..... but it doesn't stick.

I had been through all these tests months ago when I first used MaxCDN... and could not resolve. I see the same now. Don't need more than 12 hours in the account to test.

I have gone to simple web hosting now, using remote server simply as image server, while running site from my original office machine. This has turned out much more efficient for me... than a cdn.
YMWV (your mileage WILL vary :-)

cheers.
Vince.


(02-01-2012 12:42 AM)sajal Wrote:  If you anticipate a lot of cache MISS, then i suggest using fastly AFAIK they do connection pooling and some protocol level optimizations. A cache miss seemed to not have much overhead compared to going direct to origin...
hey, thanks, I was just reading that page the other day, while doing testing. I'm on a Mac... so I dont' need tweaks to initcwnd do I ? (no idea how to do)

But No... if expires are respected, and storage follow expires, and I pre-load images by priming cdn for guests... I would NOT expect a lot of cache MISS. In fact, during testing I would expect 0% cache MISS if primed.

Thanks for the tip on fastly.. will keep in mind on next growth spurt here.
Cheers.
Find all posts by this user
Quote this message in a reply
02-01-2012, 01:33 AM (This post was last modified: 02-01-2012 01:33 AM by Marvin.)
Post: #38
RE: CDN List - Affordable and Effective CDN Websites
(02-01-2012 01:21 AM)vincej Wrote:  In past, I had account for about 4-5 months,
For this latest test, just 24 hours
...

I see a cache/hit ratio of about 70% cached on the average.

Vince, was the 70% cache-to-hit ratio achieved during the 24 test, or it was achieved at the end of the 4-5 month test?

Each site is different, but in my experience I'd expect about 70% in the first day(s), but after a week or two it should start approaching 90% or better.

Marvin
Find all posts by this user
Quote this message in a reply
02-01-2012, 01:45 AM
Post: #39
RE: CDN List - Affordable and Effective CDN Websites
(02-01-2012 01:33 AM)Marvin Wrote:  Vince, was the 70% cache-to-hit ratio achieved during the 24 test, or it was achieved at the end of the 4-5 month test?

both... short and long-term.
if only fixed assets are used... I would have expected it to remain well about 95% at all times. (not used for dynamic elements)
why it would EVER drop lower than that, I still wonder.
For me it can only be explained by cache-purge cycles much much shorter than set expires.
Find all posts by this user
Quote this message in a reply
02-01-2012, 08:36 PM
Post: #40
RE: CDN List - Affordable and Effective CDN Websites
vincej have you looked at Rackspace Cloudfiles ? They have a storage at Rackspace and they use Akamai as CDN with Origin-Pull from Rackspace servers.

Would that satisfy your needs ?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)