Loading in 5 sec....

TOWARDS SCALABILITY IN TUPLE SPACESPowerPoint Presentation

TOWARDS SCALABILITY IN TUPLE SPACES

- 58 Views
- Uploaded on
- Presentation posted in: General

TOWARDS SCALABILITY IN TUPLE SPACES

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

TOWARDS SCALABILITYIN TUPLE SPACES

Philipp Obreiter, Guntram Gräf

Telecooperation Office (TecO)

University of Karlsruhe

Obreiter/Gräf: Towards Scalability in Tuple Spaces

Five dimensions:

- size of tuples
- number of tuples in the tuple space
- number of considered tuple spaces
- throughput of the tuple space
- number of clients

Obreiter/Gräf: Towards Scalability in Tuple Spaces

Scalable tuple space

- without schematic restrictions
Procedure:

Obreiter/Gräf: Towards Scalability in Tuple Spaces

F

int

string

1234

5678

“Hello“

“World“

F

Obreiter/Gräf: Towards Scalability in Tuple Spaces

x modulo y

fraction

x modulo 3

x modulo 5

1/2

6/9

2/4

4/6

0

1

0

1

2

4

2

3

Obreiter/Gräf: Towards Scalability in Tuple Spaces

(int,F)

(F, string)

(int,(int,int))

(int,string)

(F,“Hello“)

(1234,(56,78))

(int,“Hello“)

(1234,string)

(5678,“Hello“)

Obreiter/Gräf: Towards Scalability in Tuple Spaces

- Set of p servers {1,...,p}
- Distribution (W,R) for tuple t
- writes to W(t) {1,...,p}
- reads fromR(t) {1,...,p}

- condition for correctness
match(t1,t2) W(t2) R(t1)

1

2

3

4

5

6

R

W

Obreiter/Gräf: Towards Scalability in Tuple Spaces

W(t)

t

t

Abstract representation

- uncouples abstraction of tuples and adjustment to p
- is an efficient data structure

W(t)

abstract

representation

R(t)

R(t)

directly

indirectly

Obreiter/Gräf: Towards Scalability in Tuple Spaces

(F)

(printer,F,F)

(F,1200dpi,F)

(scanner,F,F)

(printer,1200dpi,F)

(scanner,1200dpi,F)

(F,1200dpi,x.x.x.x)

P1

S4

P3

S3

P2

P4

P5

S1

S2

S5

Obreiter/Gräf: Towards Scalability in Tuple Spaces

(F)

(printer,F,F)

(F,1200dpi,F)

(scanner,F,F)

(printer,1200dpi,F)

(scanner,1200dpi,F)

(F,1200dpi,x.x.x.x)

P1

S4

P3

S3

P2

P4

P5

S1

S2

S5

{1}

{7}

{2}

{6}

{12}

{8}

{5}

{8}

{3}

{5}

Obreiter/Gräf: Towards Scalability in Tuple Spaces

(F)

(printer,F,F)

(F,1200dpi,F)

(scanner,F,F)

(printer,1200dpi,F)

(scanner,1200dpi,F)

(F,1200dpi,x.x.x.x)

P1

S4

P3

S3

P2

P4

P5

S1

S2

S5

{7}

{3}

Obreiter/Gräf: Towards Scalability in Tuple Spaces

- Fields:
- hierarchical structure intervals instead of points
- correctness: matchF(f1,f2) F(f2) F(f1)

- Tuples:
- tuple complex multi-dimensional index
- induces transformation to hypercubes

- Distribution:
- Partition hyperspace into tuple domains1,... p
- (,) permissible with (t):= {q | q(t) }

Obreiter/Gräf: Towards Scalability in Tuple Spaces

x1

5

T6

4

T4

3

T5

2

T3

1

T1

T2

x2

-1

0

1

2

3

4

5

Obreiter/Gräf: Towards Scalability in Tuple Spaces

x1

1

2

5

T6

4

T4

3

3

T5

2

4

5

T3

1

T1

T2

x2

-1

0

1

2

3

4

5

x2 = 0

Obreiter/Gräf: Towards Scalability in Tuple Spaces

x1 = 2

2

x1 = 4

x2 = 3

4

5

3

2

Obreiter/Gräf: Towards Scalability in Tuple Spaces

x1

2

5

T6

1

4

T4

3

3

T5

2

T3

1

T1

T2

x2

-1

0

1

2

3

4

5

Obreiter/Gräf: Towards Scalability in Tuple Spaces

- Implementation of a Scalable Tuple Spaces
- Management interface
- Extension to four tiers
- Built-in standard fields
- Validated with respect to:
- Efficiency of the distribution
- Efficiency of adaptive tuple domains

Rate

Obreiter/Gräf: Towards Scalability in Tuple Spaces

1

.8

pruning rate

.6

.4

.2

overhead

n

0

50

100

150

200

250

300

350

400

450

500

Obreiter/Gräf: Towards Scalability in Tuple Spaces