Abstract
A model of a large distributed database where write conflicts are handled by wait-free aborting of transactions, is introduced and analysed in the steady state. Performance measures, including the rate of aborts, are evaluated. Numerical results are presented, illustrating the behaviour of the system when various parameters are varied. The accuracy of certain approximations is assessed by means of simulations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Adya, A., Liskov, B., O’Neil, P.: Generalized isolation level definitions. In: Proceedings of 16th International Conference on Data Engineering, pp. 67–78 (2000)
Bailey, N.T.J.: On queueing processes with bulk service. J. Roy. Stat. Soc. B 16(1), 80–87 (1954)
Balsamo, S., Malakhov, I., Marin, A., Mitrani, I.: Transaction confirmation in proof-of-work blockchains: auctions, delays and droppings. In: 20th Mediterranean Communication and Computer Networking Conference (MedComNet), pp. 140–149 (2022)
Barthels, C., Müller, I., Taranov, K., Alonso, G., Hoefler, T.: Strong consistency is not hard to get: two-phase locking and two-phase commit on thousands of cores. Proc. VLDB Endowment 12(13), 2325–2338 (2019)
Bernstein, P.A., et al.: Concurrency Control and Recovery in Database Systems (1987)
Ezhilchelvan, P., Mitrani, I., Webber, J.: On the degradation of distributed graph databases with eventual consistency. Queueing Models Serv. Manag. 3(2), 235–253 (2020)
Ezhilchelvan, P., Mitrani, I., Waudby, J., Webber, J.: Design and evaluation of an edge concurrency control protocol for distributed graph databases. In: Gribaudo, M., Iacono, M., Phung-Duc, T., Razumchik, R. (eds.) EPEW 2019. LNCS, vol. 12039, pp. 50–64. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-44411-2_4
Gray, J., Lamport, L.: Consensus on transaction commit. ACM Trans. Database Syst. (TODS) 31(1), 133–160 (2006)
Guo, Z., et al.: Cornus: atomic commit for a cloud DBMS with storage disaggregation. Proc. VLDB Endowment 16(2), 379–392 (2022)
Li, C., et al.: ByteGraph: a high-performance distributed graph database in ByteDance. Proc. VLDB Endowment 15(12), 3306–3318 (2022)
Pakes, A.G.: Some conditions for ergodicity and recurrence of Markov chains. Oper. Res. 17(6), 1058–1061 (1969)
Waudby, J., Ezhilchelvan, P., Mitrani, I., Webber, J.: A performance study of epoch-based commit protocols in distributed OLTP databases. In: 41st International Symposium on Reliable Distributed Systems (SRDS) (2022)
Waudby, J., Ezhilchelvan, P., Webber, J., Mitrani, I.: Preserving reciprocal consistency in distributed graph databases. In: 7th Workshop on Principles and Practice of Consistency for Distributed Data, pp. 1–7 (2020)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix
Appendix
Proof of Lemma. We invoke Rouché’s theorem, which states that if two holomorphic functions, \(\phi (z)\) and \(\psi (z)\), satisfy \(|\phi (z)|>|\psi (z)|\) on a simple closed contour, then \(\phi (z)\) and \(\phi (z)+\psi (z)\) have the same number of zeros inside that contour. Each zero is counted according to its multiplicity.
We represent P(z) as \(P(z)= \phi (z)+\psi (z)\), where
and
The closed contour is the unit circle. When \(|z|=1\), \(|\phi (z)|=\lambda +N\mu \). Applying the triangle inequality to \(\psi (z)\), we find
Moreover, the inequality is strict everywhere on the contour, except at \(z=1\), where it is an equality.
Note that the derivative of P(z) is positive at \(z=1\). This is because
according to (12). Hence, we can choose a sufficiently small number, \(\epsilon \), such that \(P(1-\epsilon )<0\). Modifying the contour slightly in the vicinity of \(z=1\), by making it pass through the point \(z=1-\epsilon \), would ensure that the inequality \(|\phi (z)|>|\psi (z)|\) is strict on the entire modified contour.
The function \(\phi (z)\) is linear and has a single zero, \(z=0\), inside the contour. Therefore, by Rouché’s theorem, P(z) also has a single zero inside the contour. That zero, \(z_0\), must be in the interval \((0,1-\epsilon )\), because \(P(0)=\lambda >0\) and \(P(1-\epsilon )<0\). This completes the proof.
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Ezhilchelvan, P., Mitrani, I., Webber, J., Wang, Y. (2023). Evaluating the Performance Impact of No-Wait Approach to Resolving Write Conflicts in Databases. In: Iacono, M., Scarpa, M., Barbierato, E., Serrano, S., Cerotti, D., Longo, F. (eds) Computer Performance Engineering and Stochastic Modelling. EPEW ASMTA 2023 2023. Lecture Notes in Computer Science, vol 14231. Springer, Cham. https://doi.org/10.1007/978-3-031-43185-2_12
Download citation
DOI: https://doi.org/10.1007/978-3-031-43185-2_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-43184-5
Online ISBN: 978-3-031-43185-2
eBook Packages: Computer ScienceComputer Science (R0)