Lecture-5 - Processes F23
Lecture-5 - Processes F23
Processes
• Each thread has its own program counter, stack and register set.
• The program counter determines which instruction the thread is
currently executing.
• The register set saves the thread’s state when it is suspended and
reloaded into the machine registers upon resumption.
Clients
• to hide network latency
• e.g. multithreaded web client:
• Multiple request-response calls to other machines:
Servers
• In servers, the main issue is improved performance and
better structure
• Improve performance:
• Better structure:
(Page 7-10)
9/22/2023 Superior University, Gold Campus 10
Virtualization
• Virtualization creates an external interface that hides an underlying
implementation
a) General organization between a program, interface, and system.
b) General organization of virtualizing system A on top of system B.
Issue-1:
• While hardware and low-level systems software change
reasonably fast, software at higher levels of
abstraction(e.g., middleware and applications), are much
more stable - legacy software cannot be maintained in
the same pace as the platforms it relies on.
Solution:
• Virtualization can help here by porting the legacy
interfaces to the new platforms and thus immediately
opening up the latter for large classes of existing
programs.
Issue-2:
• Networking has become completely pervasive.
• Connectivity requires that system administrators
maintain a large and heterogeneous collection of server
computers, each one running very different applications,
which can be accessed by clients.
Solution:
• The diversity of platforms and machines can be reduced
by letting each application run on its own virtual
machine, possibly including the related libraries and
operating system, which, in turn, run on a common
platform.
Issue-3:
• Management of content delivery networks that support
replication of dynamic content becomes easier if edge
servers supported virtualization, allowing a complete
site, including its environment to be dynamically copied.
• As we will discuss later, it is primarily such portability
arguments that make virtualization an important
mechanism for distributed systems.
Solution:
• Virtualization provides a high degree of portability and
flexibility making it an important mechanism for
distributed systems.
A server cluster is
logically organized
into three tiers
A server cluster is
logically organized
into three tiers
A server cluster is
logically organized
into three tiers