finstat.sk: the nosql story

14
FINSTAT.SK: THE NOSQL STORY Marián Vlčák (vlko) SPONSORED BY: FINSTAT.SK, BRAINHOUSE.SK @vlkodotnet

Upload: vlko

Post on 03-Aug-2015

136 views

Category:

Software


1 download

TRANSCRIPT

Page 1: finstat.sk: the nosql story

FINSTAT.SK:THE NOSQL STORY

Marián Vlčák (vlko)

SPONSORED BY: FINSTAT.SK, BRAINHOUSE.SK

@vlkodotnet

Page 2: finstat.sk: the nosql story

I am …

I have MS OS, MS PC, MS Keyboard, MS mouse, MS headphones, ?MS phone?

even this font is MS designedSo when I found out, that there is pure managed NoSQL

solution there was no other choice

Page 3: finstat.sk: the nosql story

So finstat.sk was born

Aggregates multiple external sourcesData processing/monitoring200k unique users from Slovakia per month

Page 4: finstat.sk: the nosql story

RavenDBNoSQLSch

ema fr

eeTransactional

Scalable Easy to useHighPerformance

Designed with Care

Lean, powerful,

productiveJSON

Page 5: finstat.sk: the nosql story

THIS IS RAVENDB

But in realityCAP theorem problemCQRS

ESENT/JETkey/value store

LUCENE.NETindexing engine

DATA QUERY by id

All othersQUERIES

GPLv3$$$$$

Page 6: finstat.sk: the nosql story

Indexing

Simple indexesMultimap indexesMap/reduce indexes (steps stored in ESENT)Search/filtersFacetsUpdated on flySlow to fully re-computeSide-by-side indexing

Page 7: finstat.sk: the nosql story

Will it scale?

ReplicationMaster-Master, Master-Slave, all otherClient side shardingAuto-failure switch

Page 8: finstat.sk: the nosql story

Developer is a customer - Client API

LINQ (type support)CachingAggressive cachingMulti-getTransactionsBulk insert

Data subscriptionPatchingTransformersEven more

Page 9: finstat.sk: the nosql story

We love OpsBuilt-in studio Previously Silverlight now HTML5 (DurandalJS based)

Page 10: finstat.sk: the nosql story

Personal experience

Earlier 0.x versions – freezing/performance problems2.x – “locate your own bug in source”Stable enough 3.0.35xxReal performance gain 3.0.36xx (30-40%)New versions on the way out

Page 11: finstat.sk: the nosql story

Load data sample

All other details at no cost

=> cache

Page 12: finstat.sk: the nosql story

MultiMap/Reduce

Page 13: finstat.sk: the nosql story

Fake entities

Why?www.finstat.sk/spolocnici-konatelia

Page 14: finstat.sk: the nosql story

The end

There is much more to sayLike safe by default, spatial, bundles, plugins, etc, etc…

QUESTIONS?

@vlkodotnet