{"id":52,"date":"2021-05-16T13:07:07","date_gmt":"2021-05-16T13:07:07","guid":{"rendered":"http:\/\/vargas-solar.com\/nonewsql\/?page_id=52"},"modified":"2021-05-16T13:07:07","modified_gmt":"2021-05-16T13:07:07","slug":"debate-on-data-sharding","status":"publish","type":"page","link":"http:\/\/vargas-solar.com\/nonewsql\/debate-on-data-sharding\/","title":{"rendered":"Debate on data sharding"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Material<\/h2>\n\n\n\n<p>&#8211; Hands \u2013 on Sharding with MongoDB<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Description<\/h2>\n\n\n\n<p>Consider that you must develop a \u201cvademecum\u201d for helping decision making processes related to data sharding using MongoDB. Use the following questions to interact with the members of your group to develop a set of hints that would contain your vademecum.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>What is a sharding key? Is the choice of a sharding key directly dependent of the sharding strategy? Explain and give examples.<\/li><li>Explain how does apparently MongoDB chooses the number of intervals used to shard a collection in the Interval oriented strategy? In which situations would such a strategy be well adapted for sharding a collection?<\/li><li>In which situations would the hash-based strategy be interesting for a collection to be shared?<\/li><li>Which of the strategies interval or sharding would lead to a more balanced distribution of data across shards, interval or hash?<\/li><li>What are the advantages and disadvantages of allowing access to shards directly through their server and not only through the query router?<\/li><li>Give an example of a situation where tag-based sharding would be an interesting option?<\/li><li>What happens when a new shard is added to a cluster containing already other shards with data?<\/li><li>How would you test whether a sharded collection was an interesting solution in comparison to a centralized one?<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">To-Do<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>&#8211; \u00a0Prepare a document\/slides summarizing your examples and discussion results.<\/li><li>&#8211; \u00a0Choose a spokesperson of the group who will present your conclusions to the group.<\/li><li>&#8211; \u00a0Hand in your document\/slides to\u00a0genoveva.vargas@gmail.com<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Material &ndash; Hands &ndash; on Sharding with MongoDB Description Consider that you must develop a &ldquo;vademecum&rdquo; for helping decision making processes related to data sharding using MongoDB. Use the following questions to interact with the members of your group to &hellip; <a href=\"http:\/\/vargas-solar.com\/nonewsql\/debate-on-data-sharding\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-52","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/pages\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":1,"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/pages\/52\/revisions"}],"predecessor-version":[{"id":54,"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/pages\/52\/revisions\/54"}],"wp:attachment":[{"href":"http:\/\/vargas-solar.com\/nonewsql\/wp-json\/wp\/v2\/media?parent=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}