ayende raven db
DESCRIPTION
Ayende Rahien, author of Core NHibernate, will present Raven DB, a new—and the only—document database on the .NET platform. Part of the NoSQL movement, document databases gives you a different way of structuring and building your data. Raven DB is schema-free, JSON-based, Linq enabled data store, supporting very efficient searching. In this talk, we will put Raven DB on the spotlight, examine what it can do and what sort of scenarios it is applicable for.TRANSCRIPT
![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/