Abstract
Failures (including hardware failures, software failures or unexpected shutdowns, sudden power failures, etc.) are unavoidable problems in large-scale distributed systems, so current distributed systems are required to support systematic fault tolerance. Aiming at the requirements of strong real-time application scenarios, this paper proposes a distributed cache and recovery method based on memory database. SQLite memory database is adopted and election-based multi-node data synchronization is introduced, which ensures the strong consistency of data on each node and eliminates the bottleneck and failure problems caused by the setting of the central node; at the same time, a dynamic load balancing mechanism is adopted to reduce the amount of synchronized data in the entire system and ensure the smooth operation of the system. Finally, the effectiveness of the proposed method is proved by experiments.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Nginx. http://nginx.org
Keepalived. https://www.keepalived.org
Ramakrishnan, R., et al.: Azure data lake store: a hyperscale distributed file service for big data analytics. In: The 2017 ACM International Conference. ACM (2017)
Liao, C., Squicciarini, A., Lin, D.: LAST-HDFS: location-aware storage technique for hadoop distributed file system. In: IEEE International Conference on Cloud Computing. IEEE (2017)
Kakoulli, E., Herodotou, H.: OctopusFS: a distributed file system with tiered storage management. In: ACM International Conference. ACM (2017)
Choi, W.G., Park, S.: A write-friendly approach to manage namespace of Hadoop distributed file system by utilizing nonvolatile memory. J. Supercomput. 75(10), 6632–6662 (2019). https://doi.org/10.1007/s11227-019-02876-9
Busca, J.-M., Picconi, F., Sens, P.: Pastis: a highly-scalable multi-user peer-to-peer file system. In: Cunha, J.C., Medeiros, P.D. (eds.) Euro-Par 2005. LNCS, vol. 3648, pp. 1173–1182. Springer, Heidelberg (2005). https://doi.org/10.1007/11549468_128
Soules, V., et al.: Distributed cache management in information-centric networks. IEEE Trans. Netw. Serv. Manage. 10(3), 286–299 (2013)
Cardenas, Y., Pierson, J.M., Brunie, L.: Uniform distributed cache service for grid computing. In: Sixteenth International Workshop on Database and Expert Systems Applications 2005, Proceedings. IEEE (2005)
Zhang, J., Li, Q., Zhou, W.: HDCache: a distributed cache system for real-time cloud services. J. Grid Comput. 14(3), 407–428 (2016). https://doi.org/10.1007/s10723-015-9360-9
Gao, X., Fang, X.: High-performance distributed cache architecture based on Redis. Lecture Notes in Electrical Engineering, vol. 270, pp. 105–111 (2014)
Junyan, L., Shiguo, X., Yijie, L.: Application research of embedded database SQLite. In: International Forum on Information Technology and Applications 2009, IFITA 2009. IEEE (2009)
Owens, M.: Embedding an SQL database with SQLite. Linux J. 2003(110), 2 (2003)
Shi-Yan, S., Zhi-Ming, Q.: A comparison study on optimal configuration methods of naval gun weapon systems. Acta Armamentarii 28(7), 778–781 (2007)
Sun, S., et al.: A study on the optimal design method of naval gun weapon system. In: Control & Decision Conference. IEEE (2008)
Liu, X., et al.: Fault diagnosis for hydraulic system of naval gun based on BP-Adaboost model. In: 2017 Second International Conference on Reliability Systems Engineering (ICRSE). IEEE (2017)
Xu, J., et al.: Approach for combat capability requirement generation and evaluation of new naval gun. In: 2017 36th Chinese Control Conference (CCC) (2017)
Guoqiang, L., et al.: Study on a fire distribution model of integrated naval gun and laser weapon system. In: The 30th Chinese Control and Decision Conference (2018)
Huang, Y., et al.: The study on the optimal filtering length for closed-loop spotting of close-in anti-missile naval gun weapon system. In: International Conference on Computer Application & System Modeling. IEEE (2010)
Stanković, R., Štula, M., Maras, J.: Evaluating fault tolerance approaches in multi-agent systems. Auton. Agents Multi-Agent Syst. 31(1), 151–177 (2015). https://doi.org/10.1007/s10458-015-9320-6
Arabnejad, H., Pahl, C., Estrada, G., Samir, A., Fowley, F.: A fuzzy load balancer for adaptive fault tolerance management in cloud platforms. In: De Paoli, F., Schulte, S., Broch Johnsen, E. (eds.) ESOCC 2017. LNCS, vol. 10465, pp. 109–124. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-67262-5_9
Fischer, M.J., Lynch, N.A., Paterson, M.S.: Impossibility of distributed consensus with one faulty process. J. ACM 32(2), 374–382 (1985)
Lamport, L.: Fast Paxos. Distrib. Comput. 19(2), 79–103 (2006). https://doi.org/10.1007/s00446-006-0005-x
Abraham, I., et al.: Byzantine disk paxos: optimal resilience with byzantine shared memory. Distrib. Comput. 18(5), 387–408 (2006). https://doi.org/10.1007/s00446-005-0151-6
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer-Verlag GmbH Germany, part of Springer Nature
About this chapter
Cite this chapter
Cai, Q., Lu, J., Lei, M. (2020). Distributed Cache and Recovery Method for Strong Real-Time Applications. In: Pan, Z., Cheok, A., Müller, W., Zhang, M. (eds) Transactions on Edutainment XVI. Lecture Notes in Computer Science(), vol 11782. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-61510-2_26
Download citation
DOI: https://doi.org/10.1007/978-3-662-61510-2_26
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-61509-6
Online ISBN: 978-3-662-61510-2
eBook Packages: Computer ScienceComputer Science (R0)