raven db; day to day

18
Andrea Magnorsky

Upload: andrea-magnorsky

Post on 29-Nov-2014

2.057 views

Category:

Technology


2 download

DESCRIPTION

Presentation for DDDSW 2012 on Raven DB

TRANSCRIPT

Page 1: Raven DB; day to day

Andrea Magnorsky

Page 2: Raven DB; day to day

Document Database JSON Linq Open source Transactional Flexible

Page 3: Raven DB; day to day

No schemas Documents DTO Knowledge re-use In synch with aggregates (DDD) Advanced features

Page 4: Raven DB; day to day

Setup: for production and testing. Indexes

map reduce.

Understanding stale data.

Test strategies Migrations Backup Document design: keep on keeping on.

Page 5: Raven DB; day to day

Embedded

Server

… Sharded

Page 6: Raven DB; day to day
Page 7: Raven DB; day to day

Loads associated documents on first request. Example

Page 8: Raven DB; day to day

At the core of Raven Linq provider Eventually consistent

Page 10: Raven DB; day to day

The result type is not consistent across map and reduce

Not creating the indexes Creating too many indexes (they are costly) The index runs but results are not what you

expected

Page 11: Raven DB; day to day
Page 12: Raven DB; day to day

Basically Map/reduce but with many maps

Page 13: Raven DB; day to day
Page 14: Raven DB; day to day

Remove fields: Loose data Add fields: default values strategy Change: come up with a suitable strategy

Page 15: Raven DB; day to day

Sharding and Replication. Quotas. Expiration. Index Replication (to SQL) Authentication (with Oauth). Authorization. Versioning. Cascade Deletes. More Like This. Unique Constraints.

Page 16: Raven DB; day to day

Shadow copy. Take copies of data directory Raven backup and restore system

Page 17: Raven DB; day to day

Well designed and abstracted Embedded document store

Page 18: Raven DB; day to day

@silverspoon www.roundcrisis.com