340 likes | 385 Views
Learn about various types of distributed systems including computing, information, pervasive systems, and more. Explore cluster computing, grid computing, transaction processing, and enterprise integration applications.
E N D
Distributed Systems – types of distributed systems Prof. Leonardo Mostarda University of Camerino Prof. Leonardo Mostarda-- Camerino,
Outline • Types of distributed systems • Distributed computing systems • Cluster computing • Grid computing • Distributed information systems • Transaction processing systems • Enterprise integration applications • Distributed pervasive systems: Home systems, Health care systems, Wireless sensor networks
Types of distributed systems Distributed Systems Distributed Information Systems Distributed Pervasive Systems Distributed Computing Systems Home systems Transaction Processing Systems Clustering computing Health care Systems Grid computing Enterprise Application Integration Sensor Networks
Distributed computing systems • Distributed computing systems are used for high-performance computing tasks. • Roughly speaking, one can make a distinction between two subgroups. • Cluster computing • Grid computing
Cluster Computing Systems • Connection of relatively simple computers in a high-speed network to do parallel programming • A program is running on multiple machine • Linux-based Beowulf clusters • A master that allocates programs • Libraries are used for executing parallel programs they provide advance message-based communication facilities Linux-based Beowulf clusters
Cluster Computing Systems • IBM cluster computing • 524,288 POWER7 cores • 24 TB ram • fast interconnection: 1000 Gbsec • European Centre for Medium-Range Weather Forecasts Linux-based Beowulf clusters
Grid Computing Systems • Grid systems are composed of heterogeneous computers in different administrative domains • A key issue is that resources from different organisations are brought together to enable collaboration in the form of Virtual organisation: • Servers, storage, sensors, telescopes • Software provides access to different resources residing in different administrative domains
Grid Computing Systems Screensaver Lifesaver Centre for Computational Drug Discovery's project SETI (Search for Extraterrestrial Intelligence) @Home project Real example of grid computing?
Cluster VS grid • When would you choose a cluster? Any guess? • It is about the amount of data you need to move between computers? Prof. Leonardo Mostarda-- Camerino,
Types of distributed systems Distributed Systems Distributed Information Systems Distributed Pervasive Systems Distributed Computing Systems Home systems Transaction Processing Systems Clustering computing Health care Systems Grid computing Enterprise Application Integration Sensor Networks
Distributed Information Systems • “A collection of information systems that cooperate appearing a single information system” • Several ways in which the integration can take place • Client sending a request to a centralised DBMS • Client performing a distributed transaction • Applications directly communicate with each other • We discuss two types of distributed information systems • Transaction processing systems • Enterprise application integration
Transaction Processing Systems (1) • Operations on a database are usually executed in the form of transactions; • ATM transactions, Supermarket payments, ebay • A transaction can contain: • WRITE, READ, RPC calls (transactional RPCs) • A transaction is enclosed between BEGIN_TRANSACTION and END_TRANSACTION
Transaction Processing Systems (2) • Characteristic properties of transactions: • Atomic: To the outside world, the transaction happens indivisibly. • Consistent: The transaction does not violate system invariants. • Isolated: Concurrent transactions do not interfere with each other. • Durable: Once a transaction commits, the changes are permanent.
Transaction Processing Systems (3) • Are transaction always on a single database? • A nested transaction is composed of several sub-transactions • They improve: • Performance
Transaction Processing Systems (4) • What does it happen when the sub transaction commits and the transaction abort?
Early enterprise middleware systems • TP monitor handled distributed (or nested) transactions forming the core for integrating applications at the server or database level. • Its main task was to allow an application to access multiple server/databases by offering it a transactional programming model. Prof. Leonardo Mostarda-- Camerino,
Enterprise applications • Applications became decoupled from the databases they were built on. • This created the need of integrating applications • Applications should communicate by each other and not merely by means of the request/reply behaviour supported by transaction processing systems • Applications can directly exchange information as shown in the following
Enterprise Application Integration Middleware as a communication facilitator in enterprise application integration.
Enterprise Application Integration • What is the main disadvantage of RMI and RPC? • Caller and callee need to be up and running • They need to know how to refer to each other. • The solution is message oriented middleware (pub/sub) • Several types of communication middleware exist • Remote Procedure Calls (RPC): an application sends a request to a remote application by means of a local procedure call • Remote method invocation (RMI): is the same as RPC except that it operates on objects
Types of distributed systems Distributed Systems Distributed Information Systems Distributed Pervasive Systems Distributed Computing Systems Home systems Transaction Processing Systems Clustering computing Health care Systems Grid computing Enterprise Application Integration Sensor Networks
Distributed Pervasive Systems • Information processing is integrated into everyday objects and activities. • someone "using" pervasive computing engages many computational devices and systems simultaneously, and may not necessarily even be aware that they are doing so. • Nodes are very different from traditional desktops since they are • mobile • can be embedded • Battery powered • Equipped with wireless communication
Distributed Pervasive Systems • A distributed pervasive system is part of our surrounding environment • Devices need to discover the services and adapt to environment • Some examples • Home systems • Electronic Health Care Systems • Wireless sensor networks
Smart home Self Managing Personal Space Self configuring
Electronic Health Care Systems • (a) a local hub is managing the BAN and collecting data. This is offloaded to a centralised repository • (b) a continuous wireless connection. • Unlike home systems, health care systems cannot move to a single-server systems ( this results in devices with minimal functionality). On the contrary: they need in-network data processing
Wireless sensor networks • WSNs consists of spatially distributed autonomous sensors that cooperatively monitoring physical or environmental conditions. • Unique characteristics • limited processing capability • small amount of memory • limited power source.
Wireless sensor networks WSN`s present a lot of challenges • Energy consumption • Programming • Security • Routing • Software engineering • Middleware
Sensor Networks (2) • One would like to query the sensor network to obtain info • We can organise the sensor network as a distributed database • (a) sensors do not cooperate but forward data
Sensor Networks (3) • (b) Relevant sensors compute an answer
Sensor Networks (3) • The solutions presented are not very attractive: • (a) Wastage of energy • (b) Less data to be returned to the operator • We need in-network processing capabilities • A good solution is pub/sub systems • Let us see an example of a pub/sub infrastructure
Sensor Networks (3) Picture from the paper “A Policy-based Publish/Subscribe Middleware for Sense-and-React Applications” By Leonardo Mostarda, Giovanni Russello and Naranker Dulay Components (e.g., C1, C2) provide/use readings such as temperature and humidity The policy manager performs some computation and decides weather it needs to publish readings or subscribes to new readings As you can see the computation is performed by the nodes that is in-network computation
Summary • Types of distributed systems • Distributed computing systems • Cluster computing • Grid computing • Distributed information systems • Transaction processing systems • Enterprise integration application • Distributed pervasive systems: Home systems, Health care systems, Wireless sensor networks
15 minutes pause Prof. Leonardo Mostarda-- Camerino,
Questions? Prof. Leonardo Mostarda-- Camerino,