Download Chapter 1 Introduction to EverBEEN

Transcript
Chapter 3
EverBEEN developer documentation
3.1
Design goals
The original goal of the EverBEEN project (as stated in the former assignment1 ) was mainly to cleanup
the existing WillBEEN2 project and replace the RMI3 framework by a more robust networking solution.
However, feedback from previous attempts of deployment in the corporate sector showed that framework
stability was not the only issue. The tools for easy creation of WillBEEN jobs were lacking at best, and
we experienced the reported difficulties in WillBEEN deployment first-hand. Furthermore, experience
showed that some advanced features of WillBEEN (namely the Results Repository) had poor real-case
use. Jiří Täuber’s master thesis4 , aimed at analyzing real case WillBEEN deployment, clearly marks
these issues as a major factor of WillBEEN’s failure in a production environment.
These findings made us focus not only on a complete reimplementation of WillBEEN, but also on the
user perspective of EverBEEN deployment and regression benchmarking in general. As a result, we set
up several goals which we tried to stand up to during EverBEEN design and development.
3.1.1
Scalability, Redundancy, Reliability
As we were deciding which networking technology EverBEEN will use, we were driven to make EverBEEN
as robust as possible in face of network failures and OS freezes. The choice of Hazelcast as a networking
technology took this idea to new heights, enabling us to build EverBEEN as a truly distributed system,
rather than just a network of interconnected nodes.
As a result, we decentralized all the decision-making in EverBEEN. Decisions are made on the basis of
distributed shared memory and as long as multiple data nodes are running, there is no single point of
failure. The failure of a single partaking host was seen as an eventuality, rather than an unrecoverable
error, and was counted with from the start of EverBEEN development, as was the case of a temporary
disconnection of the persistence layer.
3.1.2
Modularity
Modularity was the first code characteristic we noted as lacking in WillBEEN. Although some pseudomodules were present, the entire codebase was compiled together, leading to frequent cross-references in the
project. Not only does this pose an issue with code maintainability, but it also makes component overrides
very demanding in terms of the user’s knowledge of the entire system. With the aid of modern building
tools (mostly Apache Maven), we made EverBEEN a modular project where component overriding is
possible.
1 http://ksvi.mff.cuni.cz/~holan/SWP/zadani/ebeen.txt
2 http://been.ow2.org/
3 http://docs.oracle.com/javase/7/docs/technotes/guides/rmi/index.html
4 https://is.cuni.cz/webapps/zzp/detail/78663/4417375
53