Concurrent Benchmark System for Web-Frameworks on Python

Total Page:16

File Type:pdf, Size:1020Kb

Concurrent Benchmark System for Web-Frameworks on Python UKRAINIAN CATHOLIC UNIVERSITY BACHELOR THESIS Concurrent benchmark system for web-frameworks on Python Author: Supervisor: Andriy PANKIV Oles DOBOSEVYCH A thesis submitted in fulfillment of the requirements for the degree of Bachelor of Science in the Department of Computer Sciences Faculty of Applied Sciences Lviv 2019 ii Declaration of Authorship I, Andriy PANKIV, declare that this thesis titled, “Concurrent benchmark system for web-frameworks on Python” and the work presented in it are my own. I confirm that: • This work was done wholly or mainly while in candidature for a research de- gree at this University. • Where any part of this thesis has previously been submitted for a degree or any other qualification at this University or any other institution, this has been clearly stated. • Where I have consulted the published work of others, this is always clearly attributed. • Where I have quoted from the work of others, the source is always given. With the exception of such quotations, this thesis is entirely my own work. • I have acknowledged all main sources of help. • Where the thesis is based on work done by myself jointly with others, I have made clear exactly what was done by others and what I have contributed my- self. Signed: Date: iii UKRAINIAN CATHOLIC UNIVERSITY Faculty of Applied Sciences Bachelor of Science Concurrent benchmark system for web-frameworks on Python by Andriy PANKIV Abstract The frameworks have come a long way, and each new developer is faced not only with learning the language but also with the choice of the first framework for him- self. The current choice is the result of incredible innovations in a relatively short period. As recently as 2004, Google released Gmail, which is considered the first product to be an all-in-browser; Today, such products are called one-page applica- tions. Have you ever tried to create a front-end web interface using only HTML, CSS, and JavaScript? Well, nowadays it’s not so hard. If the requirements are not too complicated, a small project can be completed relatively quickly. As for medium and large projects, to cope with the complexity of user requirements, you will need at least one framework. Here you can find links to GitHub repositories for every part of my project: • TestModuleExecutor • FlaskTestModule • DjangoTestModule • PyramidTestModule iv Acknowledgements I would first like to thank my diploma supervisor Oles Dobosevych of the Faculty of Applied Sciences at Ukrainian Catholic University. The door to the Oles office was always open whenever I ran into a trouble spot or had a question about my research or writing. Also, I am thankful to the Ukrainian Catholic University for the possibility to join very comfortable and maintainable atmosphere, which give me the appropriate impulse to improve myself every day. v Contents Declaration of Authorship ii Abstract iii Acknowledgements iv 1 Introduction1 2 Related works2 2.1 TechEmpower first steps and last results..................2 2.2 How they build their tests..........................2 2.3 How their machines are configured.....................3 3 What are Docker and Docker-Compose4 3.1 Docker.....................................4 3.1.1 How it works.............................4 3.2 Docker-Compose...............................5 4 What are Celery and Redis7 4.1 Celery......................................7 4.2 Redis......................................8 5 Nginx9 6 Project Structure 10 6.1 Microservice architecture........................... 10 6.2 Project parts.................................. 10 6.3 Workflow.................................... 11 7 Results 12 7.1 CRUD Testflow................................ 12 7.1.1 Flask CRUD results.......................... 13 7.1.2 Django CRUD results........................ 14 7.1.3 Pyramid CRUD results........................ 15 7.2 JSON Testflow................................. 15 7.2.1 Frameworks JSON results...................... 16 8 Conclusion 17 Bibliography 18 vi List of Tables 7.1 Flask CRUD results.............................. 13 7.2 Django CRUD results............................. 14 7.3 Pyramid CRUD results............................ 15 7.4 JSON Serialization results.......................... 16 vii List of Abbreviations JSON Java Script Object Notation HTTP Hyper Text Transfer Protocol PaaS Platform as a Service Iaas Infrastructure as a Service CaaS Containers as a Service SQL Structured Query Language IT Information Technology AWS Amazon Web Services IoT Internet of Things ORM Object Relational Mapping DB Data Base CRUD Create Read Update Delete CSS Cascading Style Sheets 1 Chapter 1 Introduction In 2019, whatever your want to do, business or non-profit project, government or your personal idea, you need to communicate with others. You can yell about your thought on the street or attract customers with flyers or brochures. All this methods can be quite effective, but percentage of the people who would see your work, can be quite low comparing with world scales. So, how to attract those attention more ef- fectively? How to yell all over the world? Answer is simple – build a website, where you can talk to your customers in any point on earth, in any language you need. But how to build effective and fast website? You can use popular website builder such as WordPress or Wix, but such solution may be slow and not as customizable as you want it to be. As a result, you need to develop your own web project to satisfy all your and your customer needs. In modern world, there is no need to reinvent the wheel, you or your employees need to use modern instruments to make work done. Those instruments is called frameworks. Nowadays, it is hard to choose from such wide variety of the ready-to-use solutions. With this diploma work I will try to make this decision easier for you, not among all possible web-frameworks, but, at least I will help to choose between popular Python projects, such as Flask, Django and Pyramid. 2 Chapter 2 Related works 2.1 TechEmpower first steps and last results The problem of choosing a web framework to create its new web server has ex- isted since the growing popularity of the World Wide Web and, accordingly, the widespread popularity of web browsers. With such rapid growth, programmers from all over the world have demonstrated their options for designing and main- taining sites of varying complexity and purpose. There are over 500 frames in more than 30 languages, each with its disadvantages, pros, and its unique capabilities. It can take a lot of time to make a choice, with such a wide assortment. For this, TechEmpower programmers have developed their first benchmark since March 2013 and published the results of the testing of 24 web-based frameworks. After that, for five years, they have released 16 more results of their achievements, the last of which took place in October 2018. For such an extended period, the team from TechEmpowers has developed 1774 tests for 431 frameworks in 26 languages. 2.2 How they build their tests Even after the first tests, TechEmpower realized that among the many factors that need to be taken into account when choosing a web-based framework, it’s easier to evaluate performance objectively. Application performance can be directly reflected in the final project cost, and for a young company hosting costs can be a pain point. Weak performance can also lead to premature scaling, degradation of user experi- ence and related issues. The first tests were aimed at providing a "starting point" for various frameworks. Under the "starting point" they mean the point from which the performance of any real program can only worsen. They want to know the upper bound of the frame- work on the unit of web equipment. But they also want to implement some of the framework components, such as JSON serialization and database connetion. Although, each test is limited to mea- suring the number of requests per second that can be processed by one server, they perform a selection of components provided by modern frameworks, so they con- sider it a reasonable starting point. For test-related data, they deliberately built tests to avoid any caching layer pro- vided by the framework. They want this test to require repeated requests to external services (for example, MySQL or MongoDB) to execute the data mapping code im- plemented by the framework. 2.3. How their machines are configured 3 2.3 How their machines are configured For all tests, they used two machines configured in the following roles: • Application server. This machine is responsible for hosting web applications only. • Client and database server. This machine is responsible for client side, it gen- erate HTTP traffic to the application server using WeigHTTP, as well as for hosting the database server. In all their tests, the database server (MySQL or MongoDB) used very little processor time; processor resource was not ex- hausted. In the database tests, the network was used to provide the application server sets of results and to return HTTP responses in the opposite direction. However, even with the fastest frameworks, the use of networks was lower in database tests than in the usual JSON tests, so it is unlikely to be anxious. After completing Round 15, they took the challenge to rewrite all ~ 460 test im- plementations from their home configuration to an enormous array of Docker con- tainers. It took some time, but the Great Docking Certification gave significant ad- vantages. Due to the duplication, reproducibility, and consistency of their measurements have become much better than in previous rounds. Coupled with their continuous testing, they now see significantly less variation between each startup. Indeed, what they do with this project is perfect for Docker. Or the Docker is ideal for this. 4 Chapter 3 What are Docker and Docker-Compose 3.1 Docker Along the years, developers have been looking for the best solutions of their app de- ployment. They discovered that PaaS models are too high-level for black box envi- ronment style.
Recommended publications
  • Cubes Documentation Release 1.0.1
    Cubes Documentation Release 1.0.1 Stefan Urbanek April 07, 2015 Contents 1 Getting Started 3 1.1 Introduction.............................................3 1.2 Installation..............................................5 1.3 Tutorial................................................6 1.4 Credits................................................9 2 Data Modeling 11 2.1 Logical Model and Metadata..................................... 11 2.2 Schemas and Models......................................... 25 2.3 Localization............................................. 38 3 Aggregation, Slicing and Dicing 41 3.1 Slicing and Dicing.......................................... 41 3.2 Data Formatters........................................... 45 4 Analytical Workspace 47 4.1 Analytical Workspace........................................ 47 4.2 Authorization and Authentication.................................. 49 4.3 Configuration............................................. 50 5 Slicer Server and Tool 57 5.1 OLAP Server............................................. 57 5.2 Server Deployment.......................................... 70 5.3 slicer - Command Line Tool..................................... 71 6 Backends 77 6.1 SQL Backend............................................. 77 6.2 MongoDB Backend......................................... 89 6.3 Google Analytics Backend...................................... 90 6.4 Mixpanel Backend.......................................... 92 6.5 Slicer Server............................................. 94 7 Recipes 97 7.1 Recipes...............................................
    [Show full text]
  • Preview Turbogears Tutorial
    TurboGears About the Tutorial TurboGears is a Python web application framework, which consists of many modules. It is designed around the MVC architecture that are similar to Ruby on Rails or Struts. TurboGears are designed to make rapid web application development in Python easier and more supportable. TurboGears is a web application framework written in Python. TurboGears follows the Model-View-Controller paradigm as do most modern web frameworks like Rails, Django, Struts, etc. This is an elementary tutorial that covers all the basics of TurboGears. Audience This tutorial has been designed for all those readers who want to learn the basics of TurboGears. It is especially going to be useful for all those Web developers who are required to simplify complex problems and create single database backed webpages. Prerequisites We assume the readers of this tutorial have a basic knowledge of web application frameworks. It will be an added advantage if the readers have hands-on experience of Python programming language. In addition, it is going to also help if the readers have an elementary knowledge of Ruby-on-Rails and Struts. Disclaimer & Copyright Copyright 2016 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors.
    [Show full text]
  • An Online Analytical Processing Multi-Dimensional Data Warehouse for Malaria Data S
    Database, 2017, 1–20 doi: 10.1093/database/bax073 Original article Original article An online analytical processing multi-dimensional data warehouse for malaria data S. M. Niaz Arifin1,*, Gregory R. Madey1, Alexander Vyushkov2, Benoit Raybaud3, Thomas R. Burkot4 and Frank H. Collins1,4,5 1Department of Computer Science and Engineering, University of Notre Dame, Notre Dame, Indiana, USA, 2Center for Research Computing, University of Notre Dame, Notre Dame, Indiana, USA, 3Institute for Disease Modeling, Bellevue, Washington, USA, 4Australian Institute of Tropical Health and Medicine, James Cook University, Cairns, Queensland, Australia 5Department of Biological Sciences, University of Notre Dame, Notre Dame, Indiana, USA *Corresponding author: Tel: þ1 574 387 9404; Fax: 1 574 631 9260; Email: sarifi[email protected] Citation details: Arifin,S.M.N., Madey,G.R., Vyushkov,A. et al. An online analytical processing multi-dimensional data warehouse for malaria data. Database (2017) Vol. 2017: article ID bax073; doi:10.1093/database/bax073 Received 15 July 2016; Revised 21 August 2017; Accepted 22 August 2017 Abstract Malaria is a vector-borne disease that contributes substantially to the global burden of morbidity and mortality. The management of malaria-related data from heterogeneous, autonomous, and distributed data sources poses unique challenges and requirements. Although online data storage systems exist that address specific malaria-related issues, a globally integrated online resource to address different aspects of the disease does not exist. In this article, we describe the design, implementation, and applications of a multi- dimensional, online analytical processing data warehouse, named the VecNet Data Warehouse (VecNet-DW). It is the first online, globally-integrated platform that provides efficient search, retrieval and visualization of historical, predictive, and static malaria- related data, organized in data marts.
    [Show full text]
  • The Turbogears Toolbox and Other Tools
    19 The TurboGears Toolbox and Other Tools In This Chapter ■ 19.1 Toolbox Overview 372 ■ 19.2 ModelDesigner 373 ■ 19.3 CatWalk 375 ■ 19.4 WebConsole 377 ■ 19.5 Widget Browser 378 ■ 19.6 Admi18n and System Info 379 ■ 19.7 The tg-admin Command 380 ■ 19.8 Other TurboGears Tools 380 ■ 19.9 Summary 381 371 226Ramm_ch19i_indd.indd6Ramm_ch19i_indd.indd 337171 110/17/060/17/06 111:50:421:50:42 AAMM urboGears includes a number of nice features to make your life as a de- Tveloper just a little bit easier. The TurboGears Toolbox provides tools for creating and charting your database model, adding data to your database with a web based GUI while you are still in development, debugging system problems, browsing all of the installed widgets, and internationalizing your application. 19.1 Toolbox Overview The TurboGears Toolbox is started with the tg-admin toolbox command. Your browser should automatically pop up when you start the Toolbox, but if it doesn’t you should still be able to browse to http://localhost:7654, where you’ll see a web page with links for each of the tools in the toolbox (as seen in Figure 19.1). FIGURE 19.1 The TurboGears Toolbox home page Each of the components in the Toolbox is also a TurboGears application, so you can also look at them as examples of how TurboGears applications are built. 372 226Ramm_ch19i_indd.indd6Ramm_ch19i_indd.indd 337272 110/17/060/17/06 111:50:431:50:43 AAMM 19.2 ModelDesigner 373 Because there isn’t anything in TurboGears that can’t be done in code or from the command line, the use of the Toolbox is entirely optional.
    [Show full text]
  • Mastering Flask Web Development Second Edition
    Mastering Flask Web Development Second Edition Build enterprise-grade, scalable Python web applications Daniel Gaspar Jack Stouffer BIRMINGHAM - MUMBAI Mastering Flask Web Development Second Edition Copyright © 2018 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Commissioning Editor: Amarabha Banerjee Acquisition Editor: Devanshi Doshi Content Development Editor: Onkar Wani Technical Editor: Diksha Wakode Copy Editor: Safis Editing Project Coordinator: Sheejal Shah Proofreader: Safis Editing Indexer: Rekha Nair Graphics: Alishon Mendonsa Production Coordinator: Aparna Bhagat First published: September 2015 Second Edition: October 2018 Production reference: 1301018 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78899-540-5 www.packtpub.com mapt.io Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career.
    [Show full text]
  • Core Python ❱ Python Operators By: Naomi Ceder and Mike Driscoll ❱ Instantiating Classes
    Brought to you by: #193 CONTENTS INCLUDE: ❱ Python 2.x vs. 3.x ❱ Branching, Looping, and Exceptions ❱ The Zen of Python ❱ Popular Python Libraries Core Python ❱ Python Operators By: Naomi Ceder and Mike Driscoll ❱ Instantiating Classes... and More! Visit refcardz.com Python is an interpreted dynamically typed Language. Python uses Comments and docstrings indentation to create readable, even beautiful, code. Python comes with To mark a comment from the current location to the end of the line, use a so many libraries that you can handle many jobs with no further libraries. pound sign, ‘#’. Python fits in your head and tries not to surprise you, which means you can write useful code almost immediately. # this is a comment on a line by itself x = 3 # this is a partial line comment after some code Python was created in 1990 by Guido van Rossum. While the snake is used as totem for the language and community, the name actually derives from Monty Python and references to Monty Python skits are common For longer comments and more complete documentation, especially at the in code examples and library names. There are several other popular beginning of a module or of a function or class, use a triple quoted string. implementations of Python, including PyPy (JIT compiler), Jython (JVM You can use 3 single or 3 double quotes. Triple quoted strings can cover multiple lines and any unassigned string in a Python program is ignored. Get More Refcardz! integration) and IronPython (.NET CLR integration). Such strings are often used for documentation of modules, functions, classes and methods.
    [Show full text]
  • Cherrypy Documentation Release 3.2.4
    CherryPy Documentation Release 3.2.4 CherryPy Team Jun 30, 2017 Contents 1 Foreword 1 1.1 Why CherryPy?.............................................1 1.2 Success Stories..............................................2 2 Installation 5 2.1 Requirements...............................................5 2.2 Supported python version........................................6 2.3 Installing.................................................6 2.4 Run it...................................................6 3 Tutorials 9 3.1 Tutorial 1: A basic web application................................... 10 3.2 Tutorial 2: Different URLs lead to different functions.......................... 10 3.3 Tutorial 3: My URLs have parameters.................................. 11 3.4 Tutorial 4: Submit this form....................................... 12 3.5 Tutorial 5: Track my end-user’s activity................................. 13 3.6 Tutorial 6: What about my javascripts, CSS and images?........................ 14 3.7 Tutorial 7: Give us a REST....................................... 15 3.8 Tutorial 8: Make it smoother with Ajax................................. 17 3.9 Tutorial 9: Data is all my life...................................... 19 3.10 Tutorial 10: Organize my code...................................... 22 4 Basics 23 4.1 The one-minute application example.................................. 24 4.2 Hosting one or more applications.................................... 25 4.3 Logging.................................................. 26 4.4 Configuring...............................................
    [Show full text]
  • Formation Openstack Op Rateur
    FORMATION OPENSTACK OP��RATEUR 1 ABOUT THESE TRAINING MATERIALS 2 . 1 TRAINING MATERIALS WRITTEN BY PARTICULE ex Osones/Alterway Cloud Native experts Devops experts Our training offers: https://particule.io/en/trainings/ Sources: https://github.com/particuleio/formations/ HTML/PDF: https://particule.io/formations/ 2 . 2 COPYRIGHT License: Creative Commons BY-SA 4.0 Copyright © 2014-2019 alter way Cloud Consulting Copyright © 2020 particule. Since 2020, all commits are the property of their owners 2 . 3 INTRODUCTION 3 . 1 GOALS OF THE TRAINING: OPENSTACK Discover OpenStack and use its different services Know how the project works and its capabilities Understand the internals of each OpenStack component Be able to make the right configuration choices Be capable of manually deploying an OpenStack cloud providing IaaS Know the best practices for deploying OpenStack Be able to track down the cause of an error in OpenStack Be able how to react in front of a bug and know the fix process 3 . 2 REQUIREMENTS Advanced sys admin skills for Linux such as Ubuntu, Red Hat or Debian, including: Package management Configuration files and services handling LVM (Logical Volume Management) and filesystems Notions: Virtualization: KVM (Kernel-based Virtual Machine), libvirt Network: iptables, namespaces SQL Optional: Comfortable in a Python environment 3 . 3 OPENSTACK: THE PROJECT 4 . 1 OVERVIEW 4 . 2 HIGH LEVEL Simple version 4 . 3 HISTORY Started in 2010 Goal: the Free Open Source Cloud Operating System Merge of two projects from Rackspace (Storage) and NASA (Compute) Free software distributed under Apache 2.0 license Birth of the Foundation in 2012 4 . 4 MISSION STATEMENT To produce a ubiquitous Open Source Cloud Computing platform that is easy to use, simple to implement, interoperable between deployments, works well at all scales, and meets the needs of users and operators of both public and private clouds.
    [Show full text]
  • Evaluating Web Development Frameworks: Django, Ruby on Rails and Cakephp
    Evaluating web development frameworks: Django, Ruby on Rails and CakePHP Julia Plekhanova Temple University © September 2009 Institute for Business and Information Technology Fox School of Business Temple University The IBIT Report © 2009 Institute for Business and Information Technology, Bruce Fadem Fox School of Business, Temple University, Philadelphia, PA Editor-in-chief 19122, USA. All rights reserved. ISSN 1938-1271. Retired VP and CIO, Wyeth The IBIT Report is a publication for the members of the Fox Munir Mandviwalla School’s Institute for Business and Information Technology. IBIT reports are written for industry and based on rigorous Editor academic research and vendor neutral analysis. For additional Associate Professor and Executive Director reports, please visit our website at http://ibit.temple.edu. Fox School of Business, Temple University No part of this publication may be reproduced, stored in a Laurel Miller retrieval system or transmitted in any form or by any means, Managing Editor electronic, mechanical, photocopying, recording, scanning Director, Fox School of Business, Temple University or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the Publisher. Requests to the Publisher Board of editors for permission should be addressed to Institute for Business and Information Technology, Fox School of Business, Temple Andrea Anania University, 1810 N. 13th Street, Philadelphia, PA 19122, Retired VP and CIO, CIGNA USA, 215.204.5642, or [email protected]. Jonathan A. Brassington Disclaimer: The conclusions and statements of this report Founding Partner and CEO are solely the work of the authors. They do not represent LiquidHub Inc.
    [Show full text]
  • Datajoint: Managing Big Scientific Data Using MATLAB Or Python
    bioRxiv preprint doi: https://doi.org/10.1101/031658; this version posted November 14, 2015. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under aCC-BY 4.0 International license. DataJoint: managing big scientific data using MATLAB or Python Dimitri Yatsenko, Jacob Reimer, Alexander S. Ecker, Edgar Y. Walker, Fabian Sinz, Philipp Berens, Andreas Hoenselaar, R. James Cotton, Athanassios S. Siapas, Andreas S. Tolias November 13, 2015 Abstract ing data analysis to obtain specific cross-sections stored data based on diverse criteria from multiple datasets as in the case The rise of big data in modern research poses serious chal- of summary statistics across multiple experiments. When lenges for data management: Large and intricate datasets using the file system for organizing data, such analysis may from diverse instrumentation must be precisely aligned, an- require traversing folders and files, parse their contents, and notated, and processed in a variety of ways to extract new select and assemble the necessary data for each analysis [4]. insights. While high levels of data integrity are expected, re- Changing experimental configurations require careful adap- search teams have diverse backgrounds, are geographically tations in the structure of associated data repositories and dispersed, and rarely possess a primary interest in data sci- tedious reconfiguration of analysis scripts. ence. Here we describe DataJoint, an open-source toolbox In contrast to file systems, relational databases explicitly designed for manipulating and processing scientific data un- maintain data integrity and offer flexible access to cross- der the relational data model.
    [Show full text]
  • Rapid Web Development Using Python and AJAX
    Search for CMS data: rapid web development using python and AJAX Valentin Kuznetsov Cornell University Introduction LHC experiments set a new scale for data management DB MetaData Requirements: • Easy data access • Dynamic content and navigation • intelligent data query • integration with other applications CHEP 2007 Valentin Kuznetsov Choice Requirements • Fast turn around with changes, schema/tools evolution • Rapid web development • different views for data discovery (production, physicists, etc.) • Java too heavy, Ruby too new • Python is well adopted, used almost everywhere in CMS • easy to use, very flexible, tons of tools, ideal for prototyping • AJAX (Asynchronous JavaScript and XML) is a tool to provide dynamic web content CHEP 2007 Valentin Kuznetsov Tools ❖ Java Script toolkits: Stackable approach: ❖ Really Simple History (RSH) framework makes it easy for AJAX applications to model-view-controller incorporate bookmarking and back and architecture button support. ❖ Yahoo UI (YUI) as a cross-browser Controller JavaScript library ❖ OpenRICO as AJAX framework ❖ Cheetah for web page templates View Model ❖ CherryPy as a reach web server ❖ SQLAlchemy for transparent DB access (SQL abstraction layer/Object Relational Mapper) CHEP 2007 Valentin Kuznetsov Workflow http://cmsdbs.cern.ch/discovery/getData?dbsInst=MC Location # Events Block name Apache web JavaScripts web server More info services via AJAX Template toolkit Cheetah web application CherryPy Cheetah AJAX framework server CLI API External applications SQL toolkit and Object Relational
    [Show full text]
  • Managing and Displaying User Track Data with Python
    Managing and displaying user track data with Python Walter Aprile Emanuele Ruffaldi Antonio Frisoli Massimo Bergamasco [email protected] [email protected] [email protected] [email protected] Scuola Superiore Sant'Anna, Laboratorio PERCRO Viale R. Piaggio 34, 56025 Pontedera (PI), Italy +39 050 883057 Abstract: User studies that feature user movement in the real world or in simulated environment generate datasets, usually in the form of logfiles, that need to be stored, summarized, processed and represented. Datasets must additionally include metadata that accounts for experimental conditions. We have developed a class that produces graphical displays of user travels over a regularly-spaced grid, and a set of web-controllable database management tools that allow incremental data exploration as the user experiments progress. Making sense of user movement and user commands In our research work at the PERceptual RObotics (PERCRO) laboratory of Scuola Superiore Sant'Anna we frequently work with data that describes the movement of users when performing tasks. This data can describe various types of phenomena such as: 1- end effector user-controlled movement of haptic interfaces: a user holds a haptic interface such as a force feedback joystick or a GRAB interface (Avizzano et al., 2003), and we are interested in the movement of the point where the users' fingers contact the physical interface. 2- user navigation through a virtual environment 3- hand and head motion acquired through various optical tracking techniques 4- multi-track movement
    [Show full text]