Using web services for remote data access and distributed applications
Introduction
Research on fusion requires effective collaboration between members who are not co-located in time and space. Remote computing environments are needed to share information between experts in institutions distributed throughout one or more countries.
The amount of available data is increasing continuously, requiring new techniques for compression, archiving and retrieval. Recently, hybrid data acquisition systems with MDSplus have been proposed [1] to acquire data and then archive it onto a hard disk. The Wendelstein7-X data acquisition system [2] includes three typical DAQ stations: the timing system, the monitoring subsystem, and the data archive. In order to solve the problem of simultaneously accessing data provided by different computer systems at the large helical device (LHD) at the National Institute for Fusion Science in Japan, the Kaiseki server [3] has been developed to allow the storage of this data in a unified format.
We present the possibility of using web services to implement a collaborative environment for remote participation in fusion research. Before choosing this approach, other alternatives were considered, like remote procedure call (RPC) and common object request broker architecture (CORBA). The main advantages of using the web service approach are the security features that can be implemented inside the service or in a service independent manner, using mechanisms provided by the web server, and the possibility of using standard hyper text transfer protocol (HTTP) proxies.
A web service has been developed that offers processing routines for standard spectroscopic data. The facing of the reactor wall and the divertor in magnetic fusion devices contain Be-like ions as impurities in the fusion plasmas. Electron impact data is therefore required to model the populating processes of the radiating levels used in the spectral analysis of the impurity distribution. In the present application, atomic data as bound energy levels, radiative transition probabilities and oscillator strengths, obtained from Cowan and R-matrix atomic structure codes, is used to calculate the Gaunt factor for the refinement of Zeff evaluation in the fusion plasmas.
Radial components of the hydrogenic and Coulomb Green's function in its Sturmian representation are integrated numerically based on other web services where mathematical calculations (binomial coefficients, hypergeometric functions, the Pochammer symbol) are performed. All these services are used by the ‘top level’ one, which outputs values of dipole matrix elements between hydrogenic and Sturmian radial components to output the effective oscillator strengths averaged over the continuum included in a Gaunt factor generator of special value for integrated and spectrally resolved bremsstrahlung and free–bound continua [4]. This gives a structured architecture for the web service (Fig. 1).
Web services can be created and used in any programming language, including Java, FORTRAN, C/C++ and PHP. Libraries are available that can simplify the programmer's work.
The present application uses NuSOAP, which is a framework for building and using web services, written in php. The reasons for choosing this framework over other ones, like the OASIS web services resource framework (WS-RF) and WSRF.NET, are the system independent implementation of NuSOAP and the easiness of creating and consuming services.
Section snippets
Remote data access
Data collections are usually organized by using different database management systems (DBMS), like Oracle, MySQL, Microsoft SQL Server and PostgreSQL. The structured query language (SQL) is used to access the data stored in a DBMS. However, each DBMS has its own data types and querying methods. For example, Oracle and PostgreSQL have support for stored procedures and triggers, while the current stable implementations of MySQL do not offer support for these features. Also, another example is a
Distributed applications
When using web services, an application is broken into smaller pieces of code, which may run on different servers. The architecture of these servers is not important. For example, there can be a Windows-based server and a Linux one. Even the hardware specifications can differ. In such an environment, a server could be a standard 32-bit system and another using a newer 64-bit processor. Technologies can be mixed in order to improve the application speed, precision, and resource utilization.
In
Security
As with any network program, security is very important for a web service. The presented application is working on the network configuration given in Fig. 2. It contains many local personal computers accessing, indirectly, the atomic data stored on the database server through the main server. The DBMS, used to store the atomic data and the results of computation, is not directly accessible from the network. Access to web services is restricted only to authorized researchers. To do that, a
Conclusions
In this work, we have proposed the use of web services for remote computing environments. In our application the web services are used locally to distribute atomic data and related plasma quantities through different applications, from fusion, laser-produced plasmas to astrophysical plasma. Different web services at their different levels are used, independently, to provide mathematical applications.
Using this technique, code can be easily reused among applications and existing resources can be
References (6)
- et al.
CAMAC, VXI, and PXI hybrid data acquisition system with MDSplus
FED
(2004) - et al.
Status report on the development of the data acquisition system of Wendelstein 7-X
FED
(2004) - et al.
The LHD Group, Immediate data access system for LHD experiments
FED
(2004)
Cited by (7)
Service oriented architecture for scientific analysis at W7-X. An example of a field line tracer
2013, Fusion Engineering and DesignCitation Excerpt :The idea of using web-services for scientific computing emerged a few years ago [4] and has been widely adopted [5–8]. In fusion, SOAP web-services were proposed earlier: for Bayesian data analysis [9], for distributed applications [10], for W7-X data access [11], as a W7-X analysis framework [12]. Nevertheless, this approach is relatively new and a detailed discussion is missing.
Caching web service for TICF project
2008, Fusion Engineering and DesignA networked chemical test system based on web service
2010, Proceedings of the International Conference on E-Business and E-Government, ICEE 2010Using WS-atomic transaction to integrate and synchronize distributed transactions in modern and legacy systems
2008, Journal of Harbin Institute of Technology (New Series)Performance issues related to web service usage for remote data access
2008, AIP Conference ProceedingsImproving quality assurance in education with web-based services by data mining and mobile technologies
2008, EATIS 2008 - Proceedings of the 2008 Euro American Conference on Telematics and Information Systems