Thinking and Processing in Parallel Wrap Your Head Around WF 4.0 Concurrency. Brian Noyes IDesign Inc (

Size: px
Start display at page:

Download "Thinking and Processing in Parallel Wrap Your Head Around WF 4.0 Concurrency. Brian Noyes IDesign Inc (www.idesign.net)"

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 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 information

VS10 WCF of Many Flavors When do I use which?

VS10 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 information

Building Extensible XAML Client Apps

Building 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 information

Smart Client Offline Data Caching and Synchronization

Smart 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 information

VSC01 Securing WPF Client Applications

VSC01 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 information

Prism Composite Application Guidance

Prism 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 information

Drive 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) 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 information

Drive 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) 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 information

LVL08 Black Belt Silverlight Business Data Validation

LVL08 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 information

Build Custom Data Bound Objects and Collections

Build 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 information

AR.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) 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 information

APP301: Implement a Data Access Layer with Enterprise Library

APP301: 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 information

Build Testable Client and Service Applications

Build 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 information

VWC02 Build N-Tier Silverlight Data Applications Easily with WCF RIA Services

VWC02 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 information

WCF RIA Services. About Brian 8/10/2011. Brian Noyes Chief Architect IDesign Inc. (www.idesign.net)

WCF 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 information

Composite Application Guidance for WPF and Silverlight (AKA Prism 2 )

Composite 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 information

Building Extensible XAML Client Apps

Building 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 information

NET237: Deploying Smart Client Apps with ClickOnce

NET237: 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 information

Building Loosely Coupled XAML Client Apps with Prism

Building 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 information

Data Binding with Windows Forms 2.0

Data 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 information

Learn to Behave Extend Your XAML with Behaviors

Learn 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 information

Build Loosely Coupled Silverlight Business Applications

Build 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 information

Windows Presentation Foundation In Windows Forms And Vice Versa

Windows 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 information

Blissful Separation of Concerns with Model-View-ViewModel (MVVM)

Blissful 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 information

NE.15 Data Binding In Windows Presentation Foundation

NE.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 information

Data Binding in ASP.NET 2.0

Data 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 information

Tackle Complex Data Binding in WinForms 2.0

Tackle 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 information

Build Process Driven Applications with WF

Build 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 information

Microsoft TechEd US, Europe, Malaysia, Visual Studio Connections, DevTeach, INETA Speakers Bureau, MSDN Webcasts

Microsoft 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 information

Smart Client Offline Data Caching and Synchronization

Smart 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 information

