Web-based optimization with JavaScript frameworks and a GraphQL-APIinterface

  • Yu Xingyue   ,
  • Thomas Wiedemann  ,
  • Wilfried Krug  
  • a , b University of applied Science Dresden (Germany),
  • Zhejiang University of Science and Technology Hangzhou (China),
  • Dualis IT Solution GmbH (Germany)
Cite as
Xingyue Y., Wiedemann T., Krug W. (2018). Web-based optimization with JavaScript frameworks and a GraphQL-APIinterface. Proceedings of the 30th European Modeling & Simulation Symposium (EMSS 2018), pp. 349-355. DOI: https://doi.org/10.46354/i3m.2018.emss.049

Abstract

There is a quiet revolution in the IT-area. Nearly all new web sites are realized as so called single page web apps with a desktop-like user interaction. The server side is also changing: instead of using hundreds of traditional web-servers in expansive server farms, only one powerful server based on NodeJS is used. The secret behind this global development is the powerful JavaScript engine called V8 by Google. It improves the
JavaScript performance and allows up to 1 Million parallel running requests on the same machine. This paper analyses the options for using this multitasking power for building web based optimizations. The first realized option is a complete client side optimization environment especially for testing and teaching purposes. The second option is a distributed client-server web environment with the new GraphQL interface for a very flexible and powerful optimization API for any simulation or universal application. The optimization methods are based on the well-known ISSOP (Intelligent System for Simulation and Optimization) desktop optimizer with about 7 different, parallel running optimization strategies.

References

  1. Clifford, Daniel 2012. Breaking the JavaScript Speed limit with V8 http://v8-io12.appspot.com/#2
    2012
  2. GraphQL Specification 2016 http://facebook.github.io/graphql/October2016/
    #sec-Enum GraphQL 2018 http://graphql.org/
  3. Krug, W, 2002. Modelling, Simulation and Optimisation for Manufacturing, Organizational and
    Logistical Processes, SCS European Publishing House: Delft
  4. NodeJs 2016. https://nodejs.org/en/
  5. Obfuscator 2018 https://javascriptobfuscator.com/
  6. Wiedemann, T. 2016. Using the JavaScript engine NodeJS for discrete simulation in a web-based
    environment. Proceedings of the I3M conference, 2016, Larnaca Cyprus