speed-up your big data applications with sencha and speedment
Post on 25-Jan-2017
498 Views
Preview:
TRANSCRIPT
CONFIDENTIAL • Sencha Inc. ©2015
Speed-up Your Big Data Applications with Sencha and Speedment
Per MinborgCTO, Speedment
CONFIDENTIAL • Sencha Inc. ©2015
Demo Race
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
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
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
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
CONFIDENTIAL • Sencha Inc. ©2015
The Speedment Mission
7
Enable rapid and easy development of Big Data Apps with real time execution.
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
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
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
CONFIDENTIAL • Sencha Inc. ©2015
Why will in-JVM Memory give you Insane Speed?
Database In JVM Memory
Compare latencies using the Speed of Light
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)
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
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
CONFIDENTIAL • Sencha Inc. ©2015
Fast Development and Extreme Performance
Frontend
BackendOne end
CONFIDENTIAL • Sencha Inc. ©2015
Demo Get started with Speedment in 1 minute
CONFIDENTIAL • Sencha Inc. ©2015
Live Demo
CONFIDENTIAL • Sencha Inc. ©2015
Pivot Grid with >100 000 rows
CONFIDENTIAL • Sencha Inc. ©2015
Thanks!• www.spedment.com
• www.speedment.org
• GitHub: https://github.com/speedment/speedment-orm
• Twitter: @speedment
• Mail: sales@speedment.com
• Blog: minborgsjavapot.blogspot.com
• Palo Alto
top related