Abstract
This paper presents the results of communication benchmarks comparing an agent-oriented programming language and two actor-oriented programming languages. It is based on an existing benchmark for programming languages and two variations on that benchmark. We selected Erlang and Akka (using the Scala interface) to represent actor languages, and Jason as the agent language representative. We also present those three scenarios and the respective results in regards to time, core usage, and memory. Even though BDI engines typically used for agent languages provide sophisticated programming abstractions that require significant platform overhead to facilitate the development of complex agents, our initial results show that Jason has reasonable performance for this type of benchmark, where actor-based languages were expected to do significantly better than agent languages.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Agha, G.: Actors: a model of concurrent computation in distributed systems. MIT Press, Cambridge (1986)
Alberola, J.M., Such, J.M., Garcia-Fornes, A., Espinosa, A., Botti, V.: A performance evaluation of three multiagent platforms. Artif. Intell. Rev. 34(2), 145–176 (2010)
Alechina, N., Behrens, T., Hindriks, K., Logan, B.: Query Caching in Agent Programming Languages. In: Proceedings of ProMAS-2012, Held with AAMAS 2012, Valencia, Spain, pp. 117–131 (June 2012)
Armstrong, J.: Programming Erlang: Software for a Concurrent World. Pragmatic Bookshelf (2007)
Armstrong, J.: Erlang. Commun. ACM 53(9), 68–75 (2010)
Astley, M.: The Actor Foundry: A Java-based Actor Programming Environment. Open Systems Laboratory, University of Illinois at Urbana-Champaign (1998)
Behrens, T.M., Hindriks, K., Hübner, J., Dastani, M.: Putting APL Platforms to the Test: Agent Similarity and Execution Performance. Technical Report IfI-10-09, Clausthal University of Technology (2010)
Bitting, E., Carter, J., Ghorbani, A.A.: Multiagent System Development Kits: An Evaluation. In: Proceedings of the 1st Annual Conference on Communication Networks and Services Research (CNSR 2003), CNSR Project, pp. 80–92 (2003)
Bordini, R.H., Dastani, M., Dix, J., El Fallah Seghrouchni, A. (eds.): Multi-Agent Programming: Languages, Tools and Applications. Springer (2009)
Bordini, R.H., Hübner, J.F., Wooldridge, M.: Programming Multi-agent Systems in AgentSpeak Using Jason. Wiley Series in Agent Technology. John Wiley & Sons (2007)
Braubach, L., Pokahr, A., Lamersdorf, W.: A Universal Criteria Catalog for Evaluation of Heterogeneous Agent Development Artifacts. In: Jung, B., Michel, F., Ricci, A., Petta, P. (eds.) From Agent Theory to Agent Implementation (AT2AI-6), pp. 19–28 (2008)
Busetta, P., Ronnquist, R., Hodgson, A., Lucas, A.: JACK Intelligent Agents - Components for Intelligent Agents in Java AgentLink News (2) (1999)
Cardoso, R.C., Hübner, J.F., Bordini, R.H.: Benchmarking Communication in Agent- and Actor-Based Languages (Extended Abstract). In: Proceedings of the AAMAS 2013, Saint Paul, Minnesota, USA, pp. 1267–1268 (2013)
Cesarini, F., Thompson, S.: ERLANG Programming, 1st edn. O’Reilly Media, Inc. (2009)
Dastani, M.: 2APL: a practical agent programming language. Autonomous Agents and Multi-Agent Systems 16(3), 214–248 (2008)
Díaz, Á.F., Earle, C.B., Fredlund, L.-Å.: eJason: An Implementation of Jason in Erlang. In: Dastani, M., Hübner, J.F., Logan, B. (eds.) ProMAS 2012. LNCS, vol. 7837, pp. 1–16. Springer, Heidelberg (2013)
Fernández, V., Grimaldo, F., Lozano, M., Orduña, J.M.: Evaluating Jason for Distributed Crowd Simulations. In: Filipe, J., Fred, A.L.N., Sharp, B. (eds.) ICAART (2), pp. 206–211. INSTICC Press (2010)
Haller, P., Odersky, M.: Event-based programming without inversion of control. In: Lightfoot, D.E., Ren, X.-M. (eds.) JMLC 2006. LNCS, vol. 4228, pp. 4–22. Springer, Heidelberg (2006)
Haller, P., Odersky, M.: Scala Actors: Unifying thread-based and event-based programming. Theor. Comput. Sci. 410(2-3), 202–220 (2009)
Hindriks, K.V., de Boer, F.S., van der Hoek, W., Meyer, J.-J.C.: Agent Programming with Declarative Goals. In: Castelfranchi, C., Lespérance, Y. (eds.) ATAL 2000. LNCS (LNAI), vol. 1986, pp. 228–243. Springer, Heidelberg (2001)
Jordan, H., Botterweck, G., Huget, M.-P., Collier, R.: A feature model of actor, agent, and object programming languages. In: Proceedings of AGERE 2011, pp. 147–158. ACM, New York (2011)
Karmani, R.K., Shali, A., Agha, G.: Actor frameworks for the JVM platform: a comparative analysis. In: Proceedings of the 7th International Conference on Principles and Practice of Programming in Java, PPPJ 2009, pp. 11–20. ACM, New York (2009)
Logan, M., Merritt, E., Carlsson, R.: Erlang and OTP in Action. Manning (November 2010)
Odersky, M., et al.: An Overview of the Scala Programming Language. Technical Report IC/2004/64, EPFL Lausanne, Switzerland (2004)
Pokahr, A., Braubach, L., Lamersdorf, W.: Jadex: Implementing a bdi-infrastructure for jade agents. EXP - in search of innovation (Special Issue on JADE) 3(3), 76–85 (2003)
Rao, A.S.: AgentSpeak(L): BDI Agents Speak Out in a Logical Computable Language. In: Perram, J., Van de Velde, W. (eds.) MAAMAW 1996. LNCS, vol. 1038, pp. 42–55. Springer, Heidelberg (1996)
Ricci, A., Santi, A.: Programming abstractions for integrating autonomous and reactive behaviors: an agent-oriented approach. In: Proceedings of AGERE! 2012, pp. 83–94. ACM, New York (2012)
Shakshuki, E., Jun, Y.: Multi-agent Development Toolkits: An Evaluation. In: Orchard, B., Yang, C., Ali, M. (eds.) IEA/AIE 2004. LNCS (LNAI), vol. 3029, pp. 209–218. Springer, Heidelberg (2004)
Suereth, J.: Scal. In: Depth. Manning Publications Co. (2012)
Wooldridge, M., Jennings, N.R.: Intelligent Agents: Theory and Practice. Knowledge Engineering Review 10, 115–152 (1995)
Wyatt, D.: Akka Concurrency. Artima Incorporation, USA (2013)
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
Cardoso, R.C., Hübner, J.F., Bordini, R.H. (2013). Benchmarking Communication in Actor- and Agent-Based Languages. In: Cossentino, M., El Fallah Seghrouchni, A., Winikoff, M. (eds) Engineering Multi-Agent Systems. EMAS 2013. Lecture Notes in Computer Science(), vol 8245. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-45343-4_4
Download citation
DOI: https://doi.org/10.1007/978-3-642-45343-4_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-45342-7
Online ISBN: 978-3-642-45343-4
eBook Packages: Computer ScienceComputer Science (R0)