Introduction to.net Deployment. Brian Noyes IDesign, Inc. (

Introduction 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 information

Extending ASP.NET. Brian Noyes Principal Software Architect IDesign, Inc. ( (

Extending 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 information

Multitasking. Multitasking allows several activities to occur concurrently on the computer Levels of multitasking: Process based multitasking

Multitasking. 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 information

Contents. Timer Thread Synchronization

Contents. 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 information

Threads Questions Important Questions

Threads 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 information

Programming 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 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 information

Asynchronous Programming Demystified

Asynchronous 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 information

High Performance Computing Course Notes Shared Memory Parallel Programming

High 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 information

Threads, Synchronization, and Scheduling. Eric Wu

Threads, 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 information

Advanced 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 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 information

Taming Dava Threads. Apress ALLEN HOLUB. HLuHB Darmstadt

Taming 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 information

Killer 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) 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 information

Concurrent Programming in C++ Venkat

Concurrent 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 information

Design Patterns. SE3A04 Tutorial. Jason Jaskolka

Design 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 information

CS342: Software Design. November 21, 2017

CS342: 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 information

ArcGIS 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 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 information

JAVA and J2EE UNIT - 4 Multithreaded Programming And Event Handling

JAVA 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 information

Asynchronous Database Access with Qt 4.x

Asynchronous 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 information

Concurrency: State Models & Design Patterns

Concurrency: 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 information

MRCP. Client Integration Manual. Developer Guide. Powered by Universal Speech Solutions LLC

MRCP. 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 information

MultiThreading 07/01/2013. Session objectives. Introduction. Introduction. Advanced Java Programming Course

MultiThreading 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 information

CSC 4320 Test 1 Spring 2017

CSC 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 information

C# Syllabus. MS.NET Framework Introduction

C# 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 information

Definition Multithreading Models Threading Issues Pthreads (Unix)

Definition 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 information

How to be a C# ninja in 10 easy steps. Benjamin Day

How 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 information

COPYRIGHTED MATERIAL. Introducing the Project: The SmartCA Application. The Problem

COPYRIGHTED 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 information

CHAPTER - 4 REMOTE COMMUNICATION

CHAPTER - 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 information

SERVICE-ORIENTED COMPUTING

SERVICE-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 information

POSIX Threads: a first step toward parallel programming. George Bosilca

POSIX 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

[ 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 information

Test 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 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 information

Integration Framework. Architecture

Integration 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 information

Lecture 2: February 6

Lecture 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 information

Who Should Read This Book?

Who 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 information

An 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 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 information

Chapter 4: Threads. Operating System Concepts 9 th Edit9on

Chapter 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 information

Processes and Threads. Processes: Review

Processes 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 information

Hands-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 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 information

Introduction. Introduction. JavaScript 1.8: Web and Objects Copyright by LearnNow, LLC All rights reserved. Reproduction is strictly prohibited.

Introduction. 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 information

Building Next Generation GUIs using Microsoft Expression Interactive Designer

Building 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 information

Windows Presentation Foundation (WPF)

Windows 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 information

EECS 482 Introduction to Operating Systems

EECS 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 information

Vulkan Timeline Semaphores

Vulkan 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 information

Asynchronous Events on Linux

Asynchronous 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 information

Abstract. Introduction

Abstract. 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 information

Object-Oriented Design

Object-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 information

Lightweight Remote Procedure Call

Lightweight 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 \ 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 information

CS 2112 Lecture 20 Synchronization 5 April 2012 Lecturer: Andrew Myers

CS 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 information

Vulkan: 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 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 information

Grand Central Dispatch

Grand 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 information

Chapter 4: Threads. Operating System Concepts. Silberschatz, Galvin and Gagne

Chapter 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 information

Concurrency Control. Synchronization. Brief Preview of Scheduling. Motivating Example. Motivating Example (Cont d) Interleaved Schedules

Concurrency 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 information

User Space Multithreading. Computer Science, University of Warwick

User 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 information

Lecture 2 Process Management

Lecture 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 information

CS 556 Distributed Systems

CS 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 information

BASICS OF THE RENESAS SYNERGY PLATFORM

BASICS 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 information

Introduction to Asynchronous Programming Fall 2014

Introduction 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 information

Contribution:javaMultithreading Multithreading Prof. Dr. Ralf Lämmel Universität Koblenz-Landau Software Languages Team

Contribution: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 information

SISTEMI 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 / 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 information

27/04/2012. We re going to build Multithreading Application. Objectives. MultiThreading. Multithreading Applications. What are Threads?

27/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 information

Microsoft.CerTkiller v by.SANDRA.65q

Microsoft.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 information

Multi-threading in Java. Jeff HUANG

Multi-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 information

Design and Performance of an Asynchronous Method handling Mechanism for CORBA

Design 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 information

Synchronization Possibilities and Features in Java

Synchronization 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 information

17 Roberts St #2 Brookline, MA

17 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 information

CSC Operating Systems Spring Lecture - XII Midterm Review. Tevfik Ko!ar. Louisiana State University. March 4 th, 2008.

CSC 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 information

STARCOUNTER. Technical Overview

STARCOUNTER. 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 information

Andrew Coates Microsoft Australia Session Code: OFC343

Andrew 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 information

Patterns for Asynchronous Invocations in Distributed Object Frameworks

Patterns 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