AnandTech 5.0

After 5 years on the ColdFusion platform, the time had come to move on to what we think is a better platform for the future of the site - Microsoft .NET. The decision to move away from ColdFusion was a tough one in some ways. ColdFusion offers a tremendous advantage over other languages, thanks to its RAD (Rapid Application Development) roots, but the trade offs were cost and stability. Cost was definitely the major factor in our decision. Our server platform is standardized on Microsoft Windows, so .NET is free for us, while ColdFusion costs us $1299 USD per server. As we continue to grow, and keep up with the newer versions, the costs rise. One could argue that we would make up for those costs with the time that ColdFusion saves the developer. However, we found that not to be the case, and we'll explain why later.

We did quite a bit of testing prior to beginning development, writing a skeleton framework and load testing it and comparing the results to ColdFusion. The results were attractive with .NET definitely, offering some serious performance gains (more to follow on our benchmark results). The architecture of the new AnandTech.com site consists of a VB.NET API behind the ASP.NET user interface; the API can be exposed as a web service with the flick of a switch, if necessary. We chose VB as it is a more natural progression from ColdFusion syntax, and offers the same performance and features as C# does. VB.NET is a completely different animal than VB; although the syntax may be similar in some ways, it offers a heck of a lot more than VB ever did.

Writing the API is what took the most time, as we had to port over our back-end framework from ColdFusion into our new VB.NET API. Our first step was to write a few functions that handled some of the tedious work in writing any web application: a database class that handles all the database calls, which reduces the amount of lines of code we had to write for each call; a few list functions; and, some other little functions that ColdFusion had built in. Those functions took a few hours at most to write, and covered the main functions that we had taken for granted in ColdFusion. After those functions were written, we found that the RAD argument started to diminish, especially with the slick IDE that Microsoft offers. Visual Studio .NET is, bar none, the best IDE that we've seen. It offers a robust development environment with extensive function insight features, which really speed up the development process. If Macromedia were to develop this kind of IDE for ColdFusion, I think the differences between the two platforms would most definitely start to diminish.

The next major piece of work that we did was to transition the interface from HTML to CSS. This was a major undertaking, but once the framework was complete, the rest just fell into place. The old site was all HTML, and had a few too many tables in it. The result was a slower rendering site, and combined with the ads, it only made the situation worse. As a result, we took a 130K site down to around 45K in HTML. Needless to say, the page rendering times are night and day in comparison.

Hardware used in version 5.0
5 x Dual AMD Athlon MP 1900+ w/ 1GB Memory

So, after we were finished, how does it perform? Take a look below.

Note: These benchmarks compare the old anandtech site to the new anandtech site, not ColdFusion to .NET. There were many changes that resulted in the performance increase, the platform was just one of them.

AnandTech Old vs New
The graph above depcits how many requests per second the server was handling during the load test.



AnandTech Old vs New
The graph above depicts how long the site takes (under load) to deliver the last byte to the client.

Conclusion

As you can see, the new site was a technical success for us. As always, there was feedback after the initial launch, and we addressed most of the comments. We've come a long way from the day of our first dynamic site, and have learned more in 3-4 years than some people do in their entire career. So what's next? Well, 64-bit is certainly on the horizon; we already have a 64-bit platform in production that is performing incredibly well. We'll have an article in the near future on how our quad Opteron performed in comparison to our older platform. For now, it's back to building a better AnandTech; it never ends...

AnandTech 4.0
Comments Locked

67 Comments

View All Comments

  • Dennis Travis - Tuesday, July 27, 2004 - link

    Great Job with the site Jason as always and it was interesting to see how far things have come along since I first started visiting here.

    Keep up the great work.

    ...Dennis
  • stoneranger - Tuesday, July 27, 2004 - link

    kewl read, I enjoyed it. Really. I think it is very interesting the progress the industry has made. Things are actually getting easier. I love anand tech. Of course I could be considered a geek by some. But I think it is by far one of the best sites on the web.
  • Frozen7 - Tuesday, July 27, 2004 - link

  • Frozen7 - Tuesday, July 27, 2004 - link

  • Da3dalus - Monday, July 26, 2004 - link

    Nice to see some of the earlier designs, I didn't visit this place in the 1.0 to 3.0 days.
  • cameronj - Monday, July 26, 2004 - link

    Under the 5.0 heading it says "
    Hardware used in version 4.0
    5 x Dual AMD Athlon MP 1900+ w/ 1GB Memory"

    Interesting article though :)
  • CrystalBay - Monday, July 26, 2004 - link

    Ahh The Celery Report...Do you guys have all this stuff archived ?
  • CompMan86 - Monday, July 26, 2004 - link

    Two errors: 1) The second graph on the conclusion page, the caption says "the graph below" instead of "the graph above." Also, "SQL Sever/Sybase world and while" on page 2 should say Server, not sever. Minor mistakes, just thought I'd give you the heads up. Otherwise, awesome article!

    And in response to the target=_blank comment, you have no control over window size or window attributes (like toolbars) with that. target=_blank is good when linking to an external site, but if you want to have a customized popup, javascript IS the standard.
  • quanta - Monday, July 26, 2004 - link

    Why the site keep on using Javascript to open a new window when it can be done using 'target=_blank' attribiute? Is that Anandtech's idea of 'standard compliance'?
  • PorBleemo - Monday, July 26, 2004 - link

    Great job Jason! Always an interesting change to see site background like this...

Log in

Don't have an account? Sign up now