Being the most popular runtime infrastructure for distributed systems, middleware can be viewed as a collection of common services. Since the development, deployment and maintenance of distributed systems rely largely on middleware services, the failure of middleware services puts a significant impact on the reliability and availability of the whole system. Though recovery-based fault tolerance is an effective way to improve the reliability of middleware services, it is far away from practice mainly because of the high complexity and cost of the recovery of correlated failures between interdependent services. In this paper,a framework for detecting and recovering the correlated failures of middleware services in an automated way is presented. First, the problem is investigated from two perspectives, i.e.,analyzing the role and impact of middleware services and illustrating a set of correlated failures in J2EE standard services as motivating examples. Then, a general coordinated recovery model is constructed with the elements necessary and su±cient for detecting and recovering correlated failures in middleware services. The supporting framework is demonstrated on three J2EE application servers, i.e., PKUAS, JBoss and JOnAS, one by one without fundamental modifications. Finally, based on the three enhanced application servers, many cases on J2EE common services, including the transaction service, database service, naming and directory service, security service and messaging service, are studied. The experiment results show the effectiveness and applicability of the framework presented in this paper. 相似文献
The flow field is a pivotal part to manage the transport of water and gas in proton exchange membrane fuel cell. However, the reported water measurement methods (e.g., X-ray and electrochemical impedance spectroscopy (EIS)) cannot give a comprehensive understanding water distribution in the flow field, resulting in challenges in optimizing the channel design and enhancing fuel cell performance. Therefore, we propose a water measurement method combining the X-ray radiography with EIS to investigate the effect of different operating conditions on the growth law and distribution of liquid water in parallel and serpentine flow fields. The attenuation coefficient of liquid water to X-ray is calibrated with constant tube-current and tube-voltage of X-ray generator. Besides, the parallel flow field with hydrophobic treatment is studied. The results show that the water accumulation of the parallel flow field is far more than the serpentine flow field, and the water content of the middle region is higher than that of other regions in the parallel flow field. Furthermore, operating conditions (cathode inlet gas flow rate, inlet gas humidity, and back pressure) have little effect on the liquid water content of the middle region in the parallel flow field. The polarization curve, EIS result, and X-ray radiography show that the performance and water drainage capacity of the hydrophobic parallel flow field are better than the normal one.