CS 584 Lecture 16 n Assignment -- Due Friday n C* program n Paper reviews.

Slides:



Advertisements
Similar presentations
Edelweiss: Automatic Storage Reclamation for Distributed Programming Neil Conway Peter Alvaro Emily Andrews Joseph M. Hellerstein University of California,
Advertisements

Suzuki Kasami Example. Consider 5 Sites S1 S2 S4 S3 S5 n=1 n=2 n=5 n=4 n=
Digital Library Service – An overview Introduction System Architecture Components and their functionalities Experimental Results.
Relational Algebra, Join and QBE Yong Choi School of Business CSUB, Bakersfield.
Introduction to Database Systems1 Records and Files Storage Technology: Topic 3.
Distributed Indexed Outlier Detection Algorithm Status Update as of March 11, 2014.
GridRPC Sources / Credits: IRISA/IFSIC IRISA/INRIA Thierry Priol et. al papers.
188, , , Adding values Insertion grading Subtract 5 points for each.
CS 584 Lecture 17 n Assignment? n C* program n Papers n Test n When?
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Study of a Paper about Genetic Algorithm For CS8995 Parallel Programming Yanhua Li.
1 Advanced Database Technology Anna Östlin Pagh and Rasmus Pagh IT University of Copenhagen Spring 2004 February 19, 2004 INDEXING I Lecture based on [GUW,
Data Indexing Herbert A. Evans. Purposes of Data Indexing What is Data Indexing? Why is it important?
Message-Passing Programming and MPI CS 524 – High-Performance Computing.
Collaboration Diagrams. Example Building Collaboration Diagrams.
Tuple Spaces and JavaSpaces CS 614 Bill McCloskey.
Linda: A Data-space Approach to Parallel Programming CSE60771 – Distributed Systems David Moore.
DISK STORAGE INDEX STRUCTURES FOR FILES Lecture 12.
Distributed Software Development
1 Chapter 9 Spaces with LINDA. 2 Linda Linda is an experimental programming concept unlike ADA or Occam which are fully developed production-quality languages.
CSC 213 – Large Scale Programming. Today’s Goals  Review a new search tree algorithm is needed  What real-world problems occur with old tree?  Why.
Lecture 4: Parallel Programming Models. Parallel Programming Models Parallel Programming Models: Data parallelism / Task parallelism Explicit parallelism.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Database actions In this presentation… –database actions –database connections –recordsets.
Ioana BurceaWon-Ho Park Electrical and Computer Engineering Department University of Toronto Algorithms for Implementation of Tuple Space Expert Topic.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
Module 3: The Relational Model.  Overview Terminology Relational Data Structure Mathematical Relations Database Relations Relational Keys Relational.
12/1/98 COP 4020 Programming Languages Parallel Programming in Ada and Java Gregory A. Riccardi Department of Computer Science Florida State University.
CS 584 Lecture 14 n Assignment –Program due now –Check the web »Create program model & do calculations »Additional calculation problems n Paper presentations.
CS 1308 Computer Literacy and the Internet
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
NFIRS Data Entry Browser Interface (DEBI)
Built-in Data Structures in Python An Introduction.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation MongoDB Architecture.
Coordination Languages and their Significance Paper by: David Gelernter Nicholas Carriero Presented by: Varuna Iyengar.
Coordination Models and Languages Part I: Coordination Languages and Linda Part II: Technologies based on Tuple space concept beyond Linda Part III: Comparison.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 10: Applications of Arrays (Searching and Sorting) and the vector Type.
Chapter 9 Database Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Metalib Categories Administration. 2 The MetaLib Management interface is used for set up procedures relating to categories. Using the Categories Administration.
Index Tuning Conventional index. Overview.
CS- 492 : Distributed system & Parallel Processing Lecture 7: Sun: 15/5/1435 Foundations of designing parallel algorithms and shared memory models Lecturer/
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
1. Efficient Peer-to-Peer Lookup Based on a Distributed Trie 2. Complex Queries in DHT-based Peer-to-Peer Networks Lintao Liu 5/21/2002.
Transactions, Roles & Privileges Oracle and ANSI Standard SQL Lecture 11.
Event Ordering. CS 5204 – Operating Systems2 Time and Ordering The two critical differences between centralized and distributed systems are: absence of.
CS 540 Database Management Systems
Lecture 03 Constraints. Example Schema CONSTRAINTS.
Be “GUI ready” developing in RPG by Robert Arce from PrismaTech. Be “GUI ready” developing in RPG-ILE Presented by: Robert Arce.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
CS4432: Database Systems II
NORMALIZATION Handout - 4 DBMS. What is Normalization? The process of grouping data elements into tables in a way that simplifies retrieval, reduces data.
CS 405G: Introduction to Database Systems Instructor: Jinze Liu Fall 2007.
Microsoft Access CS 110 Fall Entity Relationship Model Entities Entities Principal data object about which information is to be collectedPrincipal.
SQL Basics Review Reviewing what we’ve learned so far…….
Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph 1 Publish & Subscribe Larry Rudolph May 3, 2006 SMA 5508 & MIT
CS522 Advanced database Systems Huiping Guo Department of Computer Science California State University, Los Angeles 3. Overview of data storage and indexing.
CompSci 280 S Introduction to Software Development
Data Indexing Herbert A. Evans.
Object-Based Distributed Shared Memory
Containers and Lists CIS 40 – Introduction to Programming in Python
CHAPTER 3 Architectures for Distributed Systems
Database Management Systems (CS 564)
Business Application Development
Coordination Models and Languages
Overview of Course Assessment National 3
Chapter 9: Database Systems
Updating Databases With Open SQL
Updating Databases With Open SQL
Presentation transcript:

CS 584 Lecture 16 n Assignment -- Due Friday n C* program n Paper reviews

Models of Parallelism n Message Passing (MPI, PVM) n Data parallelism (C*) n Global data-space (Linda)

Linda n Consists of several operations that work on a global data space (tuple space) n The operations have been added to several languages. n MIMD programming model n Interaction is through tuple space

Tuples n A tuple is an object consisting of: n a key n zero or more arguments n Example ("jim", 88, 1.5) n The key is used for matching

Tuple Space n Global data space n Collection of tuples n Tuples may be: n inserted (out) n read (rd and rdp) n deleted(in and inp) n evaluated(eval) n forks a new worker

Tuple Space

n Updating a tuple n delete - modify - insert n Duplicate key entries is allowed n Non-determinism n inp and rdp guarantee to locate a matching tuple iff a matching tuple must have been added and could not have been removed before the request

Example Programs n Database search n Master-Worker n Divide and Conquer

procedure manager count = 0 until EOF do read datum from file OUT("datum", datum) count++ enddo best = 0.0 for j = 1 to count IN("score", value) if (value > best) best = value endfor for j = 1 to numworkers OUT("datum", "stop") endfor end

procedure worker IN("datum", datum) until datum == "stop" value = compare(datum, target) OUT("score", value) IN("datum", datum) enddo end

Tuple Space n Perfect candidate for a database. n Simplifies parallel programming? n Performance? n Consider the implementation of the tuple space.

Tuple Space Implementation n Central n What advantages/disadvantages does this implementation present?

Tuple Space Implementation n Distributed n What advantages/disadvantages does this implementation present?