Abstract
Resolving non-deterministic choices of choreographies is a crucial task. We introduce a novel notion of realisability for choreographies –called whole-spectrum implementation– that rules out deterministic implementations of roles that, no matter which context they are placed in, will never follow one of the branches of a non-deterministic choice. We show that, under some conditions, it is decidable whether an implementation is whole-spectrum. As a case study, we analyse the POP protocol under the lens of whole-spectrum implementation.
This work has been partially sponsored by Projects: EU 7FP Grant 295261 (MEALS), ANPCyT BID-PICT-2008-00319, Ocean Observatories Initiative and EPSRC EP/K034413/1.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
Basu, S., Bultan, T., Ouederni, M.: Deciding choreography realizability. In: POPL (2012)
Bettini, L., Coppo, M., D’Antoni, L., De Luca, M., Dezani-Ciancaglini, M., Yoshida, N.: Global progress in dynamically interleaved multiparty sessions. In: van Breugel, F., Chechik, M. (eds.) CONCUR 2008. LNCS, vol. 5201, pp. 418–433. Springer, Heidelberg (2008)
Bocchi, L., Melgratti, H., Tuosto, E.: Extended version of this paper (2014) http://publicaciones.dc.uba.ar/Publications/2014/BMT14c/
Bravetti, M., Zavattaro, G.: A theory of contracts for strong service compliance. MSCS 19(3) (2009)
Butler, M., Postel, J., Chase, D., Goldberger, J., Reynoldsa, J.: Post office protocol - version 2. RFC 918 (February 1985), http://tools.ietf.org/html/rfc937
Caires, L., Vieira, H.T.: Conversation types. In: Castagna, G. (ed.) ESOP 2009. LNCS, vol. 5502, pp. 285–300. Springer, Heidelberg (2009)
Castagna, G., Dezani-Ciancaglini, M., Padovani, L.: On global types and multi-party session. LMCS 8(1) (2012)
Castagna, G., Padovani, L.: Contracts for mobile processes. In: Bravetti, M., Zavattaro, G. (eds.) CONCUR 2009. LNCS, vol. 5710, pp. 11–228. Springer, Heidelberg (2009)
Chen, T.-C., Honda, K.: Specifying stateful asynchronous properties for distributed programs. In: Koutny, M., Ulidowski, I. (eds.) CONCUR 2012. LNCS, vol. 7454, pp. 209–224. Springer, Heidelberg (2012)
Crocker, D.: Standard for the format of arpa internet text messages. RFC 822 (February 1982), www.ietf.org/rfc/rfc0822.txt
Dezani-Ciancaglini, M., de’Liguoro, U.: Sessions and session types: An overview. In: Laneve, C., Su, J. (eds.) WS-FM 2009. LNCS, vol. 6194, pp. 1–28. Springer, Heidelberg (2010)
Fu, X., Bultan, T., Su, J.: Realizability of conversation protocols with message contents. Int. J. Web Service Res. 2(4), 68–93 (2005)
Gay, S., Hole, M.: Subtyping for Session Types in the Pi-Calculus. Acta Inf. 42(2/3), 191–225 (2005)
Honda, K., Yoshida, N., Carbone, M.: Multiparty asynchronous session types. In: POPL (2008)
Kavantzas, N., Burdett, D., Ritzinger, G., Fletcher, T., Lafon, Y. (2004), http://www.w3.org/TR/2004/WD-ws-cdl-10-20041217
Lamport, L.: Time, clocks, and the ordering of events in a distributed system. CACM 21(7), 558–564 (1978)
Lanese, I., Guidi, C., Montesi, F., Zavattaro, G.: Bridging the gap between interaction-and process-oriented choreographies. In: SEFM (2008)
Lange, J., Tuosto, E.: Synthesising choreographies from local session types. In: Koutny, M., Ulidowski, I. (eds.) CONCUR 2012. LNCS, vol. 7454, pp. 225–239. Springer, Heidelberg (2012)
Lohmann, N., Wolf, K.: Decidability results for choreography realization. In: Kappel, G., Maamar, Z., Motahari-Nezhad, H.R. (eds.) Service Oriented Computing. LNCS, vol. 7084, pp. 92–107. Springer, Heidelberg (2011)
Milner, R.: Communication and Concurrency. Prentice Hall (1989)
Padovani, L.: Fair subtyping for multi-party session types. In: De Meuter, W., Roman, G.-C. (eds.) COORDINATION 2011. LNCS, vol. 6721, pp. 127–141. Springer, Heidelberg (2011)
Salaün, G., Bultan, T.: Realizability of choreographies using process algebra encodings. In: Integrated Formal Methods (2009)
Su, J., Bultan, T., Fu, X., Zhao, X.: Towards a theory of web service choreographies. In: Dumas, M., Heckel, R. (eds.) WS-FM 2007. LNCS, vol. 4937, pp. 1–16. Springer, Heidelberg (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bocchi, L., Melgratti, H., Tuosto, E. (2014). Resolving Non-determinism in Choreographies. In: Shao, Z. (eds) Programming Languages and Systems. ESOP 2014. Lecture Notes in Computer Science, vol 8410. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-54833-8_26
Download citation
DOI: https://doi.org/10.1007/978-3-642-54833-8_26
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-54832-1
Online ISBN: 978-3-642-54833-8
eBook Packages: Computer ScienceComputer Science (R0)