Polyglot Persistence withNoSQLEffektieferes entwickeln durch zielgerichtetesEinsetzen verschiedener Persistenz-Technologie...
Was der Bauer nicht kennt, frisst er nicht…
Our choice of data storage products
We are used to referential integrity and transactions
We build a web shop
Bis die Bombe platzt!
Was können wir tun?
Scale up RAMDiscs/SSDs CPUsBus systems
Scale out
SQL Servers are not made for clusters
Wanted: Alternatives!
#NoSQL
Allgemeine NoSQL Eigenschaften Not using the Runnig well relational Open-source ...
Let’s talk about consistency Roman Free Inconsistency Michael Free NY ...
Hauptgründe für NoSQL Large-scale dataApplication Development Productivity
Es gibt 4 NoSql Kategortien
Key-Value Store Simple Key- Retrieval byValue storage key No Query by content
Document Store Everything is Aggregatein a document Oriented Query enabled
{“RowId”:”101”,"FirstName":"Hans","LastName":"Muster","City":"Zürich","Street":"Langstrasse""Orders":[ {"ProductId":"...
Column Family StoreColumn family Row Row Column1 Column2 Col...
Graph Database Relationship Thomas ...
Document Key-Value Use Cases ...
You have a choice!
Decisions, decisions… © Zühlke 2013
Ich will den 5er und das Weggli!
Use the right tool for the job WebshopSession Store Shopping Cart Product Recommonda ...
Pol·y·glot – Adjective Knowing or using several languages Per·sist·ence –NounThe continued or prolonged existenc...
Sounds great, but where is the catch?
What does this to my code?
Higher administration effort
The service is the data ownerIntegration Database Application DatabaseApplication Application Application ...
It’s all about layers!
NoSQL is fun, play with it! © Zühlke 2013
Quellen Fowler, Martin. “NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence ...
of 34

Polyglot persistence with no sql

Published on: Mar 4, 2016
Published in: Technology      
Source: www.slideshare.net


Transcripts - Polyglot persistence with no sql

  • 1. Polyglot Persistence withNoSQLEffektieferes entwickeln durch zielgerichtetesEinsetzen verschiedener Persistenz-Technologien Slide 1 27. January 2013 Roman Kuczynski, Michael Lehmann © Zühlke 2013
  • 2. Was der Bauer nicht kennt, frisst er nicht…
  • 3. Our choice of data storage products
  • 4. We are used to referential integrity and transactions
  • 5. We build a web shop
  • 6. Bis die Bombe platzt!
  • 7. Was können wir tun?
  • 8. Scale up RAMDiscs/SSDs CPUsBus systems
  • 9. Scale out
  • 10. SQL Servers are not made for clusters
  • 11. Wanted: Alternatives!
  • 12. #NoSQL
  • 13. Allgemeine NoSQL Eigenschaften Not using the Runnig well relational Open-source on clusters model Eventual Schemaless Rest & Json consistent No SQL
  • 14. Let’s talk about consistency Roman Free Inconsistency Michael Free NY ZH Conflict!
  • 15. Hauptgründe für NoSQL Large-scale dataApplication Development Productivity
  • 16. Es gibt 4 NoSql Kategortien
  • 17. Key-Value Store Simple Key- Retrieval byValue storage key No Query by content
  • 18. Document Store Everything is Aggregatein a document Oriented Query enabled
  • 19. {“RowId”:”101”,"FirstName":"Hans","LastName":"Muster","City":"Zürich","Street":"Langstrasse""Orders":[ {"ProductId":"1", "Price":"150"}, {"ProductId":"2", "Price":"150",“Year":“2013"}]}
  • 20. Column Family StoreColumn family Row Row Column1 Column2 ColumnN Key X Name1:value1 Name2:value2 NameN:valueN Row Row Column1 Column9 ColumnN Key Y Name1:value1 Name9:value9 NameN:valueN Know the groups of Query enabled Semi-schematic columns
  • 21. Graph Database Relationship Thomas focused friend employeeJakob sells likes CEO Several query languagesfriend Hawaiian Shirt employee likes sells ACID compliant categoryMarkus Alfred designes designes Limited in Shirts scaling
  • 22. Document Key-Value Use Cases Column- Family GraphSession InformationsUser Profiles, PreferencesCachesEvent LoggingContent Management SystemsE-Commerce SystemsRelationship among dataSocial NetworksRouting, DispatchingLocation based ServicesACID Operations (Transactions)Massive Update OperationsQuery Content
  • 23. You have a choice!
  • 24. Decisions, decisions… © Zühlke 2013
  • 25. Ich will den 5er und das Weggli!
  • 26. Use the right tool for the job WebshopSession Store Shopping Cart Product Recommonda Catalog tion Engine Key-Value Document Graph Store Store Database
  • 27. Pol·y·glot – Adjective Knowing or using several languages Per·sist·ence –NounThe continued or prolonged existence of something
  • 28. Sounds great, but where is the catch?
  • 29. What does this to my code?
  • 30. Higher administration effort
  • 31. The service is the data ownerIntegration Database Application DatabaseApplication Application Application Application A B A B Service Database Database DB A DB A DB B DB B DB C DB Cand the app accesses the data through the service
  • 32. It’s all about layers!
  • 33. NoSQL is fun, play with it! © Zühlke 2013
  • 34. Quellen Fowler, Martin. “NoSQL Distilled: A Brief Guide to the Emerging World of Polyglot Persistence (Michael Lehmanns Library).” Addison-Wesley Professional, 2013. © Zühlke 2013

Related Documents