• Keine Ergebnisse gefunden

PERSISTENT MESSAGING PROTOCOL

N/A
N/A
Protected

Academic year: 2022

Aktie "PERSISTENT MESSAGING PROTOCOL"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Non-Standard Database Systems Nikolaus Augsten

PERSISTENT MESSAGING PROTOCOL

The following refinement solves an issue regarding the timeout mechanism in the persistent messaging protocol discussed in Silberschatz et al., Database System Concepts, 6th ed., 2011.

Components Sender S Receiver R

we allow temporary failure

Temporary failures make a node unreachable (e.g., because of network or node failure) for a finite amount of time. After the failure, the node returns and continues processing messages.

Messaging Infrastructure

• arbitrary delay (i.e., messages may get lost or may not arrive in sending order)

• probability of successful delivery>0 (i.e., not all messages get lost) Protocol

All additions to the original protocol (described inSilberschatz et al.) are marked inred.

MTS(i, Mi, ti): messages to send relation RM(i, Mi, ti): received messages relation

ti: time when message Mi with unique message number iwas first sent byS S

for e a c h (i, Mi, ti) MTS : s e n d (i, Mi, ti) to R

(i, a c k n o w l e d g e ) r e c e i v e d :

MTS = MTS \ {(j, Mj, tj)|(j, Mj, tj)M T S, j=i}

do p e r i o d i c a l l y :

TOLD=min{ti|(i, Mi, ti)MTS}

s e n d TOLD to R

R

(i, Mi, ti) r e c e i v e d : if tiTOLD:

if (i, Mi, ti) 6∈ RM : RM = RM ∪ {(i, Mi, ti)}

s e n d (i, a c k n o w l e d g e ) to S

TOLD r e c e i v e d :

RM = RM \ {(i, Mi, ti)|(i, Mi, ti)RM, ti< TOLD}

Database Research Group Department of Computer Sciences

University of Salzburg

1

Referenzen

ÄHNLICHE DOKUMENTE

Since various countries have currencies of their own with differing Exchange rates, we have defined a NationCoin Unit asOne NationCoin Unit=One NationCoin X Exchange rate of

In order to understand the major contributors to the inequality in Brasilia (Federal District) in 2000 and 2010 we start decomposing the inequality of household per

Para entender melhor os maiores componentes da desigualdade no Distrito Federal em 2000 e 2010 e explicar por que ela não caiu, ao contrário do Brasil, começamos decompondo

Instant Messaging - User View. • let other people &#34;see&#34; my presence (if I do

In the last decade, governments such as the Netherlands, the United States, and the United Kingdom, as well as international organizations including the United Nations, have begun

The Internet Engineering Task Force (IETF) has made considerable efforts in separately 

A wide range of estimates from 0 to 3 per cent of GDP have been presented for the cost of meeting the reduction target by the Analysis and Modeling Group in its &#34;Assessment of

First, the average random access time is so excessive that data needs to be extensively clustered and stored sequentially.. This leads to an inefficient mis- match between