LGF: A flexible framework for exposing legacy codes as services

Scientific applications, usually written in Fortran or C, need to be adapted to work in modern environments for conducting scientific computations, which are based on web services or components. This work presents a Legacy to Grid framework (LGF) which enables semi-automatic virtualization of legacy codes as grid services. In contrast to existing work, LGF goes beyond a simple adapter-pattern approach; it follows a two-tier design in which the adaptation service layer is loosely coupled with the legacy back end layer. We present the architecture of our framework, its basic operation, and its capabilities: support for different interaction patterns with a legacy code and for computation migration to enable fault-tolerance and dynamic load balancing of legacy codes. We also present a case study of our framework's usage. We conclude with an evaluation of the impact of the two-layer architecture on the application's performance and the tradeoff between flexibility and performance by measuring the overhead of virtualization for different granularities of the legacy code.

[1]  Matthew S. Shields,et al.  Triana: a graphical Web service composition and execution toolkit Web Services , 2004 .

[2]  Yi Huang,et al.  Building web services for scientific grid applications , 2006, IBM J. Res. Dev..

[3]  Warren Smith,et al.  A Resource Management Architecture for Metacomputing Systems , 1998, JSSPP.

[4]  Anne E. Trefethen,et al.  The UK e-Science Core Programme and the Grid , 2002, Future Gener. Comput. Syst..

[5]  Yan Huang,et al.  Wrapping legacy codes for Grid-based applications , 2003, Proceedings International Parallel and Distributed Processing Symposium.

[6]  Premkumar T. Devanbu,et al.  Generating wrappers for command line programs: the Cal-Aggie Wrap-O-Matic project , 2001, Proceedings of the 23rd International Conference on Software Engineering. ICSE 2001.

[7]  Gábor Terstyánszky,et al.  GEMLCA: Running Legacy Code Applications as Grid Services , 2005, Journal of Grid Computing.

[8]  Timothy E. Lindquist,et al.  An architecture-based approach for synthesizing and integrating adapters for legacy software , 2000, Proceedings Seventh Working Conference on Reverse Engineering.

[9]  Marian Bubak,et al.  A Solution for Adapting Legacy Code as Web Services , 2005 .

[10]  Ian T. Foster,et al.  Grid information services for distributed resource sharing , 2001, Proceedings 10th IEEE International Symposium on High Performance Distributed Computing.