skip to main content
10.1145/2598394.2605688acmconferencesArticle/Chapter ViewAbstractPublication PagesgeccoConference Proceedingsconference-collections
technical-note

NodEO, a multi-paradigm distributed evolutionary algorithm platform in JavaScript

Published: 12 July 2014 Publication History

Abstract

After more than fifteen years, JavaScript has finally risen as a popular language for implementing all kind of applications, from server-based to rich internet applications. The fact that it is implemented in the browser and in server-side tools makes it interesting for designing evolutionary algorithm frameworks that encompass both tiers, but besides, they allow a change in paradigm that goes beyond the canonical evolutionary algorithm. In this paper we will experiment with different architectures, client-server and peer to peer to assess which ones offer most advantages in terms of performance, scalability and ease of use for the computer scientist. All implementations have been released as open source, and besides showing that the concept of working with evolutionary algorithms in JavaScript can be done efficiently, we prove that a master-slave parallel architecture offers the best combination of time and algorithmic improvements in a parallel evolutionary algorithm that leverages JavaScript implementation features.

References

[1]
D. H. Ackley. A connectionist machine for genetic hillclimbing. Kluwer Academic Publishers, Norwell, MA, USA, 1987.
[2]
L. Araujo and J. J. Merelo Guervos. Multikulti algorithm: Using genotypic differences in adaptive distributed evolutionary algorithm migration policies. In Evolutionary Computation, 200 CEC '09. IEEE Congress on, pages 2858--2865, May 2009.
[3]
P. A. Castillo, J. L. Bernier, M. García-Arenas, J.-J. Merelo-Guervós, and P. García-Sánchez. SOAP vs REST: Comparing a master-slave GA implementation. CoRR, abs/1105.4978, 2011.
[4]
D. Crockford. JavaScript: The world's most misunderstood programming language. www.crockford.com, 2001.
[5]
ECMA. 262: ECMAScript Language Specification, 1999.
[6]
D. Flanagan. JavaScript. O'Reilly, 1998.
[7]
D. Gonzŏlez Lombraña, J. L. J. Laredo, F. Fernández de Vega, and J. J. Merelo Guervós. Characterizing fault-tolerance of genetic algorithms in desktop grid systems. In Evolutionary Computation in Combinatorial Optimization, pages 131--142. Springer, 2010.
[8]
T. Helmuth and L. Spector. Evolving a digital multiplier with the PushGP genetic programming system. In Proceeding of the fifteenth annual conference companion on Genetic and evolutionary computation conference companion, pages 1627--1634. ACM, 2013.
[9]
J. Klein and L. Spector. Unwitting distributed genetic programming via asynchronous JavaScript and XML. In Proceedings of the 9th annual conference on Genetic and evolutionary computation, pages 1628--1635. ACM, 2007.
[10]
W. Langdon. Global Distributed Evolution of L-Systems Fractals. In Genetic Programming: 7th European Conference, EuroGP 2004, Coimbra, Portugal, April 5-7, 2004, Proceedings, volume 7, pages 349--358. Springer, 2004.
[11]
W. B. Langdon and A. P. Harrison. Evolving DNA motifs to predict GeneChip probe performance. Algorithms for Molecular Biology, 4(1):6, 2009.
[12]
S. Mairhofer, R. Feldt, and R. Torkar. Search-based software testing and test data generation for a dynamic programming language. In Proceedings of the 13th annual conference on Genetic and evolutionary computation, pages 1859--1866. ACM, 2011.
[13]
J. J. Merelo, P. Castillo, J. Laredo, A. Mora, and A. Prieto. Asynchronous distributed genetic algorithms with JavaScript and JSON. In WCCI 2008 Proceedings, pages 1372--1379. IEEE Press, 2008.
[14]
J. J. Merelo, A. M. García, J. L. J. Laredo, J. Lupión, and F. Tricas. Browser-based distributed evolutionary computation: performance and scaling behavior. In GECCO '07: Proceedings of the 2007 GECCO conference companion on Genetic and evolutionary computation, pages 2851--2858, New York, NY, USA, 2007. ACM Press.
[15]
J. Merelo-Guervos, A. Mora, J. Cruz, A. Esparcia-Alcazar, and C. Cotta. Scaling in distributed evolutionary algorithms with persistent population. In Evolutionary Computation (CEC), 2012 IEEE Congress on, pages 1 --8, june 2012.
[16]
J.-J. Merelo-Guervós, G. Romero, M. García-Arenas, P. A. Castillo, A.-M. Mora, and J.-L. Jiménez-Laredo. Implementation matters: Programming best practices for evolutionary algorithms. In J. Cabestany, I. Rojas, and G. J. Caparrós, editors, IWANN (2), volume 6692 of Lecture Notes in Computer Science, pages 333--340. Springer, 2011.
[17]
T. Mikkonen and A. Taivalsaari. Using JavaScript as a real programming language. Technical report, Sun Microsystems, Inc., 2007.
[18]
S. O'Grady. The RedMonk Programming Language Rankings: January 2014. Tecosystems blog, January 2014.
[19]
J. G. Peñalver and J.-J. Merelo-Guervós. Optimizing web page layout using an annealed genetic algorithm as client-side script. In Proceedings PPSN, Parallel Problem Solving from Nature V, number 1967 in Lecture Notes in Computer Science, pages 1018--1027. Springer-Verlag, 1998. http://www.springerlink.com/link.asp?id=2gqqar9cv3et5nlg.
[20]
G. Richards, S. Lebresne, B. Burg, and J. Vitek. An analysis of the dynamic behavior of JavaScript programs. ACM Sigplan Notices, 45(6):1--12, 2010.
[21]
J. Smith and K. Sugihara. GA toolkit on the Web. In Proceedings of the First Online Workshop on Soft Computing, page 12, 1996.
[22]
P. Teixeira. Asynchronous Iteration Patterns In Node.js, 2011. http://metaduck.com/01-asynchronous-iteration-patterns.html.
[23]
S. Tilkov and S. Vinoski. Node.js: Using javascript to build high-performance network programs. Internet Computing, IEEE, 14(6):80--83, Nov 2010.
[24]
M. G. Valdez, L. Trujillo, F. F. de Vega, J. J. M. Guervós, and G. Olague. Evospace: A distributed evolutionary platform based on the tuple space model. In A. I. Esparcia-Alcázar, editor, EvoApplications, volume 7835 of Lecture Notes in Computer Science, pages 499--508. Springer, 2013.

