Martin Kruliš 14. 1. 2016 by Martin Kruliš (v1.1)1.

Slides:



Advertisements
Similar presentations
The GridSite Toolbar Shiv Kaushal The University of Manchester All Hands Meeting 2006.
Advertisements

Multiprocessors— Large vs. Small Scale Multiprocessors— Large vs. Small Scale.
1 CGICGI Common Gateway Interface Server-side Programming Lecture.
The GridBee Web Computing Framework Attila Szarvas BME IK 2012.
Reza hooshangi ( ). short history  One of the last major challenges for the web is to enable human communication via voice and video: Real Time.
OpenCL Peter Holvenstot. OpenCL Designed as an API and language specification Standards maintained by the Khronos group  Currently 1.0, 1.1, and 1.2.
Nikola Dimitroff Creating Genres creatinggenres.com.
Delivering the multiagent technology to end-users through the web D. Mitrović 1, M. Ivanović 1, C. Bădică 2 1 University of Novi Sad, Serbia 2 University.
Task Scheduling and Distribution System Saeed Mahameed, Hani Ayoub Electrical Engineering Department, Technion – Israel Institute of Technology
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Threads Clients Servers Code Migration Software Agents Summary
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Reverse AJAX and HTML5 Based Clients for Embedded Control and Monitoring Systems C Robson, C Bohm, Stockholm University or "HTML5, why should we care?"
Session-01. What is a Servlet? Servlet can be described in many ways, depending on the context: 1.Servlet is a technology i.e. used to create web application.
Development of mobile applications using PhoneGap and HTML 5
CHAPTER 28 INTEGRATING WEB WORKERS. LEARNING OBJECTIVES How a Web worker is essentially a JavaScript routine that performs concurrent processing within.
Client/Server Architectures
Martin Kruliš by Martin Kruliš (v1.0)1.
Lightning Talk Fred Rodriguez Aakash Juneja CPSC 473 March 16, 2012.
1 Integrating GPUs into Condor Timothy Blattner Marquette University Milwaukee, WI April 22, 2009.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
Open Web App. Purpose To explain Open Web Apps To explain Open Web Apps To demonstrate some opportunities for a small business with this technology To.
M i SMob i S Mob i Store - Mobile i nternet File Storage Platform Chetna Kaur.
Introduction to Internet Programming (Web Based Application)
Enabling Embedded Systems to access Internet Resources.
Fundamentals of Database Chapter 7 Database Technologies.
1 Tongji University Rong Chen 3/1/2005 OS Research Trends and Elastos Overview.
WEB WORKERS 1 Amitesh Madhur (Exceptional Performance, Bangalore)
Copyright, 1996 © Dale Carnegie & Associates, Inc. Presented by Hsiuling Hsieh Christine Liu.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
Asynchronous Communication Between Components Presented By: Sachin Singh.
UNIT 1 BROWSERS AND CLIENTS Cambridge Technicals.
CS 346 – Chapter 4 Threads –How they differ from processes –Definition, purpose Threads of the same process share: code, data, open files –Types –Support.
SE-02 COMPONENTS – WHY? Object-oriented source-level re-use of code requires same source code language. Object-oriented source-level re-use may require.
2011/12/20 1 Tongbo Luo, Hao Hao, Wenliang Du, Yifei Wang, and Heng Yin Syracuse University ACSAC 2011.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Copyright © cs-tutorial.com. Overview Introduction Architecture Implementation Evaluation.
C C Implementation  Prototype based on Firefox 3.0b2 codebase/ Spidermonkey VM  Uses SM contexts to manage multiple JavaScript execution contexts simultaneously.
CS333 Intro to Operating Systems Jonathan Walpole.
Vitaliy Tarnavskyy Jun 26, 2013 Using Web workers in Javascript.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 13. Review Shared Data Software Architectures – Black board Style architecture.
REAL WORLD AJAX MARCH TIBCO USER CONFERENCE / 2004 Enterprise Rich Internet Applications with AJAX Real World Case Studies with TIBCO General Interface™
13 June 2001M.Al-Turany/Root20011 Mohammad Al-Turany Go4 GSI Darmstadt 13 June 2001.
A Demonstration of Collaborative Web Services and Peer-to-Peer Grids Minjun Wang Department of Electrical Engineering and Computer Science Syracuse University,
CSI 3125, Preliminaries, page 1 SERVLET. CSI 3125, Preliminaries, page 2 SERVLET A servlet is a server-side software program, written in Java code, that.
Martin Kruliš by Martin Kruliš (v1.0)1.
Node.Js 1. 2 Contents About Node.Js Web requirement latest trends Introduction Simple web server creation in Node.Js Dynamic Web pages Dynamic web page.
Computer Systems Lab TJHSST Senior Research Project Browser Based Distributed Computing Siggi Simonarson.
Martin Kruliš by Martin Kruliš (v1.0)1.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Introduction to Node.js® Jitendra Kumar Patel Saturday, January 31, 2015.
General Purpose Grid Computing LCA. Specification The system will provide a multi-threaded, shared memory environment that is distributed across a loosely.
NGS computation services: APIs and Parallel Jobs
HTML5 APIs for Data Handling and Processing
University of Technology
#01 Client/Server Computing
Node.Js Server Side Javascript
2017, Fall Pusan National University Ki-Joune Li
Parallel Programming in Contemporary Programming Languages (Part 2)
DWR: Direct Web Remoting
Transactional Memory Semaphores, monitors, and conditional critical regions all suffer from limitations based on lock semantics Naïve synchronization may.
COMPONENTS – WHY? Object-oriented source-level re-use of code requires same source code language. Object-oriented source-level re-use may require understanding.
Parallel programming in Java
#01 Client/Server Computing
Presentation transcript:

Martin Kruliš by Martin Kruliš (v1.1)1

 Massively Distributed Systems ◦ Computing grids using Internet (e.g., BOINC) ◦ Millions of PCs offering their computational power  Major Issues ◦ Security  Implicit trust in the code the clients are running  Vulnerable to sabotage ◦ Accessibility (complexity of client installation) ◦ Works for specific problems only  With heavy computations and small data transfers by Martin Kruliš (v1.1)2

 Web Browser as a Computing Platform ◦ Recent development in web technologies  JavaScript and new HTML5 features  Parallel execution (web workers, webCL)  Communication (Asynchronous HTTP, WebSockets)  Advantages ◦ Trivial usage, no (additional) installation required  Everyone has/uses web browser these days ◦ Implicit security provided by the browser  Disadvantages ◦ Potential for parasitic computing systems by Martin Kruliš (v1.1)3

 Web Workers ◦ API, which is part of new HTML5 technologies ◦ Worker represents separate computing thread  The code of the worker is sandboxed  API for bidirectional communication with main thread  Workers may spawn sub-workers ◦ API  Worker(url) – constructing function  Worker.postMessage(msg) – send message to the peer  Worker.onmessage – receiving message event handler  Worker.terminate() – kill the worker thread by Martin Kruliš (v1.1)4 Example 1

 WebCL ◦ JavaScript binding for OpenCL API  Allows access to multicore CPUs and GPUs  Implemented in window.WebCL interface ◦ Currently no browser natively implements WebCL  Plugins exist for majority of browsers ◦ Important issues  OpenCL device/host synchronization is often performed by blocking operations  Callbacks should be used in WebCL instead  Explicit object releasing is required due to dynamic nature of JS (managed memory and garbage collector) by Martin Kruliš (v1.1)5 Example 2

by Martin Kruliš (v1.1)6