Raven DB; day to day
-
Upload
andrea-magnorsky -
Category
Technology
-
view
2.056 -
download
2
description
Transcript of Raven DB; day to day
![Page 1: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/1.jpg)
Andrea Magnorsky
![Page 2: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/2.jpg)
Document Database JSON Linq Open source Transactional Flexible
![Page 3: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/3.jpg)
No schemas Documents DTO Knowledge re-use In synch with aggregates (DDD) Advanced features
![Page 4: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/5.jpg)
Embedded
Server
… Sharded
![Page 6: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/6.jpg)
![Page 7: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/7.jpg)
Loads associated documents on first request. Example
![Page 8: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/8.jpg)
At the core of Raven Linq provider Eventually consistent
![Page 9: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/9.jpg)
From http://www.gridgain.com/images/mapreduce_small.png
![Page 10: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/11.jpg)
![Page 12: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/12.jpg)
Basically Map/reduce but with many maps
![Page 13: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/13.jpg)
![Page 14: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/14.jpg)
Remove fields: Loose data Add fields: default values strategy Change: come up with a suitable strategy
![Page 15: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/16.jpg)
Shadow copy. Take copies of data directory Raven backup and restore system
![Page 17: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/17.jpg)
Well designed and abstracted Embedded document store
![Page 18: Raven DB; day to day](https://reader034.fdocuments.us/reader034/viewer/2022042713/5478eb7fb479599f098b45f6/html5/thumbnails/18.jpg)
@silverspoon www.roundcrisis.com