Cited By

View all
  • (2022)JGEAProceedings of the Genetic and Evolutionary Computation Conference Companion10.1145/3520304.3533960(2009-2018)Online publication date: 9-Jul-2022
  • (2016)Benchmarking Languages for Evolutionary AlgorithmsApplications of Evolutionary Computation10.1007/978-3-319-31153-1_3(27-41)Online publication date: 2-Apr-2016
  • (2015)The EvoSpace Model for Pool-Based Evolutionary AlgorithmsJournal of Grid Computing10.1007/s10723-014-9319-213:3(329-349)Online publication date: 1-Sep-2015

Index Terms

  1. NodEO, a multi-paradigm distributed evolutionary algorithm platform in JavaScript

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      GECCO Comp '14: Proceedings of the Companion Publication of the 2014 Annual Conference on Genetic and Evolutionary Computation
      July 2014
      1524 pages
      ISBN:9781450328814
      DOI:10.1145/2598394
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 12 July 2014

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. asynchronous evolution
      2. implementation issues
      3. javascript
      4. node.js
      5. parallel evolutionary algorithms

      Qualifiers

      • Technical-note

      Conference

      GECCO '14
      Sponsor:
      GECCO '14: Genetic and Evolutionary Computation Conference
      July 12 - 16, 2014
      BC, Vancouver, Canada

      Acceptance Rates

      GECCO Comp '14 Paper Acceptance Rate 180 of 544 submissions, 33%;
      Overall Acceptance Rate 1,669 of 4,410 submissions, 38%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)1
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 01 Mar 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2022)JGEAProceedings of the Genetic and Evolutionary Computation Conference Companion10.1145/3520304.3533960(2009-2018)Online publication date: 9-Jul-2022
      • (2016)Benchmarking Languages for Evolutionary AlgorithmsApplications of Evolutionary Computation10.1007/978-3-319-31153-1_3(27-41)Online publication date: 2-Apr-2016
      • (2015)The EvoSpace Model for Pool-Based Evolutionary AlgorithmsJournal of Grid Computing10.1007/s10723-014-9319-213:3(329-349)Online publication date: 1-Sep-2015

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media