|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
News
News
News
|
Messages: 7
Messages: 7
Messages: 7
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
Elastica: A free rules-based EJB load balancer for JBoss
Elastica is a highly efficient and extensible, rules-based load-balancer for JBoss 4 that adds dynamic behavior to EJB load balancing. Rules can be defined to redirect EJB requests according to request data, server performance data, or even the time of day. For example, ClientX may be conducting a promotion which will result in a flood of traffic during a certain time window. To ensure that this promotion does not affect the performance of Client Y's applications, you can configure the load-balancing rules so that requests for Client X during the time window are redirected to an isolated node group.
Load-balancing behavior is defined in an XML document as a set of rules. Elastica comes with load-balance policies such as round-robin and load-factor. The load-factor policy uses real-time server performance metrics to choose nodes with the lightest loads.
Elastica also provides enhanced node state management. A node may be in one of the following states: unavailable, offline, standby, online, and busy. For example, if a server is in standby state then all client requests are rejected but management requests are still allowed. The busy state is triggered by a throttling mechanism which sets the node to busy if it gets too many concurrent requests. In this case the call is rejected and the load-balancer automatically picks a new node to service the request. This results in a more even distribution of requests among nodes in the cluster by preventing a backlog of client requests on one node while other nodes in the cluster remain idle.
Elastica 1.3.0 is free and available for download.
|
|
Message #266267
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Looks great! What's the background?
I'm looking for exactly this type of load balancing for JBoss. The straight round-robin approach poses several problems for real scalability. I'd really be interested in giving this project a shot.
However, it looks like you just put it on SourceForge today. Is this open source? By the package names, it looks like a proprietary project that you have just decided to donate. What's the background on this project, and what are the intentions?
Also, does anyone know about any other projects that provide advanced load balancing for JBoss?
|
|
Message #266268
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Looks great! What's the background?
This is an open source project. ReserveAmerica is a strong believer in open source and uses a lot of open source products. Elastica was developed at ReserveAmerica with every intention of giving it back to the community.
ReserveAmerica provides services for a number of large clients in the US. Their clients conduct 'on-sales' during certain time windows throughout the year. This generates a great deal of traffic for those customers and Elastica attempts to maintain a certain QoS for their other customers during those windows. It's been in production for about a year, so it's a fairly mature product.
|
|
Message #266291
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Very Interesting
This is very interesting, you should definitively reach out to the JBoss Clustering project team to see if you could combine efforts!
BTW what did you use for the rules?
Cheers,
Sacha CTO of JBoss a division of Red Hat
|
|
Message #266329
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Very Interesting
This is very interesting, you should definitively reach out to the JBoss Clustering project team to see if you could combine efforts! I haven’t done too much work on this since early 2007 so I’ll have to get back up to speed with what’s happening in the clustering projects.
BTW what did you use for the rules? Rules are defined either in XML (using a home-grown schema) or programmatically - I was anticipating a graphical rules-editor. At execution time, the rules are shipped over to the client and 'compiled' into efficient runtime objects.
Bob.
|
|
Message #266411
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Message-driven Beans
I haven't tried Elastica with anything other than stateless session beans. JBossMQ (the standard JMS provider in JBoss 4) does not support distributed destinations so load-balancing would not work. Although, after reading a bit about JBoss Messaging (the standard in JBoss 5) I see that custom load balance policy factories are supported, in which case Elastica could (in theory) be used.
I'll put it on my TODO list to research this more.
|
|
 |
New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com |
 |
 |
Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(November 2, Article)
SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options.
(September 28, Article)
Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team.
(September 22, Article)
Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies.
(July 14, Article)
JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags.
(June 29, Article)
In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project.
(June 23, Tech Talk)
Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now.
(June 15, Tech Talk)
In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements.
(June 15, Tech Talk)
In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls.
(June 4, Tech Talk)
Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable.
(May 28, Tech Talk)
This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work.
(May 26, Tech Talk)
Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers.
(May 21, Tech Talk)
Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application.
(May 19, Article)
In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources.
(May 19, Tech Talk)
Download the entire book of Jakarta-Struts Live and learn about Struts MVC, Tiles, the Validator, DynaActionForms, plug-ins, internationalization, and more.
(Book PDF Download)
The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)
|
|