Views
2 years ago

Distributed Systems Principles and Paradigms - Maarten van Steen

Distributed Systems Principles and Paradigms - Maarten van Steen

Processes3.1 Threads6 /

Processes3.1 Threads6 / 34Threads and Operating SystemsKernel solutionThe whole idea is to have the kernel contain the implementation of a threadpackage. This means that all operations return as system callsOperations that block a thread are no longer a problem: the kernelschedules another available thread within the same process.Handling external events is simple: the kernel (which catches all events)schedules the thread associated with the event.The problem is (or used to be) the loss of efficiency due to the fact thateach thread operation requires a trap to the kernel.Conclusion – butTry to mix user-level and kernel-level threads into a single concept, however,performance gain has not turned out to outweigh the increased complexity.

Processes3.1 Threads7 / 34Threads and Distributed SystemsMultithreaded Web clientHiding network latencies:Web browser scans an incoming HTML page, and finds that more filesneed to be fetched.Each file is fetched by a separate thread, each doing a (blocking) HTTPrequest.As files come in, the browser displays them.Multiple request-response calls to other machines (RPC)A client does several calls at the same time, each one by a differentthread.It then waits until all results have been returned.Note: if calls are to different servers, we may have a linear speed-up.

Distributed Systems: Principles and Paradigms
Principles of Distributed Database Systems, Third Edition
Real-Time Systems: Design Principles for Distributed ... - VoWi
Adding a Flow-Oriented Paradigm to Commodity Operating Systems
roll-off system - Van Leeuwen Distributing
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Systems Principles and Paradigms - Maarten van Steen
Distributed Object-Based Systems - Maarten van Steen
Distributed Web-Based Systems - Maarten van Steen
Distributed Web-Based Systems - Maarten van Steen
Distributed Object-Based Systems - Maarten van Steen
Introduction Contents Distributed System - Maarten van Steen
Distributed Coordination-Based Systems - Maarten van Steen
Introduction Contents Distributed System - Maarten van Steen