Thinking and Processing in Parallel Wrap Your Head Around WF 4.0 Concurrency. Brian Noyes IDesign Inc (
|
|
- Priscilla Moore
- 6 years ago
- Views:
Transcription
1 Thinking and Processing in Parallel Wrap Your Head Around WF 4.0 Concurrency Brian Noyes IDesign Inc ( About Brian Chief Architect IDesign Inc. ( Microsoft Regional Director ( Microsoft MVP Connected Systems Publishing Developing Applications with Windows Workflow Foundation, LiveLessons training DVD, June 2007 Smart Client Deployment with ClickOnce, Addison Wesley, January 2007 Data Binding in Windows Forms 2.0, Addison Wesley, January 2006 MSDN Magazine, MSDN Online, CoDe Magazine, The Server Side.NET, asp.netpro, Visual Studio Magazine Speaking Blog: Microsoft TechEd US, Europe, Malaysia, Visual Studio Connections, DevTeach, INETA Speakers Bureau, MSDN Webcasts 1
2 Workflow and Concurrency Workflow is typically asynchronous work Workflow executes asychronously from the code that invoked or called it A unit of work or business process that executes independently of the spawning process or thread Workflows can be executed synchronously in WF 4 with the WorkflowInvoker Treat it as a chunk of business logic you invoke 2
3 Workflows and Callers Child Workflow Step 1 Step 2 Parent Workflow Start Process Invoke Sub-Process Aggregate Results Notify Client Client App WF and Multithreading WF is a VERY multithreaded execution environment Separate threads for: Host Each workflow (and its runtime instance) Activities* * WF 4.0 supports a true async model for execution within activities 3
4 Multithreading Concerns Concurrent access to memory One thread reads state from an object Another thread writes state to an object Concurrency Solutions Don t share state in memory across threads Synchronization locks Monitor, Mutex, Semaphore, etc. Auto-dispatch Thread marshalling by.net Framework to a safe thread UI Technologies SynchronizationContext class 4
5 WF Runtime obtains an IO completion port thread and uses it to run a single workflow instance No more singleton model for the runtime Thread yielded back to the pool when workflow goes idle New thread retrieved when workflow ready to run again Workflow SynchronizationContext used for thread marshalling across threads 5
6 WF Host Concurrency Host can have its own threads Multiple threads can interact with the WF Runtime Multiple threads may call into a running workflow WF Services Host may be notified on multiple threads when workflow runtime events occur No guarantee of what thread Current thread the workflow is executing on 6
7 Workflows execute on a single thread from the IO thread pool at a time No code behind for WF 4 workflows, so no worries about concurrent access to the workflow code In WF 4.0, Activities may execute asynchronously on their own threads Manual threading or thread pool async execution 7
8 By default, activities execute on the workflow thread Synchronous execution from workflow start to end Can get pseudo-concurrency from some activities Parallel, ParallelForEach Some activities can now use the WF 4 async activity model i.e. InvokeMethod Allows other activites to execute concurrently in the workflow Can easily write custom async activites 8
9 AsyncCodeActivity base class BeginExecute / EndExecute overrides from the base class Instead of Execute Executed on a background thread async from the workflow thread Activity is not complete until EndExecute completes Can have multiple child activities executing on their own threads 9
10 Resources Programming.NET Components, 2 nd Edition, Juval Lowy, O Reilly & Associates Multithreading chapter MSDN WF Site: Your Feedback is Important Please fill out a session evaluation form and either put them in the basket near the exit or drop them off at the conference registration desk. Thank you! 10
VS08 This One Goes to Going Parallel with PFX, PLINQ, TPL and Async Keywords
VS08 This One Goes to Going Parallel with PFX, PLINQ, TPL and Async Keywords Brian Noyes Chief Architect, IDesign Inc (www.idesign.net) brian.noyes@idesign.net, @briannoyes About Brian Chief Architect
More informationVS10 WCF of Many Flavors When do I use which?
VS10 WCF of Many Flavors When do I use which? Brian Noyes Chief Architect, IDesign Inc (www.idesign.net) brian.noyes@idesign.net, @briannoyes About Brian Chief Architect IDesign Inc. (www.idesign.net)
More informationBuilding Extensible XAML Client Apps
Building Extensible XAML Client Apps Brian Noyes Chief Architect, IDesign Inc www.idesign.net brian.noyes@idesign.net, @briannoyes Level: Intermediate About Brian Chief Architect IDesign Inc. (www.idesign.net)
More informationSmart Client Offline Data Caching and Synchronization
Smart Client Offline Data Caching and Brian Noyes Principal Software Architect IDesign, Inc.(www.idesign.net) About Brian Principal Software Architect, IDesign Inc. (www.idesign.net) Microsoft MVP in ASP.NET
More informationVSC01 Securing WPF Client Applications
VSC01 Securing WPF Client Applications Brian Noyes IDesign Inc (www.idesign.net) brian.noyes@idesign.net @briannoyes About Brian Chief Architect IDesign Inc. (www.idesign.net) Microsoft Regional Director
More informationPrism Composite Application Guidance
Prism Composite Application Guidance Brian Noyes www.idesign.net About Brian Chief Architect IDesign Inc. (www.idesign.net) Microsoft Regional Director (www.theregion.com) Microsoft MVP Silverlight Publishing
More informationDrive Application Behavior with Application and User Configuration Settings Brian Noyes IDesign Inc (www.idesign.net)
Drive Application Behavior with Application and User Configuration Settings Brian Noyes IDesign Inc (www.idesign.net) brian.noyes@idesign.net About Brian Chief Architect, IDesign Inc. (www.idesign.net)
More informationDrive Application Behavior with Application and User Configuration Settings. Brian Noyes IDesign Inc (www.idesign.net)
Drive Application Behavior with Application and User Configuration Settings Brian Noyes IDesign Inc (www.idesign.net) brian.noyes@idesign.net About Brian Chief Architect, IDesign Inc. (www.idesign.net)
More informationLVL08 Black Belt Silverlight Business Data Validation
LVL08 Black Belt Silverlight Business Data Validation Brian Noyes Chief Architect, IDesign Inc (www.idesign.net) brian.noyes@idesign.net, @briannnoyes About Brian Chief Architect IDesign Inc. (www.idesign.net)
More informationBuild Custom Data Bound Objects and Collections
Build Custom Data Bound Objects and Collections Brian Noyes IDesign, Inc. (www.idesign.net) brian.noyes@idesign.net About Brian Chief Architect, IDesign Inc. (www.idesign.net) Microsoft Regional Director
More informationAR.04 Composite Application Guidance for WPF (aka Prism ) Brian Noyes IDesign Inc (www.idesign.net)
AR.04 Composite Application Guidance for WPF (aka Prism ) Brian Noyes IDesign Inc (www.idesign.net) brian.noyes@idesign.net About Brian Chief Architect, IDesign Inc. (www.idesign.net) Microsoft Regional
More informationAPP301: Implement a Data Access Layer with Enterprise Library
APP301: Implement a Data Access Layer with Enterprise Library Brian Noyes IDesign Inc. (www.idesign.net) brian.noyes@idesign.net http://www.softinsight.com/bnoyes/ About Brian Chief Architect, IDesign
More informationBuild Testable Client and Service Applications
Build Testable Client and Service Applications Brian Noyes IDesign Inc (www.idesign.net) brian.noyes@idesign.net About Brian Chief Architect IDesign Inc. (www.idesign.net) Microsoft Regional Director MVP
More informationVWC02 Build N-Tier Silverlight Data Applications Easily with WCF RIA Services
VWC02 Build N-Tier Silverlight Data Applications Easily with WCF RIA Services Brian Noyes IDesign Inc (www.idesign.net) brian.noyes@idesign.net @briannoyes About Brian Chief Architect IDesign Inc. (www.idesign.net)
More informationWCF RIA Services. About Brian 8/10/2011. Brian Noyes Chief Architect IDesign Inc. (www.idesign.net)
WCF RIA Services Brian Noyes www.idesign.net About Brian Chief Architect IDesign Inc. (www.idesign.net) Microsoft Regional Director (www.theregion.com) Microsoft MVP Silverlight Publishing Developers Guide
More informationComposite Application Guidance for WPF and Silverlight (AKA Prism 2 )
Composite Application Guidance for WPF and Silverlight (AKA Prism 2 ) Brian Noyes www.idesign.net About Brian Chief Architect, IDesign Inc. (www.idesign.net) Microsoft Regional Director / MVP Publishing
More informationBuilding Extensible XAML Client Apps
Building Extensible XAML Client Apps Brian Noyes IDesign Inc. (www.idesign.net) brian.noyes@idesign.net, @briannoyes About Brian Chief Architect IDesign Inc. (www.idesign.net) Microso7 Regional Director
More informationNET237: Deploying Smart Client Apps with ClickOnce
NET237: Deploying Smart Client Apps with Brian Noyes Principal Software Architect IDesign, Inc. (www.idesign.net) About Brian Principal Software Architect, IDesign Inc. (www.idesign.net) Microsoft MVP
More informationBuilding Loosely Coupled XAML Client Apps with Prism
Building Loosely Coupled XAML Client Apps with Prism Brian Noyes IDesign Inc. (www.idesign.net) brian.noyes@idesign.net, @briannoyes About Brian Chief Architect IDesign Inc. (www.idesign.net) Microsoft
More informationData Binding with Windows Forms 2.0
Data Binding with Windows Forms 2.0 Brian Noyes Chief Architect IDesign,, Inc. (www.idesign.net( www.idesign.net) About Brian Microsoft Solution Architect MVP Writing MSDN Magazine, CoDe Magazine, The
More informationLearn to Behave Extend Your XAML with Behaviors
Learn to Behave Extend Your XAML with Behaviors Brian Noyes Chief Architect, IDesign Inc. www.idesign.net brian.noyes@idesign.net, @briannoyes Level: Intermediate About Brian Chief Architect IDesign Inc.
More informationBuild Loosely Coupled Silverlight Business Applications
Build Loosely Coupled Silverlight Business Applications Brian Noyes www.idesign.net About Brian Chief Architect IDesign Inc. (www.idesign.net) Microsoft Regional Director (www.theregion.com) Microsoft
More informationWindows Presentation Foundation In Windows Forms And Vice Versa
Windows Presentation Foundation In Windows Forms And Vice Versa Brian Noyes Chief Architect IDesign Inc (www.idesign.net) 1 About Brian Chief Architect, IDesignInc. (www.idesign.net) Microsoft Regional
More informationBlissful Separation of Concerns with Model-View-ViewModel (MVVM)
Blissful Separation of Concerns with Model-View-ViewModel (MVVM) Brian Noyes Chief Architect, IDesign(www.idesign.net) brian.noyes@idesign.net, @briannoyes Level: Intermediate About Brian Chief Architect
More informationNE.15 Data Binding In Windows Presentation Foundation
NE.15 Data Binding In Windows Presentation Foundation Brian Noyes Chief Architect IDesign Inc (www.idesign.net) 1 About Brian Chief Architect, IDesignInc. (www.idesign.net) Microsoft Regional Director/MVP
More informationData Binding in ASP.NET 2.0
Data Binding in ASP.NET 2.0 Brian Noyes Principal Software Architect IDesign, Inc. (www.idesign.net) About Brian Principal Software Architect, IDesign Inc. (www.idesign.net) Microsoft MVP in ASP.NET Writing
More informationTackle Complex Data Binding in WinForms 2.0
Tackle Complex Data Binding in WinForms 2.0 Brian Noyes Principal Software Architect IDesign,, Inc. (www.idesign.net( www.idesign.net) About Brian Microsoft MVP in ASP.NET Writing MSDN Magazine, CoDe Magazine,
More informationBuild Process Driven Applications with WF
Build Process Driven Applications with WF Brian Noyes www.idesign.net 2006 IDesign Inc. All rights reserved About Brian Microsoft Regional Director / Solution Architect MVP Writing Data Binding in Windows
More informationMicrosoft TechEd US, Europe, Malaysia, Visual Studio Connections, DevTeach, INETA Speakers Bureau, MSDN Webcasts
DEV340 MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 1 Chief Architect, IDesignInc. (www.idesign.net) Microsoft Regional Director/MVP Writing
More informationSmart Client Offline Data Caching and Synchronization
Smart Client Offline Data Caching and Synchronization Brian Noyes Principal Software Architect IDesign,, Inc. www.idesign.net Offline Operations Challenges 1 What is a Smart Client Rich user interface
More informationIntroduction to.net Deployment. Brian Noyes IDesign, Inc. (
Introduction to.net Deployment Brian Noyes IDesign, Inc. (www.idesign.net) brian.noyes@idesign.net About Brian Principal Software Architect, IDesign Inc. (www.idesign.net) Microsoft MVP in ASP.NET Writing
More informationExtending ASP.NET. Brian Noyes Principal Software Architect IDesign, Inc. ( (
Extending ASP.NET Brian Noyes Principal Software Architect IDesign, Inc. (www.idesign.net( www.idesign.net) About Brian Principal Software Architect, IDesign Inc. (www.idesign.net) Microsoft MVP in ASP.NET
More informationMultitasking. Multitasking allows several activities to occur concurrently on the computer Levels of multitasking: Process based multitasking
Java Thread Multitasking Multitasking allows several activities to occur concurrently on the computer Levels of multitasking: Process based multitasking Allows programs (processes) to run concurrently
More informationContents. Timer Thread Synchronization
Osp::Base::Runtime Contents Timer Thread Synchronization Introduction Timers are provided to perform time based operations. The Runtime namespace contains classes for concurrent programming concepts like
More informationThreads Questions Important Questions
Threads Questions Important Questions https://dzone.com/articles/threads-top-80-interview https://www.journaldev.com/1162/java-multithreading-concurrency-interviewquestions-answers https://www.javatpoint.com/java-multithreading-interview-questions
More informationProgramming C# 5.0. Ian Griffiths O'REILLY' Beijing Cambridge * Farnham Kbln Sebastopol Tokyo
Programming C# 5.0 Ian Griffiths O'REILLY' Beijing Cambridge * Farnham Kbln Sebastopol Tokyo Preface xvii 1. Introducing C# 1 Why C#? 1 Why Not C#? 3 C#'s Defining Features 5 Managed Code and the CLR 7
More informationAsynchronous Programming Demystified
Asynchronous Programming Demystified http://submain.com/webcasts/asynchronous-programming-demystified/ for the webcast recording, slides and demo code download 1/14/2015 Webcast Housekeeping Audio Connect
More informationHigh Performance Computing Course Notes Shared Memory Parallel Programming
High Performance Computing Course Notes 2009-2010 2010 Shared Memory Parallel Programming Techniques Multiprocessing User space multithreading Operating system-supported (or kernel) multithreading Distributed
More informationThreads, Synchronization, and Scheduling. Eric Wu
Threads, Synchronization, and Scheduling Eric Wu (ericwu@cs) Topics for Today Project 2 Due tomorrow! Project 3 Due Feb. 17 th! Threads Synchronization Scheduling Project 2 Troubleshooting: Stock kernel
More informationAdvanced Java Programming Course. MultiThreading. By Võ Văn Hải Faculty of Information Technologies Industrial University of Ho Chi Minh City
Advanced Java Programming Course MultiThreading By Võ Văn Hải Faculty of Information Technologies Industrial University of Ho Chi Minh City Session objectives Introduction Creating thread Thread class
More informationTaming Dava Threads. Apress ALLEN HOLUB. HLuHB Darmstadt
Taming Dava Threads ALLEN HOLUB HLuHB Darmstadt Apress TM Chapter l The Architecture of Threads l The Problems with Threads l All Nontrivial Java Programs Are Multithreaded 2 Java's Thread Support Is Not
More informationKiller Windows 8 App Master Class with David Platt. June 17 June 21, 2013 Belgium (TBD)
Killer Windows 8 App Master Class with David Platt June 17 June 21, 2013 Belgium (TBD) Overview Windows 8 Store apps differ greatly from traditional PC apps. To develop them successfully, your entire approach
More informationConcurrent Programming in C++ Venkat
Concurrent Programming in C++ Venkat Subramaniam venkats@agiledeveloper.com @venkat_s Platform Neutral The standard concurrency model makes it possible to write portable concurrent code Level of Concurrency
More informationDesign Patterns. SE3A04 Tutorial. Jason Jaskolka
SE3A04 Tutorial Jason Jaskolka Department of Computing and Software Faculty of Engineering McMaster University Hamilton, Ontario, Canada jaskolj@mcmaster.ca November 18/19, 2014 Jason Jaskolka 1 / 35 1
More informationCS342: Software Design. November 21, 2017
CS342: Software Design November 21, 2017 Runnable interface: create threading object Thread is a flow of control within a program Thread vs. process All execution in Java is associated with a Thread object.
More informationArcGIS Pro SDK for.net Intro and Pro Add-in Programming Patterns. Wolfgang Kaiser
ArcGIS Pro SDK for.net Intro and Pro Add-in Programming Patterns Wolfgang Kaiser Session Overview Introduction to Pro Add-ins and the Module Introduction to Pro Configurations Asynchronous Programming:
More informationJAVA and J2EE UNIT - 4 Multithreaded Programming And Event Handling
JAVA and J2EE UNIT - 4 Multithreaded Programming And Event Handling Multithreaded Programming Topics Multi Threaded Programming What are threads? How to make the classes threadable; Extending threads;
More informationAsynchronous Database Access with Qt 4.x
Asynchronous Database Access with Qt 4.x Dave Berton Abstract How to code around the default synchronous database access in Qt 4. The database support in Qt 4.x is quite robust. The library includes drivers
More informationConcurrency: State Models & Design Patterns
Concurrency: State Models & Design Patterns Practical Session Week 02 1 / 13 Exercises 01 Discussion Exercise 01 - Task 1 a) Do recent central processing units (CPUs) of desktop PCs support concurrency?
More informationMRCP. Client Integration Manual. Developer Guide. Powered by Universal Speech Solutions LLC
Powered by Universal Speech Solutions LLC MRCP Client Integration Manual Developer Guide Revision: 37 Last updated: May 20, 2017 Created by: Arsen Chaloyan Universal Speech Solutions LLC Overview 1 Table
More informationMultiThreading 07/01/2013. Session objectives. Introduction. Introduction. Advanced Java Programming Course
Advanced Java Programming Course MultiThreading By Võ Văn Hải Faculty of Information Technologies Industrial University of Ho Chi Minh City Session objectives Introduction Creating thread Thread class
More informationCSC 4320 Test 1 Spring 2017
CSC 4320 Test 1 Spring 2017 Name 1. What are the three main purposes of an operating system? 2. Which of the following instructions should be privileged? a. Set value of timer. b. Read the clock. c. Clear
More informationC# Syllabus. MS.NET Framework Introduction
C# Syllabus MS.NET Framework Introduction The.NET Framework - an Overview Framework Components Framework Versions Types of Applications which can be developed using MS.NET MS.NET Base Class Library MS.NET
More informationDefinition Multithreading Models Threading Issues Pthreads (Unix)
Chapter 4: Threads Definition Multithreading Models Threading Issues Pthreads (Unix) Solaris 2 Threads Windows 2000 Threads Linux Threads Java Threads 1 Thread A Unix process (heavy-weight process HWP)
More informationHow to be a C# ninja in 10 easy steps. Benjamin Day
How to be a C# ninja in 10 easy steps Benjamin Day Benjamin Day Consultant, Coach, Trainer Scrum.org Classes Professional Scrum Developer (PSD) Professional Scrum Foundations (PSF) TechEd, VSLive, DevTeach,
More informationCOPYRIGHTED MATERIAL. Introducing the Project: The SmartCA Application. The Problem
Introducing the Project: The SmartCA Application The project for this book is based on a real application for a real company. The names of the company and the application have been changed for privacy
More informationCHAPTER - 4 REMOTE COMMUNICATION
CHAPTER - 4 REMOTE COMMUNICATION Topics Introduction to Remote Communication Remote Procedural Call Basics RPC Implementation RPC Communication Other RPC Issues Case Study: Sun RPC Remote invocation Basics
More informationSERVICE-ORIENTED COMPUTING
THIRD EDITION (REVISED PRINTING) SERVICE-ORIENTED COMPUTING AND WEB SOFTWARE INTEGRATION FROM PRINCIPLES TO DEVELOPMENT YINONG CHEN AND WEI-TEK TSAI ii Table of Contents Preface (This Edition)...xii Preface
More informationPOSIX Threads: a first step toward parallel programming. George Bosilca
POSIX Threads: a first step toward parallel programming George Bosilca bosilca@icl.utk.edu Process vs. Thread A process is a collection of virtual memory space, code, data, and system resources. A thread
More information[ ANATOMY OF A PROCESS IN ORACLE SOA SUTE] July 20, 2011
The document is aimed at giving an inside view of business processes as they are executed in the SOA Suite runtime. It is but obvious that synchronous and asynchronous processes are implemented differently
More informationTest Your XAML-based Windows Store Apps with Visual Studio 2013 Benjamin Day
Test Your XAML-based Windows Store Apps with Visual Studio 2013 Benjamin Day Level: Intermediate Benjamin Day Brookline, MA Consultant, Coach, & Trainer Microsoft MVP for Visual Studio ALM Team Foundation
More informationIntegration Framework. Architecture
Integration Framework 2 Architecture Anyone involved in the implementation or day-to-day administration of the integration framework applications must be familiarized with the integration framework architecture.
More informationLecture 2: February 6
CMPSCI 691W Parallel and Concurrent Programming Spring 2006 Lecture 2: February 6 Lecturer: Emery Berger Scribe: Richard Chang 2.1 Overview This lecture gives an introduction to processes and threads.
More informationWho Should Read This Book?
Preface W INDOWS C OMMUNICATION F OUNDATION (WCF) is the unified programming model for writing distributed applications on the Microsoft platform. It subsumes the prior technologies of ASMX,.NET Remoting,
More informationAn Introduction to What s Available in.net 4.0 PARALLEL PROGRAMMING ON THE.NET PLATFORM
An Introduction to What s Available in.net 4.0 PARALLEL PROGRAMMING ON THE.NET PLATFORM About Me Jeff Barnes.NET Software Craftsman @ DAXKO Microsoft MVP in Connected Systems ALT.NET Supporter jeff@jeffbarnes.net
More informationChapter 4: Threads. Operating System Concepts 9 th Edit9on
Chapter 4: Threads Operating System Concepts 9 th Edit9on Silberschatz, Galvin and Gagne 2013 Chapter 4: Threads 1. Overview 2. Multicore Programming 3. Multithreading Models 4. Thread Libraries 5. Implicit
More informationProcesses and Threads. Processes: Review
Processes and Threads Processes and their scheduling Threads and scheduling Multiprocessor scheduling Distributed Scheduling/migration Lecture 3, page 1 Processes: Review Multiprogramming versus multiprocessing
More informationHands-On Lab. Lab Manual ILL-054 Creating and Using Iterators in the.net Framework
Hands-On Lab Lab Manual ILL-054 Creating and Using Iterators in the.net Framework Please do not remove this manual from the lab The lab manual will be available from CommNet Information in this document
More informationIntroduction. Introduction. JavaScript 1.8: Web and Objects Copyright by LearnNow, LLC All rights reserved. Reproduction is strictly prohibited.
Introduction Intro-1 Prerequisites This course assumes that you have at least some programming experience in one or more modern programming languages. JavaScript will be particularly easy for you to learn
More informationBuilding Next Generation GUIs using Microsoft Expression Interactive Designer
Building Next Generation GUIs using Microsoft Expression Interactive Designer Adnan Farooq Hashmi MVP Windows SDK User Group Leader, Core.NET Speaker INETA Pakistan www.pkblogs.com/coredotnet Please note
More informationWindows Presentation Foundation (WPF)
50151 - Version: 4 21 January 2018 Windows Presentation Foundation (WPF) Windows Presentation Foundation (WPF) 50151 - Version: 4 5 days Course Description: This five-day instructor-led course provides
More informationEECS 482 Introduction to Operating Systems
EECS 482 Introduction to Operating Systems Winter 2018 Harsha V. Madhyastha Monitors vs. Semaphores Monitors: Custom user-defined conditions Developer must control access to variables Semaphores: Access
More informationVulkan Timeline Semaphores
Vulkan line Semaphores Jason Ekstrand September 2018 Copyright 2018 The Khronos Group Inc. - Page 1 Current Status of VkSemaphore Current VkSemaphores require a strict signal, wait, signal, wait pattern
More informationAsynchronous Events on Linux
Asynchronous Events on Linux Frederic.Rossi@Ericsson.CA Open System Lab Systems Research June 25, 2002 Ericsson Research Canada Introduction Linux performs well as a general purpose OS but doesn t satisfy
More informationAbstract. Introduction
Highly Available In-Memory Metadata Filesystem using Viewstamped Replication (https://github.com/pkvijay/metadr) Pradeep Kumar Vijay, Pedro Ulises Cuevas Berrueco Stanford cs244b-distributed Systems Abstract
More informationObject-Oriented Design
Object-Oriented Design Lecture 14: Design Workflow Department of Computer Engineering Sharif University of Technology 1 UP iterations and workflow Workflows Requirements Analysis Phases Inception Elaboration
More informationLightweight Remote Procedure Call
Lightweight Remote Procedure Call Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, Henry M. Levy ACM Transactions Vol. 8, No. 1, February 1990, pp. 37-55 presented by Ian Dees for PSU CS533, Jonathan
More information\ Smart Client 0" Deploymentwith v^ ClickOnce
\ Smart Client 0" Deploymentwith v^ ClickOnce Deploying Windows Forms Applications with ClickOnce Brian Noyes TT fr Addison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto
More informationCS 2112 Lecture 20 Synchronization 5 April 2012 Lecturer: Andrew Myers
CS 2112 Lecture 20 Synchronization 5 April 2012 Lecturer: Andrew Myers 1 Critical sections and atomicity We have been seeing that sharing mutable objects between different threads is tricky We need some
More informationVulkan: Scaling to Multiple Threads. Kevin sun Lead Developer Support Engineer, APAC PowerVR Graphics
Vulkan: Scaling to Multiple Threads Kevin sun Lead Developer Support Engineer, APAC PowerVR Graphics www.imgtec.com Introduction Who am I? Kevin Sun Working at Imagination Technologies Take responsibility
More informationGrand Central Dispatch
A better way to do multicore. (GCD) is a revolutionary approach to multicore computing. Woven throughout the fabric of Mac OS X version 10.6 Snow Leopard, GCD combines an easy-to-use programming model
More informationChapter 4: Threads. Operating System Concepts. Silberschatz, Galvin and Gagne
Chapter 4: Threads Silberschatz, Galvin and Gagne Chapter 4: Threads Overview Multithreading Models Thread Libraries Threading Issues Operating System Examples Linux Threads 4.2 Silberschatz, Galvin and
More informationConcurrency Control. Synchronization. Brief Preview of Scheduling. Motivating Example. Motivating Example (Cont d) Interleaved Schedules
Brief Preview of Scheduling Concurrency Control Nan Niu (nn@cs.toronto.edu) CSC309 -- Summer 2008 Multiple threads ready to run Some mechanism for switching between them Context switches Some policy for
More informationUser Space Multithreading. Computer Science, University of Warwick
User Space Multithreading 1 Threads Thread short for thread of execution/control B efore create Global During create Global Data Data Executing Code Code Stack Stack Stack A fter create Global Data Executing
More informationLecture 2 Process Management
Lecture 2 Process Management Process Concept An operating system executes a variety of programs: Batch system jobs Time-shared systems user programs or tasks The terms job and process may be interchangeable
More informationCS 556 Distributed Systems
CS 556 Distributed Systems Tutorial on 4 Oct 2002 Threads A thread is a lightweight process a single sequential flow of execution within a program Threads make possible the implementation of programs that
More informationBASICS OF THE RENESAS SYNERGY PLATFORM
BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues
More informationIntroduction to Asynchronous Programming Fall 2014
CS168 Computer Networks Fonseca Introduction to Asynchronous Programming Fall 2014 Contents 1 Introduction 1 2 The Models 1 3 The Motivation 3 4 Event-Driven Programming 4 5 select() to the rescue 5 1
More informationContribution:javaMultithreading Multithreading Prof. Dr. Ralf Lämmel Universität Koblenz-Landau Software Languages Team
http://101companies.org/wiki/ Contribution:javaMultithreading Multithreading Prof. Dr. Ralf Lämmel Universität Koblenz-Landau Software Languages Team Non-101samples available here: https://github.com/101companies/101repo/tree/master/technologies/java_platform/samples/javathreadssamples
More informationSISTEMI CONCORRENTI E DI RETE LS II Facoltà di Ingegneria - Università di Bologna - Cesena - a.a / 2009 COURSE PRESENTATION
SISTEMI CONCORRENTI E DI RETE LS II Facoltà di Ingegneria - Università di Bologna - Cesena - a.a. 2008 / 2009 COURSE PRESENTATION ABOUT THE LECTURER Alessandro Ricci PhD, DEIS researcher / alice group,
More information27/04/2012. We re going to build Multithreading Application. Objectives. MultiThreading. Multithreading Applications. What are Threads?
Objectives MultiThreading What are Threads? Interrupting threads Thread properties By Võ Văn Hải Faculty of Information Technologies Summer 2012 Threads priorities Synchronization Callables and Futures
More informationMicrosoft.CerTkiller v by.SANDRA.65q
Microsoft.CerTkiller.70-518.v2014-06-30.by.SANDRA.65q Number: 70-518 Passing Score: 700 Time Limit: 120 min File Version: 20.5 http://www.gratisexam.com/ Exam Code:70-518 Exam Name:Designing and Developing
More informationMulti-threading in Java. Jeff HUANG
Multi-threading in Java Jeff HUANG Software Engineering Group @HKUST Do you use them? 2 Do u know their internals? 3 Let s see File DB How can they service so many clients simultaneously? l 4 Multi-threading
More informationDesign and Performance of an Asynchronous Method handling Mechanism for CORBA
Design and Performance of an Asynchronous Method handling Mechanism for CORBA Mayur Deshpande, Douglas C. Schmidt & Carlos O Ryan {deshpanm,schmidt,coryan}@uci.edu Department of Electrical & Computer Engineering
More informationSynchronization Possibilities and Features in Java
Abstract Synchronization Possibilities and Features in Java Beqir Hamidi Lindita Hamidi ILIRIA College Bregu i Diellit, st. Gazmend Zajmi, no. 75 p.n., 10 000 Prishtine-Kosove -Prishtine beqirhamidi@hotmail.com,
More information17 Roberts St #2 Brookline, MA
Benjamin Day www.benday.com blog.benday.com 17 Roberts St #2 Brookline, MA 02445 benday@benday.com 617-645-0188 Last Updated August 7, 2009 Overview 12 years of software architecture, development, and
More informationCSC Operating Systems Spring Lecture - XII Midterm Review. Tevfik Ko!ar. Louisiana State University. March 4 th, 2008.
CSC 4103 - Operating Systems Spring 2008 Lecture - XII Midterm Review Tevfik Ko!ar Louisiana State University March 4 th, 2008 1 I/O Structure After I/O starts, control returns to user program only upon
More informationSTARCOUNTER. Technical Overview
STARCOUNTER Technical Overview Summary 3 Introduction 4 Scope 5 Audience 5 Prerequisite Knowledge 5 Virtual Machine Database Management System 6 Weaver 7 Shared Memory 8 Atomicity 8 Consistency 9 Isolation
More informationAndrew Coates Microsoft Australia Session Code: OFC343
Andrew Coates Microsoft Australia http://blogs.msdn.com/acoat Session Code: OFC343 Once upon a time I wrote VFP Code I interacted with Office I wrote DDE code! I automated Word Excel Outlook I output HTML
More informationPatterns for Asynchronous Invocations in Distributed Object Frameworks
Patterns for Asynchronous Invocations in Distributed Object Frameworks Patterns for Asynchronous Invocations in Distributed Object Frameworks Markus Voelter Michael Kircher Siemens AG, Corporate Technology,
More information