Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

2013-02-02 02 Нелюбин. Почему NoSql


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

2013-02-02 02 Нелюбин. Почему NoSql

  1. 1. Почему NoSQL
  2. 2. NoSQL SQL
  3. 3. NoSQL DEFINITION:Next Generation Databases mostly addressing some of thepoints: being non-relational, distributed, open-sourceand horizontally scalable.The original intention has been modern web-scale databases. The movementbegan early 2009 and is growing rapidly. Often more characteristics apply suchas: schema-free, easy replication support, simple API, eventuallyconsistent / BASE (not ACID), a huge amount of data and more. So themisleading term"nosql" (the community now translates it mostly with "not onlysql") should be seen as an alias to something like the definition above.
  4. 4.
  5. 5. SQLNoSQL NewSQL
  6. 6. NewSQL"NewSQL" is our shorthand for the various newscalable/high performance SQL database vendors. Wehave previously referred to these products asScalableSQL to differentiate them from the incumbentrelational database products. Since this implies horizontalscalability, which is not necessarily a feature of all theproducts, we adopted the term NewSQL in the new report.And to clarify, like NoSQL, NewSQL is not to be taken too literally: the newthing about the NewSQL vendors is the vendor, not the SQL. Matthew Aslett
  7. 7. NoSQL, NewSQL and Beyond
  8. 8. Когда SQL не хватает?
  9. 9. SQL мешает?
  10. 10. Модели представления данных● Tabular ○ Relational ○ BigTable ○ Column-oriented● Key-Value ○ Multi-Value● Document● Object● Graph ○ RDF
  11. 11. High Load
  12. 12. Вертикальное масштабирование
  13. 13. Оптимизация кода
  14. 14. Оптимизация БД● Оптимизация запросов● Оптимизация индексов● Денормализация● Тюнинг
  15. 15. КэшированиеThere are only two hard things in Computer Science:cache invalidation and naming things. Phil Karlton
  16. 16. Горизонтальное масштабирование
  17. 17. Репликация
  18. 18. Репликация● потеря ● масштабирование целостности чтения● данные должны помещаться на один сервер● излишние копии данных
  19. 19. Шардинг
  20. 20. Шардинг● нет joinов ● масштабирование● нет foreign key чтения и записи● накладные ● Big Data расходы● низкая надежность
  21. 21. RTBRTB - Real Time BiddingDSP - Demand Side PlatformSSP - Supply Side PlatformAd Exchange - биржаPublisher - площадка для показа рекламыAdvertiser - рекламодатель
  22. 22.
  23. 23. RTBHigh Load● десятки тысяч запросов в секунду● 100ms на ответBig Data● миллиарды записей● десятки тысяч новых записей в день
  24. 24. Datacenter Awareness
  25. 25. Дружба
  26. 26. Как живет продукт
  27. 27. Спасибо Вопросы?