1. VISUAL STUDIO FÜR WINDOWS-ENTWICKLER
30.-31. JAN. 2012, MÜNCHEN
in .NET mit RavenDB und MongoDB
31.01.2012
Dipl.-Inf. (FH) Johannes Hoppe
Partner: Veranstalter:
11. Anforderungen
an ein verteiltes System
Consistency
Konsistenz
Partition
Availability
Tolerance Verfügbarkeit
Ausfalltoleranz
12. CAP Theorem
› 2000: E. Brewer, N. Lynch
› You can satisfy
at most 2 out of the 3 requirements
13. Consistency
› The system is in a consistent state after an operation
› All clients see the same data
› Strong consistency (ACID)
vs. eventual consistency (BASE)
ACID: Atomicity, Consistency, Isolation and Durability
BASE: Basically Available, Soft state, Eventually consistent
14. Availability
› System is “always on”, no downtime
› Node failure tolerance
– all clients can find some available replica
› Software/hardware upgrade tolerance
15. Partition tolerance
› System continues to function even when
split into disconnected subsets (network disruption)
› Not only for reads, but writes as well
28. BSON Master/Slave
JavaScript C# Driver
Sharding GNU AGPL
29. JSON BSON
All JSON documents are stored in a binary
format called BSON. BSON supports a
richer set of types than JSON.
http://bsonspec.org
30. CRUD – Create
In der Shell
› use WebNote
› db.Notes.save( {Title: 'Mittag',
Message: 'nicht vergessen' });
So funktioniert der Befehl
› db.Notes.save
31. CRUD – Read
Queries werden ebenso im Dokument-Stil spezifiziert
› db.Notes.find();
› db.Notes.find({ Title: /Test/i });
› db.Notes.find({ "Categories.Color": "red"}).limit(1);
34. “Map Reduce is the Uzi of aggregation
tools. Everything described with count,
distinct and group can be done with
MapReduce, and more.”
Kristina Chadorow, Michael Dirolf in MongoDB – The Definitive Guide
46. NoSQL: Einstieg in die Welt nicht- MongoDB:
relationaler Web 2.0 Datenbanken The Definitive Guide
RavenDB Mythology Documentation MongoDB in Action
https://s3.amazonaws.com/
daily-builds/RavenDBMythology-11.pdf
48. VISUAL STUDIO FÜR WINDOWS-ENTWICKLER
30.-31. JAN. 2012, MÜNCHEN
FRAGEN?
Partner: Veranstalter:
49. Wir sehen uns wieder!
Advanced Developers Conference C++
3. – 4. Mai 2012, Zugspitzland
Development for C++ Professionals!
www.adcpp.de
SharePoint Konferenz in Wien
19. – 20. Juni 2012, Wien
ppedv-Konferenz in Kooperation mit
Microsoft Österreich
www.SharePointKonferenz.at
Partner: Veranstalter:
50. VISUAL STUDIO FÜR WINDOWS-ENTWICKLER
30.-31. JAN. 2012, MÜNCHEN
Hat Ihnen mein Vortrag gefallen?
Ich freue mich auf Ihr Feedback!
Partner: Veranstalter:
51. VISUAL STUDIO FÜR WINDOWS-ENTWICKLER
30.-31. JAN. 2012, MÜNCHEN
Vielen Dank
Johannes Hoppe
Partner: Veranstalter: