Lecture 3 Distributed

studied byStudied by 16 people
5.0(2)
Get a hint
Hint

Middleware

1 / 38

flashcard set

Earn XP

Description and Tags

39 Terms

1

Middleware

A layer of software between applications and the operating system that enables communication and connectivity in a distributed system.

New cards
2

Network Operating System (NOS)

An operating system that allows communication based on files and provides network transparency.

New cards
3

Distributed Operating System (DOS)

An operating system that allowscommunication based on messages andshared memory.

New cards
4

Autonomy

The degree of independence or self-governance of a machine or system.

New cards
5

Fault tolerance

The ability of a system to continue functioning properly in the presence of faults or errors.

New cards
6

Multitasking

The ability of an operating system to run multiple applications simultaneously.

New cards
7

Multithreading

The ability of an application to perform multiple operations at the same time.

New cards
8

Concurrency

The ability of multiple processes or threads to run concurrently.

New cards
9

Thread

A sequence of instructions that runs concurrently with other threads in a program.

New cards
10

Threaded application

An application that uses multiple threads to perform tasks concurrently.

New cards
11

Thread manager

A component of the operating system that manages the creation and execution ofthreads.

New cards
12

Memory manager

A component of the operating system that manages the allocation and deallocation of memory.

New cards
13

Synchronization

The coordination of multiple threads to ensure proper execution and avoid conflicts.

New cards
14

Inter-Thread Communication

The exchange of data or messages between threads.

New cards
15

Extending Thread class

A method of creating a thread by extending the Thread class and overriding the run()method.

New cards
16

Implementing Runnable interface

A method of creating a thread by implementing the Runnable interface and overriding the run() method.

New cards
17

Life Cycle of Thread

The different states and transitions a thread goes through during its execution.

New cards
18

Dispatch

The process of selecting a thread to run by the operating system.

New cards
19

Class

A blueprint or template for creating objects in object-oriented programming.

New cards
20

Run

The method in a thread class that contains the code to be executed when the thread is started.

New cards
21

Start

The method used to start a thread's execution.

New cards
22

FCFS policy

First-Come-First-Serve policy, where threads are served in the order they arrive.

New cards
23

Synchronized

A keyword in Java used to control access to shared resources by allowing only one thread to execute a synchronized method at a time.

New cards
24

Shared Resources

Resources that are accessed by multiple threads and need to be coordinated to prevent inconsistent states.

New cards
25

Inconsistent State

A state where the data accessed by multiple threads is not synchronized, leading to incorrect or unpredictable results.

New cards
26

Worker Pool

An architecture for multithreaded servers where a fixed pool of worker threads is created to process requests.

New cards
27

Thread-per-request

An architecture where a new thread is allocated for each incoming request and disposed of after the request is complete.

New cards
28

Thread-per-connection

An architecture where a thread is allocated for each client TCP connection and used for all requests arriving over that connection.

New cards
29

Alternative server threading architectures

Different approaches to managing threads in a server to handle multiple requests concurrently.

New cards
30

Thread-Per-Server-Object

An architecture where each object in the server has its own thread of execution, allowing multiple requests to be processed concurrently as long as they are using different objects.

New cards
31

Thread churn

The creation and destruction of threads, which can lead to inefficiencies in server performance.

New cards
32

Concurrency issues

Challenges that arise when multiple threads are accessing and manipulating shared resources simultaneously.

New cards
33

Locking strategy

A method used to control access to shared resources by allowing only one thread to access the resource at a time.

New cards
34

Deadlock

A situation where two or more threads are blocked indefinitely, waiting for each other to release a resource.

New cards
35

Worker pool

An architecture where a fixed number of threads are created and shared among multiple requests, improving efficiency by reusing threads.

New cards
36

Thread-per-request

An architecture where each request is assigned its own thread, allowing for parallel processing of requests.

New cards
37

Thread-per-connection

An architecture where each TCP connection is assigned its own thread, allowing for parallel processing of requests within the same connection.

New cards
38

Threads synchronization

The process of coordinating the access and manipulation of shared resources by multiple threads to avoid conflicts and ensure data consistency.

New cards
39

Separating mechanisms from policies

A design principle in operating systems that allows for flexibility by separating the implementation details (mechanisms) from the decision-making rules (policies).

New cards

Explore top notes

note Note
studied byStudied by 18 people
... ago
5.0(1)
note Note
studied byStudied by 1712 people
... ago
4.7(13)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 26 people
... ago
5.0(1)
note Note
studied byStudied by 24 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 10 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (22)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (72)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (94)
studied byStudied by 13 people
... ago
4.0(1)
flashcards Flashcard (62)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (105)
studied byStudied by 28 people
... ago
5.0(1)
flashcards Flashcard (101)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 26 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 21 people
... ago
5.0(1)
robot