SlideShare a Scribd company logo
SnappyDB
Nabil Hachicha

Paris Android User Group - 12/2013
What?

Key-Value database
Java API
Kryo
JNI
leveldb + snappy
What?

Key-Value database
Java API
Kryo
JNI
leveldb + snappy
What?

Key-Value database
Java API
Kryo
JNI
leveldb + snappy
What?

Key-Value database
Java API
Kryo
JNI
leveldb + snappy
What?

Key-Value database
Java API
Kryo
JNI
leveldb + snappy
What?

Key-Value database
Java API
Kryo
JNI
leveldb + snappy
Why?

•
•
•
•

SQLite Sucks!
1Mb BLOB limitation
Boilerplate code
SharedPreferences is not the solution
How? 1/2

•

Install using Maven
How? 1/2

•

Or just copy the files into libs
How? 2/2

•

Code
How? 2/2

•

Code
How? 2/2

•

Code
Benchmark 1/2

•

SnappyDB vs SQLite with transaction
Benchmark 2/2

•

SnappyDB vs SQLite without transaction
But wait there's more!

4 Mb of i18n text compressed to 2.5 Mb
Q&A

github.com/nhachicha/SnappyDB
@nabil_hachicha

More Related Content

PPTX
Running MongoDB in the Cloud
PPTX
Level DB - Quick Cheat Sheet
PDF
Apache Jackrabbit
PDF
Presto - Hadoop Conference Japan 2014
PDF
Fluentd - Flexible, Stable, Scalable
PDF
Empowering developers to deploy their own data stores
PDF
Ruby and Distributed Storage Systems
PPTX
Oak, the architecture of Apache Jackrabbit 3
Running MongoDB in the Cloud
Level DB - Quick Cheat Sheet
Apache Jackrabbit
Presto - Hadoop Conference Japan 2014
Fluentd - Flexible, Stable, Scalable
Empowering developers to deploy their own data stores
Ruby and Distributed Storage Systems
Oak, the architecture of Apache Jackrabbit 3

What's hot (20)

PPTX
Day 9 - PostgreSQL Application Architecture
PPTX
Serialization and performance by Sergey Morenets
PDF
Planet-scale Data Ingestion Pipeline: Bigdam
PDF
Fluentd and Docker - running fluentd within a docker container
PDF
Technologies for Data Analytics Platform
PPTX
Embulk and Machine Learning infrastructure
PDF
Mobius: C# Language Binding For Spark
PDF
Spark Workflow Management
PDF
Know thy cost (or where performance problems lurk)
PPTX
Day 1 - Intro to Ruby
PDF
Apache Sparkにおけるメモリ - アプリケーションを落とさないメモリ設計手法 -
KEY
A rubyist's naive comparison of some database systems and toolkits
PPTX
Jorge de la Cruz [Veeam Software] | RESTful API – How to Consume, Extract, St...
PPTX
Day 8 - jRuby
PPTX
Drupal meets PostgreSQL for DrupalCamp MSK 2014
PPTX
Presto Meetup 2016 Small Start
PDF
Data Processing and Ruby in the World
PDF
Scalding - Big Data Programming with Scala
PDF
Restful Best Practices
PDF
Tale of ISUCON and Its Bench Tools
Day 9 - PostgreSQL Application Architecture
Serialization and performance by Sergey Morenets
Planet-scale Data Ingestion Pipeline: Bigdam
Fluentd and Docker - running fluentd within a docker container
Technologies for Data Analytics Platform
Embulk and Machine Learning infrastructure
Mobius: C# Language Binding For Spark
Spark Workflow Management
Know thy cost (or where performance problems lurk)
Day 1 - Intro to Ruby
Apache Sparkにおけるメモリ - アプリケーションを落とさないメモリ設計手法 -
A rubyist's naive comparison of some database systems and toolkits
Jorge de la Cruz [Veeam Software] | RESTful API – How to Consume, Extract, St...
Day 8 - jRuby
Drupal meets PostgreSQL for DrupalCamp MSK 2014
Presto Meetup 2016 Small Start
Data Processing and Ruby in the World
Scalding - Big Data Programming with Scala
Restful Best Practices
Tale of ISUCON and Its Bench Tools
Ad

Viewers also liked (6)

PDF
LevelDB 간단한 소개
PPTX
RealmDB for Android
PDF
Tips and tricks for building high performance android apps using native code
PPTX
Google Protocol buffer
PDF
Open vSwitch 패킷 처리 구조
PDF
Open vSwitch와 Mininet을 이용한 가상 네트워크 생성과 OpenDaylight를 사용한 네트워크 제어실험
LevelDB 간단한 소개
RealmDB for Android
Tips and tricks for building high performance android apps using native code
Google Protocol buffer
Open vSwitch 패킷 처리 구조
Open vSwitch와 Mininet을 이용한 가상 네트워크 생성과 OpenDaylight를 사용한 네트워크 제어실험
Ad

Similar to SnappyDB - NoSQL database for Android (20)

KEY
Perl 6 DBDI 201007 (OUTDATED, see 201008)
KEY
Backend as a Service
PDF
The Grapes of Rapid (RubyConf 2010)
PDF
Programmatic Load of the Oracle Clinical Global Library
PPT
Ruby - The Hard Bits
PDF
JRuby At LinkedIn
PPTX
Taking Control of your Data with GraphQL
PDF
Scala and Play with Gradle
PDF
IPv6 at LinkedIn
KEY
Ruby On Rails Overview
PDF
Angular 2 overview
PPT
Rails Vs CakePHP
KEY
Alex Snaps JEEConf Presentation
PDF
Real World Technologies
PDF
OpenAPI Generator The Babel Fish of The API World - apidays Live Paris
PDF
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
PPTX
GraphQL-ify your APIs - Devoxx UK 2021
KEY
Mongodb and Totsy - E-commerce Case Study
PDF
NA Developer Day - Taking your COBOL apps to Net & JVM
PPTX
What is Hibernate Framework?
Perl 6 DBDI 201007 (OUTDATED, see 201008)
Backend as a Service
The Grapes of Rapid (RubyConf 2010)
Programmatic Load of the Oracle Clinical Global Library
Ruby - The Hard Bits
JRuby At LinkedIn
Taking Control of your Data with GraphQL
Scala and Play with Gradle
IPv6 at LinkedIn
Ruby On Rails Overview
Angular 2 overview
Rails Vs CakePHP
Alex Snaps JEEConf Presentation
Real World Technologies
OpenAPI Generator The Babel Fish of The API World - apidays Live Paris
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
GraphQL-ify your APIs - Devoxx UK 2021
Mongodb and Totsy - E-commerce Case Study
NA Developer Day - Taking your COBOL apps to Net & JVM
What is Hibernate Framework?

Recently uploaded (20)

PPTX
Machine Learning_overview_presentation.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPT
Teaching material agriculture food technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Cloud computing and distributed systems.
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Machine Learning_overview_presentation.pptx
The AUB Centre for AI in Media Proposal.docx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Teaching material agriculture food technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Programs and apps: productivity, graphics, security and other tools
Spectral efficient network and resource selection model in 5G networks
Building Integrated photovoltaic BIPV_UPV.pdf
Electronic commerce courselecture one. Pdf
Cloud computing and distributed systems.
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Digital-Transformation-Roadmap-for-Companies.pptx