Abstract
The lattice of maximal antichains of a distributed computation is generally much smaller than its lattice of consistent global states. We show that a useful class of predicates can be detected on the lattice of maximal antichains instead of the lattice of consistent cuts obtaining significant (exponential for many cases) savings. We then propose new online and offline algorithms to construct and enumerate the lattice of maximal antichains. Previously known algorithm by Nourine and Raynoud [NR99, NR02] to construct the lattice takes O(n 2 m) time where n is the number of events in the computation, and m is the size of the lattice of maximal antichains. The algorithm by Jourdan, Rampon and Jard [JRJ94] takes O((n + w 2)wm) time where w is the width of the computation. All these algorithms assume as input the lattice of maximal antichains prior to the arrival of a new event. We present a new online incremental algorithm, OLMA, that computes the newly added elements to the lattice without requiring the prior lattice. Since the lattice may be exponential in the size of the computation, we get a significant reduction in the space complexity. The OLMA algorithm takes O(mw 2 logw L ) time and O(w L w logn) space where w L is the width of the lattice of maximal antichains. The lower space complexity makes our algorithm applicable for online global predicate detection in a distributed system. For the purposes of analyzing offline traces, we also propose new enumeration algorithms to traverse the lattice.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Alagar, S., Venkatesan, S.: Techniques to tackle state explosion in global predicate detection. IEEE Transactions on Software Engineering 27(8), 704–714 (2001)
Chase, C.M., Garg, V.K.: Detection of global predicates: Techniques and their limitations. Distributed Computing 11(4), 191–201 (1998)
Chandy, K.M., Lamport, L.: Distributed snapshots: Determining global states of distributed systems. ACM Trans. Comput. Syst. 3(1), 63–75 (1985)
Cooper, R., Marzullo, K.: Consistent detection of global predicates. In: Proc. of the Workshop on Parallel and Distributed Debugging, Santa Cruz, CA, pp. 163–173 (May 1991)
Davey, B.A., Priestley, H.A.: Introduction to Lattices and Order. Cambridge University Press, Cambridge (1990)
Fidge, C.J.: Partial orders for parallel debugging. In: Proc. of the ACM SIGPLAN/SIGOPS Workshop on Parallel and Distributed Debugging, vol. 24(1), pp. 183–194 (1989)
Ganter, B.: Two basic algorithms in concept analysis. Technical Report 831, Techniche Hochschule, Darmstadt (1984)
Garg, V.K.: Lattice completion algorithms for distributed computations. In: Proc. of Principles of Distributed Systems - 16th International Conference, OPODIS 2012 (December 2012)
Garg, V.K., Mittal, N.: On slicing a distributed computation. In: 21st Intnatl. Conf. on Distributed Computing Systems (ICDCS 20 01), Washington, Brussels, Tokyo, pp. 322–329. IEEE (2001)
Ikiz, S., Garg, V.K.: Efficient incremental optimal chain partition of distributed program traces. In: ICDCS, p. 18. IEEE Computer Society (2006)
Jourdan, G.-V., Rampon, J.-X., Jard, C.: Computing on-line the lattice of maximal antichains of posets. Order 11, 197–210 (1994)
Lamport, L.: Time, clocks, and the ordering of events in a distributed system. Commun. of the ACM 21(7), 558–565 (1978)
Mattern, F.: Virtual time and global states of distributed systems. In: Parallel and Distributed Algorithms: Proc. of the Intnatl. Workshop on Parallel and Distributed Algorithms, pp. 215–226. Elsevier Science Publishers B.V., North-Holland (1989)
Mittal, N., Garg, V.K.: On detecting global predicates in distributed computations. In: 21st Intnatl. Conf. on Distributed Computing Systems (ICDCS 2001), Washington, Brussels, Tokyo, pp. 3–10. IEEE (2001)
Nourine, L., Raynaud, O.: A fast algorithm for building lattices. Inf. Process. Lett. 71(5-6), 199–204 (1999)
Nourine, L., Raynaud, O.: A fast incremental algorithm for building lattices. J. Exp. Theor. Artif. Intell. 14(2-3), 217–227 (2002)
Reuter, K.: The jump number and the lattice of maximal antichains. Discrete Mathematics 88(23), 289–307 (1991)
Tomlinson, A.I., Garg, V.K.: Detecting relational global predicates in distributed systems. In: Proc. of the Workshop on Parallel and Distributed Debugging, San Diego, CA, pp. 21–31 (May 1993)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Garg, V.K. (2013). Maximal Antichain Lattice Algorithms for Distributed Computations. In: Frey, D., Raynal, M., Sarkar, S., Shyamasundar, R.K., Sinha, P. (eds) Distributed Computing and Networking. ICDCN 2013. Lecture Notes in Computer Science, vol 7730. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35668-1_17
Download citation
DOI: https://doi.org/10.1007/978-3-642-35668-1_17
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-35667-4
Online ISBN: 978-3-642-35668-1
eBook Packages: Computer ScienceComputer Science (R0)