16
In-Memory Database Competitive Landscape and Performance Analysis Laureando: Valerio Barbagallo Relatore: Paolo Merialdo Tutor: Michele Aiello

In-Memory Database

  • Upload
    bryson

  • View
    55

  • Download
    0

Embed Size (px)

DESCRIPTION

Competitive Landscape and Performance Analysis. In-Memory Database. Laureando: Valerio Barbagallo. Tutor: Michele Aiello. Relatore: Paolo Merialdo. Context. A database is a structured collection of data - PowerPoint PPT Presentation

Citation preview

Page 1: In-Memory Database

In-Memory DatabaseCompetitive Landscape

andPerformance Analysis

Laureando:Valerio BarbagalloRelatore:

Paolo MerialdoTutor:

Michele Aiello

Page 2: In-Memory Database

Context A database is a structured

collection of data

A database management system (DBMS) is computer software that manages databases

An in-memory database (IMDB) is a database management system that primarily relies on main memory

DBMSDatabase

Page 3: In-Memory Database

Application Scenario

Real time applications with no durability needs (e.g.: router)

Real time applications with durability needs which require high throughput and low latency

Traditional applications during the development and testing phase

Page 4: In-Memory Database

Summary

IMDB vs. Traditional DBMS

Databases’ Performance Analysis

Real Time Prepaid System Load Test Case

Results’ Analysis

Conclusion

Page 5: In-Memory Database

Comparison Against Traditional DBMS

Caching

Data-transfer overhead

Transaction processing

Application

File System

Database Runtime

Database Cache

File System Cache

Hard Disk

Page 6: In-Memory Database

Adding Durability

On-line backup High availability implementation Non Volatile RAM Transaction logging

PerformanceDurability

Page 7: In-Memory Database

Advantages & Disadvantages

Advantages: Lightweight Robustness High

performance

Disadvantages: Huge amount of RAM Durability Slow startup Slow snapshot

Page 8: In-Memory Database

Databases’ Performance Analysis Databases are only slower or faster

given a specific set of criteria in a given benchmark Execution platform Test scenario Test implementation

Test Suite: Base test case Load test case

Page 9: In-Memory Database

Benchmark Requirements

A benchmark is a point of reference used to measure the performance

Requirements: Portable Flexible Detailed report for each test Visual report For both relational and object database Easy to use

Page 10: In-Memory Database

Functional View

bench-properties.xml benchmark.pdf

databases

testsgraphs

Page 11: In-Memory Database

Elements’ Description The benchmark runs several Test on

different Database Each Test is composed by (concurrent) Task

Both Task and Test use many Monitor Each Test can use many Reporter

Page 12: In-Memory Database

Real Time Prepaid System Load Test Case

Real Time Prepaid System

Balance check

Service authorization and

management

Accounts manageme

nt10 tps 10 tps2000 tps

Domain object Initialization number

Account 4 millionsMSISDN 8 millionsSession 100 thousands

Page 13: In-Memory Database

Throughput

PICO4 Prevayler H2 HSQLDB Db4o

Page 14: In-Memory Database

Memory Usage

PICO4 Prevayler H2 HSQLDB Db4o

Page 15: In-Memory Database

Conclusion Contributions:

Introduction to IMDB with an in-depth analysis Performance analysis problem Database benchmark framework with powerful

graphs Prevayler, H2, Db4o, HSQLDB, PICO4

Future Development: New tests and databases Graphical user interface Mapping technology layer

Page 16: In-Memory Database

Thanks for your attention