19
CONFIDENTIAL • Sencha Inc. ©2015 Speed-up Your Big Data Applications with Sencha and Speedment Per Minborg CTO, Speedment

Speed-up Your Big Data Applications with Sencha and Speedment

Embed Size (px)

Citation preview

Page 1: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Speed-up Your Big Data Applications with Sencha and Speedment

Per MinborgCTO, Speedment

Page 2: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Demo Race

Page 3: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Agenda

3

• What Problems do we solve?• What is Speedment?• Video -Getting started with Speedment in 1 minute• Live demo of connecting Speedment and Sencha

Page 4: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Current Problem

Consumer are demanding modern applications with quick response times• Ability to monitor activity in real time as it

happens on a site or app• 1 second-delay in page response can result

in 7% reduction in conversion

Developers are facing a number of challenges realizing quick responses• Big data often lead to long response times• Apps depends on backend databases / type

Page 5: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Difficult to Connect to Existing Data

DB

JDBCHibernate DAO

Methods for mapping between objects and database

ODM

Entity DefinitionsDTO

Data Access Layer

Page 6: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Difficult to Connect to Existing Data

Backend is often complicated, fragmented and dependent of several applications. Data becomes bigger and bigger every year

Page 7: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

The Speedment Mission

7

Enable rapid and easy development of Big Data Apps with real time execution.

Page 8: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

What is Speedment?

• Database backend tool for applications

• Simplifies the challenge to develop database applications

• You can, within hours, design, develop and deploy applications

• Automatic generation of code, no need to worry about the backend

Speedment

Sencha Application

Java Streams

Page 9: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

What is Speedment?

• Convert large databases into In-memory Java Objects (within JVM)

• Extreme Performance, real time Big Data –Insane Mode

• Scales Linearly -More CPUs, More Insane

Page 10: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

How does it Work?

10

In JVM memory cacheJava Objects in Graph

ViewSeparates Reads and WritesReflection in

real time

ApplicationJVM

Read

Write

Page 11: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Why will in-JVM Memory give you Insane Speed?

Database In JVM Memory

Compare latencies using the Speed of Light

Page 12: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Why will in-JVM Memory give you Insane Speed?• Keep everything in-JVM• No need to check if an object is in cache• We can organize objects knowing that we have them all• We do not even have to look at individual objects -> O(1)• Everything is Java

Size

Time

O(1)

O(n)

Page 13: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

How can I fit my full Database in JVM Memory?

~24 GB

>1 TB

>4 TB

On-HeapOff-

Heap

SSD

SQL

Database Size(After Compression)

Scale Up

Scale Out

Page 14: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Cost of 1 GB RAM

$ 5

$ 0.04

$ 720,000

$ 67,000,000,000

Source: http://www.jcmit.com/memoryprice.htm

1959

2015

1985

2030

Page 15: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Fast Development and Extreme Performance

Frontend

BackendOne end

Page 16: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Demo Get started with Speedment in 1 minute

Page 17: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Live Demo

Page 18: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Pivot Grid with >100 000 rows

Page 19: Speed-up Your Big Data Applications with Sencha and Speedment

CONFIDENTIAL • Sencha Inc. ©2015

Thanks!• www.spedment.com

• www.speedment.org

• GitHub: https://github.com/speedment/speedment-orm

• Twitter: @speedment

• Mail: [email protected]

• Blog: minborgsjavapot.blogspot.com

• Palo Alto