Current time: 03-08-2021, 02:32 PM 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
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 :-)


(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.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: CDN List - Affordable and Effective CDN Websites - vincej - 02-01-2012 01:21 AM

Forum Jump:

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