YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

hello

Page 2: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Artur DrobinskiyDP Labsarchitect

Page 3: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Database

Page 4: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Mobile Database

Page 5: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 6: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 7: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

What is Realm?

Page 8: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Benchmark

Page 9: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 10: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 11: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 12: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 13: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 14: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Realm Core

Android iOS Windows

Realm API

Page 15: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

SELECT * FROM Dogs WHEREAge <= 2

var pups = realm.All<Dog>()

.Where(d => d.Age <= 2);

Page 16: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

SELECT * FROM Dogs WHEREAge <= 2

RealmResults<Dog> pups =

realm.where(Dog.class)

.lessThan("age", 2)

.findAll();

Page 17: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

SELECT * FROM Dogs

JOIN Owners ON

Dogs.OwnerId = Owners.Id

WHERE Owner.Id = 1

var dogs = realm.Find<Owner>(1).Dogs;

RealmResults<Dog> persons =

realm.where(Dog.class)

.equalTo("owner.id", 1)

.findAll();

Page 18: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Sync

Page 19: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 20: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

DEMO? ☺

Page 21: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 22: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 23: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 24: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 25: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 26: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

• Data is not persisted

• Only 10 MB cache

• OMG NOSQL

Page 27: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 28: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

• Microsoft

• AZURE

• SQLite + strange security

Page 29: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 30: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 31: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 32: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

What is server-side data access?

Page 33: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 34: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

SELECT * FROM [Messages] WHERE

[UserId] = 'Vasya' AND [Date] = '2017-05-20'

var database = FindFile("VasyaPuprkin.realm");

var messages = database.Messages.Where(x => x.Date == "2017-05-20");

Page 35: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

SELECT * FROM [Messages] WHERE

[Date] = '2017-05-20'

foreach (var user in users){

var database = FindFile(user + ".realm");var messages = database.Messages

.Where(x =>x.Date == "2017-05-20");}

Page 36: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

$1500 per month

Page 37: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

$1500 per month

Page 38: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6
Page 39: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

SQL ServerEntity FrameworkSignalR

Realm.Xamarin

Page 40: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

DEMO? ☺

Page 41: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Go visit http://realmius.rubius.com

Page 42: hello · Couchbase Lite SQLite libraries . Counts 30.9 20 Realm Get count of records matching a query on a database of 200k records (higher is better) 13.6 SQLite 13.6

Q&A


Related Documents