Distributed Database Systems: Assignment 1
Distributed Database Systems: Assignment 1
Reasons:
The main reason of a distributed shared memory system is to make inter-process
communications transparent to end-users.
it is cheaper to have a single high-end reliable storage facility be shared then having to
buy and maintain storage for each user separately.
An important goal of a distributed system is to make it easy for users (and applications)
to access and share remote resources.
Difficulties :
question processing deals with designing algorithms that examine queries and convert
them into a series of statistics manipulation operations. The hassle is how to determine
on a strategy for executing every question over the network inside the most value-
effective manner, but fee is described.
information blocks migrate between nodes on demand.
records block of the nearby reminiscence ought to get replaced by way of a brand-new
records block.
To share statistics in a DSM device, it has to be viable to discover and retrieve the
records accesses by way of a person process.
In a distributed systems there are some features of the system which are hidden from the users
this is called transparency. The end users are not aware of certain mechanisms which do not
appear on the distributed applications because transparency confines it in the layer below the
one user interacts with. The distributed transparency gives the idea to the user that they are
using a single system even though it’s spread across collection of devices.
There are several types of transparencies which are available to be implemented on distributed
systems such as access transparency, location transparency, concurrency transparency,
replication transparency, failure transparency, scaling transparency etc.
Access transparency is where a user is accessing a remote resource but the
users get the idea that they accessing data locally. Also access transparency
allows you to access local and remote resource by using identical operations.
Location transparency the users are able access any resource without
knowing the exact physical location of that resource. The location of the
resources in the distributed system would well spread across a vast area but it
is not shown the user and in some cases not shown to the programmers as
well.
Both these access transparency and location transparency combined forms network
transparency.
The main difference between these two operating systems (Network Operating System and
Distributed Operating System) is that in network operating system each node or system can
have its own operating system on the other hand in distribute operating system each node or
system have same operating system which is opposite to the network operating system.
The difference Between Network Operating System and Distributed Operating System are given
below:
Network Operating System Distributed Operating System
Features:
Fully protected multitasking: This means that UNIX can easily switch between tasks
without the operating system crashing, because all UNIX processes are separate from
those of the operating system. Even if an application crashes, unless it somehow
manages to take down the X Windows system with it (which does happen), the
operating system just keeps right on humming.
High performance and stability : Many servers running UNIX or Linux have run for
years without crashing once. The multitasking capabilities of UNIX, along with the rapid
rate at which the operating system matures (especially with Linux, which is free and can
be changed by anyone), make UNIX or Linux a powerful solution, especially for server
systems.
Multiuser capabilities : True multiuser systems enable different users to be logged in to
the same system simultaneously. In UNIX and Linux, not only can a user log in to the
same system at the same time as other users, that user can log in multiple times on the
same system as the same user without the operating system batting an eyelash (such
things are often necessary when administrating a network, particularly when managing
users).
Tons of high-quality software : From Apache Server (a Web server that’s used on a
whopping 6 in 10 major Web servers on the Internet) to the long-awaited Mozilla.org
Mozilla 1.0 open source Web browser/e-mail software (Mozilla is an open source
version of the venerated Netscape Communicator) to the powerful free Gimp graphics
manipulation software, Linux is packed with tons of free, high-quality software. The trick
is that, with UNIX/Linux, you give up compatibility with commercial software that’s
available only for Windows and/or Macintosh, currently.
Easy customization : While other operating systems seem to offer less and less choice
to the user about which applications to install with the operating system (Windows XP is
this way), UNIX and especially Linux are the exact counterpoint to that model. With
UNIX or Linux, you can actually customize your operating system kernel, stripping it
down to just drivers and networking or installing everything possible.
Modular architecture : The modular architecture of UNIX (and especially Linux) is
directly responsible for how customizable UNIX is. Modular really means just what it
sounds like: The operating system is built with a kernel that attaches modules to itself
based on what the user needs.
POSIX compliance: With a free operating system like UNIX, the different distributions
(or flavors) of UNIX quickly became difficult to manage. Currently, hundreds of different
implementations of UNIX are available. To enable programmers to have some idea of
how to code their software such that it would run on any version of UNIX, the Institute
of Electrical and Electronics Engineers, Inc. (IEEE) defined the Portable Operating System
Interface (POSIX).
Use of TCP/IP as the standard protocol stack: UNIX overwhelmingly uses TCP/IP as
the protocol stack of choice. If you consider that the vast majority of the servers that
help make up the Internet are UNIX computers of one form or another, you start to get
the idea why TCP/IP is so popular.
A shell interface: All versions of UNIX (at least those you care about for the exam)
include a shell interface of some sort. If you have ever seen your computer use a
completely black screen with white words written on it, that’s a shell interface. You
simply type in commands at the prompt and hit Enter to execute those commands. The
hard part in using these interfaces is simply the effort it takes to learn all of those rather
cryptic commands. Making life even more difficult, UNIX is ultimately customizable and
can use different shells. The bash shell (likely the most popular shell in use today) and
the tcsh shell, for example, have different commands for the same action.
Key characteristics:
network transparency
make a distributed group of machines appear as one
high reliablility
file replication (OS fault-tolerant to network partitions)+ nested transactions
UNIX compatible
File system:
name transparency .entire directory tree is same for all nodes, and cant tell where a
file/directory is located based on its name
file interface transparency, system calls to operate on local files and directories are
exactly the same that can be used to operate on remote files and directories
Advantages of distributed replicated filesystem:
Increased availability , can still get a file even if the regular server is down
Increased performance , can get a file from the closest server
Increased performance , directories are naturally well suited for replication; root
directory is most frequently accessed, and should be replicated to improve
performance; directories lower in the tree should not be replicated as much as they will
not be accessed as frequently.