Download - Ayende Raven Db
![Page 2: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/2.jpg)
![Page 3: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/3.jpg)
What is it?
• Document Database• .NET• Linq• MEF
• Fast
![Page 4: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/4.jpg)
Document Database is…
• Documents– JSON• or derivatives
– XML• Schema free• Documents are independent• Non relational
![Page 5: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/5.jpg)
Examples
![Page 6: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/6.jpg)
Why?
• Schema free• User generated content• Storing full complex object graphs
• Low overhead - Usually operate on a single document– One read, one write
• Fast
• Known format means the database can do interesting things with it…
![Page 7: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/7.jpg)
Indexing
• Order in schema free world• Materialized views• Built on the background• Allow stale reads• Don’t slow down CRUD ops
![Page 8: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/8.jpg)
Extensibility
![Page 9: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/9.jpg)
MVC Music Store
• New sample• Ported to Raven
• Took ~6 hours– But it also included writing 13 blog posts
• Part of Raven’s samples
![Page 10: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/10.jpg)
Sharding
![Page 11: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/11.jpg)
Replication
![Page 12: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/12.jpg)
Event SourcingShould we even be on this slide?
![Page 13: Ayende Raven Db](https://reader033.vdocument.in/reader033/viewer/2022061223/54c6f65c4a7959c5088b4577/html5/thumbnails/13.jpg)
More information
• http://ravendb.net• http://groups.google.com/group/ravendb/