Preview

Logical Data Modelling

Powerful Essays
Open Document
Open Document
912 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Logical Data Modelling
Last Class: RPCs and RMI
• Case Study: Sun RPC
• Lightweight RPCs
• Remote Method Invocation (RMI)
– Design issues

Computer Science

CS677: Distributed OS

Lecture 1, page 1

Today: Communication Issues
• Message-oriented communication
– Persistence and synchronicity

• Stream-oriented communication

Computer Science

CS677: Distributed OS

Lecture 1, page 2

Persistence and Synchronicity in Communication


General organization of a communication system in which hosts are connected through a network

2-20

Computer Science

CS677: Distributed OS

Lecture 1, page 3

Persistence
• Persistent communication
– Messages are stored until (next) receiver is ready
– Examples: email, pony express

Computer Science

CS677: Distributed OS

Lecture 1, page 4

Transient Communication
• Transient communication
– Message is stored only so long as sending/receiving application are executing
– Discard message if it can’t be delivered to next server/receiver
– Example: transport-level communication services offer transient communication
– Example: Typical network router – discard message if it can’t be delivered next router or destination

Computer Science

CS677: Distributed OS

Lecture 1, page 5

Synchronicity
• Asynchronous communication
– Sender continues immediately after it has submitted the message
– Need a local buffer at the sending host

• Synchronous communication
– Sender blocks until message is stored in a local buffer at the receiving host or actually delivered to sending
– Variant: block until receiver processes the message

• Six combinations of persistence and synchronicity
Computer Science

CS677: Distributed OS

Lecture 1, page 6

Persistence and Synchronicity Combinations

2-22.1

a)
b)
Computer Science

Persistent asynchronous communication (e.g., email)
Persistent synchronous communication
CS677: Distributed OS

Lecture 1, page 7

Persistence and Synchronicity

You May Also Find These Documents Helpful

  • Good Essays

    Nt1330 Unit 5 Assignment 1

    • 1348 Words
    • 6 Pages

    4. The client accept the connection and send data to server and the server to replay the…

    • 1348 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Among them the first approach was proposed in 1984 by Chandy and Lamport, to build a possible global state of a distributed system [20]. The goal ofthis protocol is to build a consistent distributed snapshot of the distributed system. A distributed snapshot is a collection of process checkpoints (one per process), and a collection of in-flight messages (an ordered list of messages for each point to point channel). The protocol assumes ordered loss-less communication channel; for a given application, messages can be sent or received after or before a process took its checkpoint. A message from process p to process q that is sent by the application after the checkpoint of process p but received before process q checkpointed is said to be an orphan message. Orphan messages must be avoided by the protocol, because they are going to be re-generated by the application, if it were to restart in that snapshot. Similarly, a message from process p to process q that is sent by the application before the checkpoint of process p but received after the checkpoint of process q is said to be missing. That message must belong to the list of messages in channel p to q, or the snapshot is inconsistent. A snapshot that includes no orphan message, and for which all the saved channel messages are missing messages is consistent, since the application can be started from that state and pursue its computation…

    • 1211 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Nt1310 Unit 1

    • 4209 Words
    • 17 Pages

    83) Which process is responsible for establishing a connection between the client and the server?…

    • 4209 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    Knowing the hardware and software that the client will be using is very crucial in designing any database as if there computer is slower, the database will need to be adjusted to the computers requirements. Building the database to meet the requirements of the client's computer is very crucial for efficiency.…

    • 373 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Decision Model Theory

    • 1245 Words
    • 5 Pages

    The problem that John Thompson identifies is whether to expand his product line by manufacturing and marketing a new product, backyard storage sheds.…

    • 1245 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    The physical database design is then converted to a physical structure by generating or writing the DDL and installing the database.…

    • 444 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Introduction to SQL: Querying a Clintrial Database Exercise Manual Toby Odenheim Introduction to SQL: Querying a Clintrial Database Page i of 16 Version 1 – January, 2008 Introduction to SQL: Querying a Clintrial Database…

    • 1215 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Relational Database, establishes a well-defined and a properly structured relation among all the tables present in a database.…

    • 1053 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    This short paper will explain with a simple example the process and the need of normalization in the most of the business databases. Complete proposal break down (Timeline phases, Financial phases) will be submitted per management request.…

    • 1393 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Relational Model

    • 393 Words
    • 2 Pages

    The relational database model consists of three parts: data structure (this section), data integrity, and data manipulation. The data structure model defines how to represent data. Most basic to the data structure model is the relation which is illustrated below:…

    • 393 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Each strong entity in the ER / EER diagram will be a relation on translation. The attributes of the entities will be automatically the attributes of the relation. One of the attributes which has unique and single value will be the primary key of the relation.…

    • 1797 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    Fuzzy Logic

    • 2241 Words
    • 9 Pages

    Abstract Energy demand management or Demand Side Management (DSM) involves actions that influence the pattern of energy consumption by consumers. In this paper a fuzzy logic based approach towards shifting the average power demand of residential electric water heaters has been discussed. Power system demand side management programs are strategies designed to alter the shape of the load curve. This paper targets both customer satisfaction and utility unit commitment savings, based on a fuzzy load model for the direct load control of appliances. Problem Definition Load management is the process of balancing the supply of electricity on the network with the electrical load by adjusting or controlling the load rather than the power station output. For example, the cost of electricity is highest when the air conditioning load is greatest during hot afternoons. Load management programs or DSM programs are programs that intentionally alter the load shape of the customer by deliberate utility (an organisation that maintains the infrastructure for public service) intervention. It is seen that in a typical city, the power consumed is maximum over the 8:00 am to 5:00 pm duration. With the ever increasing demand of electricity, even electric utility companies is faced with overwhelming demand peaks associated with a large amount of power being consumed at the same time. So, electric utility companies come up with price incentives for customers who participate in load management programs. Otherwise, these companies introduce a real time pricing strategy by which customers pay more for the electric power they use during high demand periods and less during low demand periods. Some statistics collected at a typical residential area showed that the electric water heater was the single largest contributor…

    • 2241 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    p-type transistors short circuit, if f (X) = 1 open circuit, if f (X) = 0…

    • 2628 Words
    • 11 Pages
    Good Essays
  • Good Essays

    Fuzzy Logic

    • 2675 Words
    • 11 Pages

    As humans, we often rely on imprecise expressions like "usually", "expensive", or "far". But the comprehension of a computer is limited to a black-white, everything-or-nothing, or true-false mode of thinking. Within conventional logic, terms can be only "true" or "false" i.e. either 0 or 1. Fuzzy logic allows a generalization of conventional logic. It provides for terms between "true" and "false" like "almost true" or "partially false". Therefore, fuzzy logic cannot be directly processed on computers but must be emulated by special code. The binary logic of modern computers often falls short when describing the vagueness of the real world. Fuzzy logic offers more graceful alternatives. Computers do not reason as brains do. Computers "reason" when they manipulate precise facts that have been reduced to strings of zeros and ones and statements that are either true or false. The human brain can reason with vague assertions or claims that involve uncertainties or value judgments: The air is cool," or "That speed is fast" or "She is young." Unlike computers, humans have common sense that enables them to reason in a world where things are only partially true. Fuzzy logic is a branch of machine intelligence that helps computers paint gray, commonsense pictures of an uncertain world. Logicians in the 1920s first broached its key concept: everything is a matter of degree.…

    • 2675 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    Logic Design

    • 2184 Words
    • 9 Pages

    2. Why is parity bit required? How is it used in correcting single bit errors? Explain with the help of an example.…

    • 2184 Words
    • 9 Pages
    Powerful Essays

Related Topics