Beruflich Dokumente
Kultur Dokumente
Distributed Systems
Submitted to:
Submitted by:
Mr. Dinesh Kumar
Sonika Dogra
RG
1005 A 19
Reg
no. 11011438
Q1 There are several ways to organize the server .In case of
concurrent server what are the different design issues?
• Iterative server.
• Concurrent server.
Iterative server: These types of servers handle all requests by themselves &
give response.
Concurrent server: these servers do not handle the requests; they simply
pass the request to other process or thread. Concurrent servers are
implemented by multithreading.
• END POINTS: client contact the server through end points. These end
points are globally assigned by IANA. Using these end points client find
out the network address of the machine where the server is currently
running. But end points are not pre-assigned to some services, so in that
case local operating assigns the end points dynamically. So, in that case
client first looks up into daemon and request for the end points and then
at the end contact to the specific server.
In D’ Agents , we push the agent’s entire code base from the source machine to
the target machine as part of the agent’s state image. We have no plans to
support on-demand code fetching from previous machines,since this approach
weakens the mobile-agent abstraction: the mobile agent becomes dependent
on a machine that it has chosen to leave, a dependency that is particularly
undesirable in our mobile-computing and wireless-network applications. We do
not have, but hope to add, support for code caching, because it is essential for
the highest performance.
In some languages it may be difficult to know precisely which code modules will
be needed at the destination host. Some mobile-agent systems conservatively
send all code along with the agent.
ANSWER:
DNS and all other naming systems maintains a mapping of human friendly
names to address.(as each entity has its name and address).For effective
implementations of namespaces like DNS.It is partitioned into three layers:-
• Global layer.
• Administration layer.
• Managerial layer.
For example, an application could ask for the information associated with a
person named Alice. Such a query would return a reference to the person
resource associated with Alice. This resource can then subsequently be fetched
by the application. However, not having the descriptions in the same place may
incur a serious performance problem.
Hierarchical Implementations:LDAP
several trees to co-exist, while also being linked to each other. This approach is
followed in Microsofts’s Active Directory leading to a forest of LDAP domains.
It is common to combine LDAP with DNS. For example, every tree in LDAP needs
to be accessible at the root. The root is often known under a DNS name, which
in turn can be found through an appropriate record. There is no reason why the
resources should reside at the same location as well.
ANSWER: In computer system, we have a circuit that keeps track of time. This
circuit is known as clock or timer. Every computer contains a physical clock. A
physical clock counts the oscillations in a crystal at a particular frequency and
then counts are typically divided and stored in the counter register. physical
clock act as a stable oscillator or frequency generator along with a counter that
records the number of cycles. value of the counter at any time is called epoch
and recorded as the time stamp.
• Physical clocks are helpful in getting the order of the events, The
ordering of events is required in distributed tracing and debugging,
distributed database check-pointing, maintaining consistency in replicated
databases and deadlock avoidance and detection.
• Counter of a physical clock can be used to get the time of the day.