Forum Discussion
Alan_Evans_1020
Nimbostratus
Jul 30, 2010Role of F5 and iRules (to iRule or not to iRule)
Disclaimer: I realize this post is inflammatory and may spark a lot of debate. That is my intent.
I have been working with F5s and iRules for more than 2 years now. While F5 devices can do some really great stuff with iRules but what troubles me is whether or not it is appropriate to use the F5 in this way or not. I consider the F5 to primarily be a Network device, albeit a really really capable Network device.
So when I get 'load balancing requests' to 'send traffic for path /app1 one pool and traffic for /app2 to another pool' on the load balancer I cringe. I am a firm believer in "just because you can doesn't mean you should" and I feel that applies here.
I have to suspect that the performance of an iRule on an F5 has to be less than the performance of Apache doing the same thing. Especially if you have multiple Apache (or other web servers for that matter) doing the same work. Also correct me if I am wrong but iRules are likely processed by a general CPU where straight 'network' load balancing, is probably processed by ASICs dedicated to such things. Is this correct?
What's more is our F5s are used to support multiple customers and I would not want to end up in a situation where one customer's web site chews up a disproportionate amount of resources on our F5s. I fear that using iRules blindly to do things could lead to this situation.
I suppose if I were to ask specific questions I might be looking for answers to the following:
- How do you decide if an iRule is the right solution if there are other options?
- More specifically, is it the right solution to use iRules to parse URLs and direct traffic to pools accordingly?
But as I said above I intended to start a discussion. Please discuss... I can't imagine my organization is the only facing these concerns.
Regards,
-Alan
6 Replies
- Chris_Miller
Altostratus
This is my opinion. - JRahm
Admin
Alan, we hosted our DevCentral MVPs at the F5 Summit in Chicago earlier this week. After we wrapped our agenda for the day, the MVPs, a few F5 FSEs, the DevCentral team, and a couple core developers tackled your question in roundtable format. We'll get the video processed early next week and I'll post the link here. I hope it answers your questions. - Chris_Miller
Altostratus
Posted By Jason Rahm on 08/05/2010 03:06 PM - JRahm
Admin
Man, I guess I missed you. Next time I suppose. - Chris_Miller
Altostratus
The more we talk about using LTM as a centralized location which is not only reducing the amount of places the logic has to exist, but is also getting the logic closer to the user; I start liking more and more F5's "strategic point of control" mantra. - Alan, stick around, start reading some posts... There are very specific ways to test how much resources any iRule or parts of iRules consume...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects