Entries Tagged as 'Reviews'

NGINX HTTP Web Server - Take CF to the Next Level

Server , Adobe , News , ColdFusion , Reviews 8 Comments »

As you guys may or may not know, there has been a lot of improvment in the web sphere in terms of performance tweaking and security. A lot of people have realized that its just not to good to have your web server be a first point of contact (after the firewall). That's right. Your web server should NOT be serving the web. Sounds counter intuitive, right?

Well, allow me to explain. Web servers like IIS and Apache, as an example, have gotten too heavy and cumbersome. Ok, well - some of you guys are hard core fans of both servers. But they don't scale very well. That is why you see people moving to lighter weight web servers like Resin (and many others), or so specially built high performance web servers like Lighttpd. 

What's needed is a server that can do a couple thing:

  • Handle traffic issues like the infamous C10K problem.
  • Reverse Proxy to my actual web server (or cluster). It should be the only thing touching my web server.
  • Work under minimal resources. I don't want to spend $$$.

In fact, here is the official description: "Nginx is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. Written by Igor Sysoev in 2005, Nginx now hosts nearly 6% (13M) of all domains worldwide. Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. Nginx is one of a handful of servers written to address the C10K problem. Unlike traditional servers, Nginx doesn't rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. This architecture uses small, but most importantly, predictable amounts of memory under load. Even if you don't expect to handle thousands of simultaneous requests, you can still benefit from Nginx's high-performance and small memory footprint. Nginx scales in all directions: from the smallest VPS all the way up to clusters of servers. Nginx powers several high-visibility sites, such as WordPress, Hulu, Github, Ohloh, SourceForge and TorrentReactor."

This solves a couple issues. One being that your web server isn't directly hit by outside traffic. Traffic goes from the firewall to this server, which can then do a couple things. It can scruitinize the request, do re-writing, caching, handle sending files, block bad requests, etc. All those things you didn't want your primary web server to do!

That's where NGINX comes in. NGINX currently handles 6% of all sites on the net. Its the web server you never heard of, and you better get to know. People building high performance sites in Ruby on Rails have started to use NGINX to boost perfomance. For more details, see http://www.modrails.com/. Yes, they are overcoming those infamous RoR hurdles with free and easy solutions! So should you!

There are a couple of things you need to know.

  1. One, if you are running Windows, NGINX doesn't explicitly support Windows services. But fear no more, the first and only resource for setting up NGINX on Windows as a service comes from a fellow CF developer! And it works like a charm. Read more @ http://misterdai.wordpress.com/2009/10/16/nginx-windows-service/.
  2. Second, NGINX runs a site like Wordpress. That's right, check the Wordpress.com HTTP Response Headers. Or see this site! That's right, my blog! If you need to sell making this change to management, then that should get you started on the right foot.
  3. NGINX was developed originally for some Russian sites, and most documentation is in Russian. However, there is a new Wiki with tons of docs and an active forum in English. NGINX is being actively developed. More info @ http://wiki.nginx.org/Main.
  4. For some more details on using NGINX with ColdFusion, see this blog post @ http://coldfusion.tcs.de/nginx-and-coldfusion-using-nginx-as-a-reverse-proxy-for-more-performance.

Basically, my job is to get your minds whirling again. No ColdFusion is NOT dead, its just we as a community need to step up and take it to the next level. Imagine is MySpace has been built with ColdFusion, and instead if adding servers upon servers and including .NET, they had this option? Do you currently have load issues? What can NGINX do for you?

For more details go to:

People have been using NGINX in front of their mail servers (like Exchange), and for all sorts of other purposes. I'm investigating NGINX, Varnish, and other Web Application Firewalls to formulate what could become an awesome front-end for ColdFusion!

VPS Hacked - Need Recommendations

ColdFusion , Reviews 28 Comments »

I've been using the folks at kickassvps.com for a while now. However, I found that my VPS was unreliable at times, and my blog would regularly go down.

Last night I logged in to discover that mysterious software was installed on my server. I've been hacked! The problem with the VPS, as is common in virtualization, is that companies tend to neglect patching these systems.

I tried to use the live support feature on the host's website, didn't work! I opened a ticket, and got a response when I woke up the next morning, asking me questions on what to do!

Ummm... so I've made the decision to move my blog to another provider. Any recommendations? I'm running Windows 2003 w/ CF8.

Gartner Analyst Praises ColdFusion

Server , Adobe , ColdFusion , Reviews No Comments »

Those who know me know that I don't particularly care for Gartner. This is one of the few times they got it right.

Favorite quote: "ColdFusion provides a potential wrapper around the complexity of Java, providing Web developers access to the power of the Java platform via the productivity of a fourth-generation language (4GL)."

Read more @ http://www.webbschofield.com/index.cfm/2009/5/14/Analysts-at-Gartner-Praise-CF.

Railo's Support Structure Seems Weird

Server , Railo , Reviews 5 Comments »

Sean Corfield made an entry on Railo Support and Consulting Services. While its nice to see a simple four level support structure, the following didn't make sense to me:

  • Silver -includes support for 1 server only, 5 hours of support for $1000, which is $200/hr (with an additional discount for more). I'm not sure how many people would pay $1000 per year just to support a single server? Plus there is a 8 day fix delivery for any issues.
  • Gold - includes support for 2 servers only, 15 hours of support for $3000, which is the same $200/hr (with an additional discount for more). I'm not sure if there is a clear incentive to pay $1000 more instead of getting two Silver contracts. You will be getting a discount with the Silvers anyways for more hours (if you need them). The fix delivery is 7 days instead of 8.
  • Platinum - includes support for 2 servers only (2 servers for a platinum??), 45 hours of support for $9000, which is the same $200/hr (with an additional discount for more). The fix delivery is 5 days instead of 7. I don't think anyone would use up 45 hours on two servers only in 1 years time, and if they do, they should be an "enterprise". Platinum seems out of place to me.
  • Enterprise - includes support for 10 servers only (not sure where the enterprise comes in), 135 hours for 27k, which is the same $200/hr (with an additional discount for more). Whats interesting here is that the fix delivery time is still 5 days. I would rather buy 5 golds for 15k, which would cover 10 servers at 15 hours of support for each pair. If I need more than 15 hours, something is wrong... So for me Enterprise would not make sense.

So am I missing something? Is this just an initial draft? Why are three named after metals and the fourth called enterprise?

CodexWiki WeirdNess

Tools of the Trade , ColdFusion , Reviews No Comments »

Ok, so I got CodexWiki installed and up and running with MySQL. However, I immediately ran into some weirdness.

For example, on the DashBoard page I wanted to create a link to a page that will detail the Product Management department. So I had code like this:

== [[PM:Product_Management|Product Management]] ==
Click to go to the Product Management area.

This created a link called "Product Management" to /wiki/PM:Product_Management.cfm. I use the "PM" namespace to differentiate this from other parts of the Wiki. For more information on NameSpaces, see: http://en.wikipedia.org/wiki/Namespace.

I wanted to create a link like so:

== [[IT:Information_Technology|Information Technology]] ==
Click to go to the Information Technology area.

And what I got was a link to Wikipedia itself! The link pointed to: http://it.wikipedia.org/wiki/Information_Technology.

I create a page with that new namespaces and then tried to add links and it still freaked. Am I doing something wrong?

UPDATE: I thought possibly because IT and SE are also country codes, that is why its linking to Wikipedia entries by county. But when I entered US, or IN, I got proper links...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds