Thread: The C Board *should* be faster now

  1. #1
    Administrator webmaster's Avatar
    Join Date
    Aug 2001
    Posts
    1,012

    The C Board *should* be faster now

    As of yesterday evening, I've turned on the use of a content delivery network (CDN) for the C Board. This should make it faster for both US visitors (the main server is based on the US) and perhaps more noticeably for non-US traffic, by serving static content from geographically closer locations (such as using a data center in Amersterdam for traffic from Europe).

    This ought to be a seamless transition, other than a slightly improved browsing experience, but if you do see any problems or issues, please let me know!

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    This is excellent news. And also for you I believe, since takes some of the load of your primary server.

    Did a quick check and nothing changed around here (Portugal). But that's probably expected. We connect through one of two exchange points at UK or France (if nothing has in the meantime changed for the past couple of years). The UK exchange gives us a rather good pipe to the US, so that's almost certainly the primary option. Doing a tracert I can see a rather fast and short route from my home to your server.

    Should come very handy though when that server is overloaded, some router in the way is having problems, or our UK exchange is down. Not sure however if this isn't too early to be checking for its functionality. Maybe it needs a few days to settle in.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    I honestly don't know much about CDNs, but I didn't think they would be used for anything like a web forum. I always thought they were more of a high bandwidth kind of thing like streaming video.

    Anyway, good to hear. Though I'm pretty local, so it was nearly immeasurably fast for me, anyway.
    Sent from my iPadŽ

  4. #4
    Administrator webmaster's Avatar
    Join Date
    Aug 2001
    Posts
    1,012
    The forum uses a pretty good amount of CSS and JavaScript, as well as a number of images (including avatars) that can be cached--so it's true that it won't be quite as nice as caching everything, but it ought to still be useful. To Mario F's point about reducing server load, the CDN served 520MB on Saturday from the message board alone.

    I suspect that you might not see as much improvement as you would if you visited from a new computer, since there may also be some browser-side caching as well.

    Regarding settling-in time: the CDN is set up as a "pull" zone that essentially caches any files accessed through it. All CSS, images and JS go through it (if you view source, you'll see references to im.cprogramming.com, js.cprogramming.com, and av.cprogramming.com for images, css/js and avatars), so there is a certain small amount of time it takes to populate the cache. A small number of files dominate the majority of requests, so this doesn't really take too long. (I'm seeing 98%+ cache hits.)

  5. #5
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    I noticed a difference for the better. I'm pretty sure I'm not imagining it since I cleaned out my cache this morning and the page is as quick as my browser's cache. Unusual since there's always a bit of rendering time I could attribute to downloading stuff or something else.

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by webmaster View Post
    the CDN served 520MB on Saturday from the message board alone.
    Uff!
    No wonder... I bet financially, the CDN beats the hell of any contract you could get with your host. No need to answer that.

    I always assumed the cboard was a financial burden. But not this much. I'm going to start clicking ads more often...

    (I'm seeing 98%+ cache hits.)
    That pretty much settles it then.

    This is the endpoint of cboard.cprogramming.com for me now:

    Peer 1 Network Inc. PEER1-BLK-10 (NET-76-74-128-0-1) 76.74.128.0 - 76.74.255.255
    ServerBeach PEER1-SERVERBEACH-08A (NET-76-74-248-0-1) 76.74.248.0 - 76.74.255.255

    I don't know how to read arin.net records so I won't even bother, but in any case seems to be working just fine. The actual address is US for me. So I'm assuming I do go to that server and don't use any in Europe, which is just fine considering how we are connected over here.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Now .... if we could only tweak our brains and fingers on the keyboard to run faster
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Code Please Help
    By Cdre in forum C Programming
    Replies: 3
    Last Post: 02-02-2011, 01:32 AM
  2. Network Programming Board
    By Eibro in forum A Brief History of Cprogramming.com
    Replies: 32
    Last Post: 07-07-2003, 12:04 PM
  3. Format of the FAQ Board
    By kermi3 in forum FAQ Board
    Replies: 0
    Last Post: 11-15-2001, 10:45 AM