PodParley PodParley

Database Sharding

As your system scales, eventually you'll find that your database is the source of all your problems. Apps are often a lot easier to scale than databases, but eventually you have to deal with the database itself.Read more ›

An episode of the Complete Developer Podcast podcast, hosted by BJ Burns and Will Gant, titled "Database Sharding" was published on June 29, 2023 and runs 51 minutes.

June 29, 2023 ·51m · Complete Developer Podcast

0:00 / 0:00

Database sharding is a process of storing a large database across multiple machines. Because a single machine can only hold and process so much data, eventually some systems will scale beyond the ability of a single machine to handle data. Further, as systems scale, they may also need to split data between machines due to security and location considerations. Database sharding overcomes these problems by splitting the system into smaller chunks, allowing work to either be done in parallel, or only in the locations with the relevant data.Obviously, it matters a lot how you split up your data. For instance, it's unlikely that splitting a customer table based on the customer last name will be as helpful in a large distributed system as it would be to split up customers by location. You probably also want to have shards that are roughly the same size. The idea behind sharding is to improve performance, specifically via parallelization, but it's also helpful if it also provides some resilience to outages. So that will also need to be a consideration when you start thinking about sharding.Database sharding can be a very useful tool for making your application more resilient to load. However, it's complex and you really need to think through it carefully if you are considering using it in your environment. There are several different ways to do it, with different advantages and disadvantages, and these will need to be thoroughly considered before starting. Plus, sharding is actually a fairly drastic operation, requiring support and extra work for the remaining lifetime of your application. This means that you shouldn't really consider it until most other options have been exhausted.LinksJoin Us On PatreonLevel Up Financial Planning The post Database Sharding appeared first on Complete Developer Podcast. Hosted on Acast. See acast.com/privacy for more information.

Database sharding is a process of storing a large database across multiple machines. Because a single machine can only hold and process so much data, eventually some systems will scale beyond the ability of a single machine to handle data. Further, as systems scale, they may also need to split data between machines due to security and location considerations. Database sharding overcomes these problems by splitting the system into smaller chunks, allowing work to either be done in parallel, or only in the locations with the relevant data.

Obviously, it matters a lot how you split up your data. For instance, it's unlikely that splitting a customer table based on the customer last name will be as helpful in a large distributed system as it would be to split up customers by location. You probably also want to have shards that are roughly the same size. The idea behind sharding is to improve performance, specifically via parallelization, but it's also helpful if it also provides some resilience to outages. So that will also need to be a consideration when you start thinking about sharding.

Database sharding can be a very useful tool for making your application more resilient to load. However, it's complex and you really need to think through it carefully if you are considering using it in your environment. There are several different ways to do it, with different advantages and disadvantages, and these will need to be thoroughly considered before starting. Plus, sharding is actually a fairly drastic operation, requiring support and extra work for the remaining lifetime of your application. This means that you shouldn't really consider it until most other options have been exhausted.

The post Database Sharding appeared first on Complete Developer Podcast.


Hosted on Acast. See acast.com/privacy for more information.

Wellness Wisdom Sharon Whitefawn Sharon is a holistic health professional who has developed a complete wellness approach based on her life experiences, challenges, and healing journey. In this podcast, she shares positive golden nuggets of wellness wisdom that will inspire optimal health, fitness, and wellness - mind, body, and spirit. #100DaysOfCode Motivation Podcast Treehouse A podcast of motivational messages from software engineers, engineering leadership, Treehouse staff, Influencers, tech executives, and more – to inspire and help aspiring developers stay on track to complete the #100DaysofCode challenge.Go to join.teamtreehouse.com/100-days-of-code to launch your #100DaysOfCode Challenge with Treehouse today! Immortal Index: A Xianxia & Wuxia Fan Podcast Immortal Index Podcast The Immortal Index is A Podcast show discussing Chinese webnovel translations of "Xianxia" and/or "Wuxia" - hosted by @StephenLemieux and produced alongside AfterBuzz TV, Rate and comment for a shout out on on the show; and tell me what you'd like to talk about!Xianxia: a type of Chinese Martial Arts novel genre developed from the Wuxia genre that is heavily influenced by Taoism and Buddhism. ... Contrary to the Wuxia genre, Xianxia novels have more elements of fantasy, complete with magic, demons, ghosts and immortals. FivesSquared's podcast Timothy Fives Today's ever-changing business landscape requires companies to continually evolve by adopting increasingly smarter and more efficient solutions to remain competitive. Strategic work "on the business" and not just "in the business" must be a priority for leaders looking to drive measurable, strategic growth. FivesSquared specializes in integrated business and technology consulting driven by the belief: smart solutions must be developed based on strategic goals and driven by smart tools. From foundational organizational structure and core process development through technology, to the software selection process and on-site integration, FivesSquared offers for-profit and nonprofit organizations a complete suite of customizable advisement services.​We understand every organization is facing unique internal and external circumstances and that for-profit and nonprofit organizations have particular needs specific to their operational and financial goals. Our customizable services offer f
URL copied to clipboard!