Skip to main content

Benchmarking Communication in Actor- and Agent-Based Languages

  • Conference paper
Engineering Multi-Agent Systems (EMAS 2013)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 8245))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Agha, G.: Actors: a model of concurrent computation in distributed systems. MIT Press, Cambridge (1986)

    Google Scholar 

  2. 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)

    Article  Google Scholar 

  3. 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)

    Google Scholar 

  4. Armstrong, J.: Programming Erlang: Software for a Concurrent World. Pragmatic Bookshelf (2007)

    Google Scholar 

  5. Armstrong, J.: Erlang. Commun. ACM 53(9), 68–75 (2010)

    Article  Google Scholar 

  6. Astley, M.: The Actor Foundry: A Java-based Actor Programming Environment. Open Systems Laboratory, University of Illinois at Urbana-Champaign (1998)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. Bordini, R.H., Dastani, M., Dix, J., El Fallah Seghrouchni, A. (eds.): Multi-Agent Programming: Languages, Tools and Applications. Springer (2009)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. Busetta, P., Ronnquist, R., Hodgson, A., Lucas, A.: JACK Intelligent Agents - Components for Intelligent Agents in Java AgentLink News (2) (1999)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Cesarini, F., Thompson, S.: ERLANG Programming, 1st edn. O’Reilly Media, Inc. (2009)

    Google Scholar 

  15. Dastani, M.: 2APL: a practical agent programming language. Autonomous Agents and Multi-Agent Systems 16(3), 214–248 (2008)

    Article  Google Scholar 

  16. 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)

    Chapter  Google Scholar 

  17. 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)

    Google Scholar 

  18. 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)

    Chapter  Google Scholar 

  19. Haller, P., Odersky, M.: Scala Actors: Unifying thread-based and event-based programming. Theor. Comput. Sci. 410(2-3), 202–220 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  20. 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)

    Chapter  Google Scholar 

  21. 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)

    Google Scholar 

  22. 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)

    Google Scholar 

  23. Logan, M., Merritt, E., Carlsson, R.: Erlang and OTP in Action. Manning (November 2010)

    Google Scholar 

  24. Odersky, M., et al.: An Overview of the Scala Programming Language. Technical Report IC/2004/64, EPFL Lausanne, Switzerland (2004)

    Google Scholar 

  25. 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)

    Google Scholar 

  26. 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)

    Chapter  Google Scholar 

  27. 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)

    Google Scholar 

  28. 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)

    Chapter  Google Scholar 

  29. Suereth, J.: Scal. In: Depth. Manning Publications Co. (2012)

    Google Scholar 

  30. Wooldridge, M., Jennings, N.R.: Intelligent Agents: Theory and Practice. Knowledge Engineering Review 10, 115–152 (1995)

    Article  Google Scholar 

  31. Wyatt, D.: Akka Concurrency. Artima Incorporation, USA (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics