1 / 33

Prof. Leonardo Mostarda University of Camerino

Distributed Systems – types of distributed systems. Prof. Leonardo Mostarda University of Camerino. Outline. Types of distributed systems Distributed computing systems Cluster computing Grid computing Distributed information systems Transaction processing systems

stricklandt
Télécharger la présentation

Prof. Leonardo Mostarda University of Camerino

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Distributed Systems – types of distributed systems Prof. Leonardo Mostarda University of Camerino Prof. Leonardo Mostarda-- Camerino,

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

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

  8. Grid Computing Systems Screensaver Lifesaver Centre for Computational Drug Discovery's project SETI (Search for Extraterrestrial Intelligence) @Home project Real example of grid computing?

  9. 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,

  10. 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

  11. 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

  12. 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

  13. 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.

  14. Transaction Processing Systems (3) • Are transaction always on a single database? • A nested transaction is composed of several sub-transactions • They improve: • Performance

  15. Transaction Processing Systems (4) • What does it happen when the sub transaction commits and the transaction abort?

  16. 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,

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

  18. Enterprise Application Integration Middleware as a communication facilitator in enterprise application integration.

  19. 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

  20. 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

  21. 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

  22. 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

  23. Smart home Self Managing Personal Space Self configuring

  24. 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

  25. 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.

  26. Wireless sensor networks WSN`s present a lot of challenges • Energy consumption • Programming • Security • Routing • Software engineering • Middleware

  27. 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

  28. Sensor Networks (3) • (b) Relevant sensors compute an answer

  29. 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

  30. 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

  31. 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

  32. 15 minutes pause Prof. Leonardo Mostarda-- Camerino,

  33. Questions? Prof. Leonardo Mostarda-- Camerino,

More Related