Parallel Remote Servers for Scientific Computing Over the Web: Random Polygons Inscribed in a Circle

  • Marco Cunha
  • Miguel CasquilhoEmail author
Conference paper
Part of the Studies in Computational Intelligence book series (SCI, volume 718)


Computing over the Web can be applied to solve problems of many types of users, namely companies, which can thus benefit from the service of remote collaborators, e.g., from academia, without the user’s awareness, namely if the user is the customer. An illustration of scientific computing over the Web is described, based on remote servers in parallel, as fits separable time consuming tasks. The illustrative problem chosen was the probabilistic behaviour of the perimeter of random polygons inscribed in a circle, because: it is simple to state; its Monte Carlo resolution suits the type of computing considered; and each polygon to be simulated (with 3, 4, etc., sides) can be assigned to multiple servers, only two servers for demonstration purposes. Our objectives are: to emphasize the pertinence of the Web for scientific or other computing; and to show the use of parallel, possibly heterogeneous remote servers. The problem shown can be freely solved on the authors’ webpage. We think the benefits of scientific computing over the Web, despite the ubiquity of this environment, have lagged behind most of the other uses of the Internet.


Scientific computing Web Parallel remote servers Monte Carlo 



The study was done at CERENA (Centre for Natural Resources and the Environment), funded by FCT, Fundação para a Ciência e Tecnologia (Portuguese “Foundation for Science and Technology”), Project UID/ECI/04028/2013, and Department of Chemical Engineering, IST (Instituto Superior Técnico), Universidade de Lisboa (University of Lisbon), Lisbon, Portugal. For the study, the authors thank: (M. Casquilho) the Department of Chemical Engineering, and (M. Cunha) the Department of Information Technology and Computers, both of IST; CIIST (the Computing Centre of IST); and Professor João Coelho Garcia (Department of Information Technology and Computers, IST, and Inesc-ID, Institute for Systems Engineering and Computers, Research and Development, Lisbon). The referees’ comments contributed to the clarity of this report.


  1. 1.
    Ferreira, M., Casquilho, M.: Scientific computing over the Internet; an example in Geometry. In: WorldCIST’13, World Conference on Information Systems and Technologies, Olhão (Faro, Portugal) (2013)Google Scholar
  2. 2.
    Casquilho, M., Cunha, M.: Scientific computing over the Web in various programming languages—solving problems in Fortran, C, and Octave. In: CISTI’2014, 9ª Conferencia Ibérica de Sistemas y Tecnologías de Información (9th Iberian Conference on Information Systems and Technologies), Barcelona (Spain) (2014)Google Scholar
  3. 3.
    Sati, M., Vikash, V., Bijalwan, V., Kumari, P., Raj, M., Balodhi, M., Gaurila, P., Semwal, V.B.: A fault-tolerant mobile computing model based on scalable replica. Int. J. Artif. Intell. Interact. Multimed. 2(6), 58–68 (2014)Google Scholar
  4. 4.
    Ponce, V.M.: San Diego State University. (2016). Accessed 01 Feb 2016
  5. 5.
    Wolfram MathWorld. (2016). Accessed 01 Feb 2016
  6. 6.
    WolframAlpha. (2016). Accessed 01 Feb 2016
  7. 7.
    EGI: European Grid Infrastructure.
  8. 8.
    SCI-BUS: SCIentific gateway Based User Support.
  9. 9.
    Cunha, M., Casquilho, M.: Applied scientific computing over the Web with remote servers: sampling with and without replacement. In: CISTI’2015, 10ª Conf. Ibérica de Sistemas e Tecnologias de Informação (10th Iberian Conf. on Information Systems and Technologies), Águeda, Aveiro (Portugal) (2015)Google Scholar
  10. 10.
    OpenMP: The OpenMP API specification for parallel programming. (2015). Accessed 01 Feb 2015, complete specification of July 2013
  11. 11.
    Argonne National Laboratory: The Message Passing Interface (MPI) standard. (2016). Accessed 01 Feb 2016
  12. 12.
    Casquilho, M.: Random polygons: remote parallel servers.
  13. 13. Regular polygon inscribed in a circle. (2016). Accessed 01 Feb 2016
  14. 14.
    Casquilho, M.: Perimeter of inscribed polygons, at Técnico (IST).
  15. 15.
    Amdahl, G.M.: Validity of the single processor approach to achieving large-scale computing capabilities. In: AFIPS Conference Proceedings, vol. 30, pp. 483–485 (1967)Google Scholar

Copyright information

© Springer International Publishing AG 2018

Authors and Affiliations

  1. 1.ISTUniversidade de Lisboa (University of Lisbon)LisboaPortugal

Personalised recommendations