{"id":11031,"date":"2023-04-08T03:01:37","date_gmt":"2023-04-08T03:01:37","guid":{"rendered":"https:\/\/www.bitnovo.com\/blog\/?p=11031"},"modified":"2022-05-18T04:33:07","modified_gmt":"2022-05-18T04:33:07","slug":"what-is-sharding","status":"publish","type":"post","link":"https:\/\/www.bitnovo.com\/blog\/en\/what-is-sharding","title":{"rendered":"What is Sharding?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Alternar tabla de contenidos\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ffffff;color:#ffffff\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ffffff;color:#ffffff\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-sharding\/#why_implement_sharding\" >Why implement Sharding?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-sharding\/#is_it_necessary_to_implement_this_system\" >Is it necessary to implement this system?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-sharding\/#what_changes_will_sharding_bring\" >What changes will sharding bring?<\/a><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Tiempo de lectura:<\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutos<\/span><\/span><p>Have you ever heard of\u00a0<strong>Sharding<\/strong>? Maybe this topic has come up in a conversation and you don\u2019t quite know what it is. In this article we will tell you all about what it is and how this\u00a0<strong>computer technique works<\/strong>.<\/p>\n<p>Sharding is known both in the world of cryptocurrencies and in computer science as a technique where a\u00a0<strong>database or a network is divided<\/strong>\u00a0to achieve greater scalability and decentralization in its operation. This technique applied to the blockchain world helps to overcome one of the main problems in cryptocurrency projects,\u00a0<strong>scalability<\/strong>. By splitting or fragmenting databases, they become\u00a0<strong>easier to operate and less cumbersome to manage.<\/strong><\/p>\n<p>The Sharding technique was created with the aim of achieving greater scalability in distributed and decentralized systems. Therefore, its application to\u00a0<strong>blockchain technology<\/strong>\u00a0can mean a before and after in the scalability problems presented by prominent networks such as\u00a0<strong>Bitcoin or Ethereum<\/strong>.<\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"why_implement_sharding\"><\/span><strong>Why implement Sharding?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This technique has some clear\u00a0<strong>advantages<\/strong>\u00a0that we will see below.<\/p>\n<p>One of the most outstanding is, of course, an\u00a0<strong>improvement in scalability.<\/strong>\u00a0Thanks to this system, transactions can be processed and validated faster and more efficiently. This validation would be carried out in less time than the time normally required for this process. As a consequence, the network will have the capacity to process a higher number of transactions per second.<\/p>\n<p>However, this is not the only reason for implementing this mechanism,\u00a0<strong>as it also reduces the risk of network centralization<\/strong>. Networks such as\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-bitcoin\/\">Bitcoin<\/a>\u00a0require the use of equipment with high computational power. These are necessary to manage all the information contained in the network. Logically, this equipment has an acquisition cost and it is usually not at all economical, so many users cannot afford it. This means that the<strong>\u00a0few users<\/strong>\u00a0who own the equipment have\u00a0<strong>greater control.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Thanks to the implementation of Sharding, there will be no need to purchase expensive equipment because it will not be necessary to store all the blockchain information in a single node. In this way a larger number of users will have the possibility to participate in the network and\u00a0<strong>greater decentralization can be ensured.<\/strong><\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div id=\"image_1809750710\" class=\"img has-hover x md-x lg-x y md-y lg-y\">\n<div class=\"img-inner dark\"><img fetchpriority=\"high\" decoding=\"async\" class=\"attachment-large size-large lazyloaded\" src=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2022\/01\/Qu%C3%A9-es-el-sharding3.jpg\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2022\/01\/Qu\u00e9-es-el-sharding3.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2022\/01\/Qu\u00e9-es-el-sharding3-300x205.jpg 300w\" alt=\"Qu\u00e9-es-el-sharding\" width=\"768\" height=\"526\" data-srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2022\/01\/Qu\u00e9-es-el-sharding3.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2022\/01\/Qu\u00e9-es-el-sharding3-300x205.jpg 300w\" data-src=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2022\/01\/Qu\u00e9-es-el-sharding3.jpg\" data-sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/div>\n<\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"is_it_necessary_to_implement_this_system\"><\/span><strong>Is it necessary to implement this system?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Simply put, the answer is\u00a0<strong>yes. The scalability issues<\/strong>\u00a0presented by cryptocurrencies such as Bitcoin and\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-ethereum-eth-and-how-does-it-work\/\">Ethereum<\/a>\u00a0are by no means a secret. Currently, the users employing these two networks are innumerable. As a result, many of the nodes face a\u00a0<strong>high demand<\/strong>\u00a0to validate and verify all the necessary processes in the network.<\/p>\n<p>&nbsp;<\/p>\n<p>We must take into account that the operation mode of the\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-a-node-its-importance-in-cryptocurrencies\/\">nodes<\/a>\u00a0is based on\u00a0<strong>the need to store an exact copy of their blockchains<\/strong>, which includes all the data contained from the beginning. This copy is constantly updated. This way of operating notoriously affects the speed at which transactions are executed, so much so that if the network is very\u00a0<strong>congested<\/strong>\u00a0it can\u00a0<strong>collapse<\/strong>. On the other hand, there may be cases in which a long period of time is needed to process transactions. All these facts show that the sustainability of the network and\u00a0<strong>the adoption of this technology are affected.<\/strong><\/p>\n<p>If something is undeniable is that blockchain technology is one of the most important advances in the digital world, as it provides great\u00a0<strong>security, privacy and protection<\/strong>, not to mention the new\u00a0<strong>facilities<\/strong>\u00a0it has brought us, however, it has this problem of\u00a0<strong>limiting<\/strong>\u00a0networks with\u00a0<strong>scalability<\/strong>. A clear example is that the Bitcoin network can only process\u00a0<strong>5 to 7 transactions per second<\/strong>. On the other hand, we can give as an example the Ethereum network that, despite outperforming Bitcoin, can only process\u00a0<strong>10 to 15 transactions per second.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>For all these reasons, the answer is yes, the implementation of sharding is necessary, since it represents an evolution in this technology and can<strong>\u00a0eliminate numerous problems and barriers<\/strong>\u00a0that limit the operation of networks. Its implementation would mean the processing of a greater number of transactions, a smaller amount of time to achieve it and all this in a<strong>\u00a0secure and efficient way.<\/strong><\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"what_changes_will_sharding_bring\"><\/span><strong>What changes will sharding bring?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As we already know, sharding allows the fragmentation of a complete database into numerous parts that can be processed more<strong>\u00a0easily<\/strong>.\u00a0<strong>For example<\/strong>, if we work with a database of all the universities in Spain, with all the student data such as grades, education, experience, ages, addresses, etc., it will be much more complicated to find specific information. This is due to the fact that when handling this large amount of data the system becomes\u00a0<strong>slower and heavier,<\/strong>\u00a0making the operation more difficult.<\/p>\n<p>If, on the other hand, we were to divide that database into\u00a0<strong>smaller and more specific sectors,<\/strong>\u00a0it would be easier to find the information we are looking for. This is because each fragment will present\u00a0<strong>more organized and precise information<\/strong>. In this way we achieve a<strong>\u00a0lighter and more organized process.<\/strong><\/p>\n<p>This would be the big change brought by the<strong>\u00a0implementation<\/strong>\u00a0of sharding in blockchain technology. Thanks to sharding, there will be no need for blockchain nodes to work linearly to validate all the data added to the blockchain, but instead they\u00a0<strong>will operate in parallel to manage specific shards<\/strong>\u00a0or fragments.<\/p>\n<p><strong>Distributed information<\/strong>\u00a0will be found in the shards. It will be easier to classify the useful information to be validated and processed from which only the necessary data will be extracted,\u00a0<strong>avoiding information overload.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Once the groups of nodes have executed the entire process, the information will be added to the blockchain and remain complete. The only notable difference will be that the nodes will not handle the total amount of information, but will only manage a part of it. This will improve\u00a0<strong>scalability and speed<\/strong>\u00a0in the network.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Tiempo de lectura:<\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">minutos<\/span><\/span>Have you ever heard of\u00a0Sharding? Maybe this topic has come up in a conversation and you don\u2019t quite know what it is. In this article we will tell you all about what it is and how this\u00a0computer technique works. Sharding is known both in the world of cryptocurrencies and in computer science as a technique [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7384,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185],"tags":[],"class_list":["post-11031","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain-en"],"_links":{"self":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts\/11031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/comments?post=11031"}],"version-history":[{"count":0,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts\/11031\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/media\/7384"}],"wp:attachment":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/media?parent=11031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/categories?post=11031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/tags?post=11031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}