🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@jasper501611 ай бұрын
Hard to believe this top-notch content has very less views. Thanks a lot, Anton!!
@AntonPutra11 ай бұрын
❤️
@jackfrost896910 ай бұрын
probably coz it basically has no volumn
@alonsoalcantar78479 ай бұрын
Ive tried to understand sharding for crypto purposes but every "crypto sharding" video display vague descriptions. I stumbled upon this by accident and it was great. Amazing work 🙌
@AntonPutra9 ай бұрын
thanks!
@ashutoshtiwari43988 ай бұрын
No Nonsense, direct to point, covering all cases. Well-compiled video!
@AntonPutra8 ай бұрын
thank you!
@aslan1504 Жыл бұрын
As for the hashing, you probably will take hash only of a subset of columns of a record, most probably - only primary key, because changing any field of any record will result the hash to change also, which leads to data losses.
@tonnytrumpet7347 ай бұрын
Thanks for this comment. Could you maybe clarify ? By data loss you mean the reverse proxy or whatever way of communicating with databases wont be able to know where to search for the information right ? however the information would still be here. Although it would be extremely computationally hard there would still be way to recover it right ? You could for example recalculate hashes for all the data and redistribute those that aren't belonging to the right database based on the sharding prefix ?
@aslan15047 ай бұрын
@@tonnytrumpet734 oh yes, data will still be there, but it basically will become unusable. It's like creating yourself problems to solve.
@abdoulhamidcoulibaly23857 ай бұрын
Very helpful. I just discovered sharding not long ago in my new position. I didn't understand a thing until your video.
@AntonPutra7 ай бұрын
thank you!
@agun21st Жыл бұрын
Thank you sir for detail explaination of database sharding. We hope a practical handson of Database sharding will publish soon.
@Xaoticex Жыл бұрын
Nice, exhaustive and short video considering it covers a lot.
@shanchessmetilda555010 ай бұрын
Great Explanation....Thanks for the efforts
@AntonPutra10 ай бұрын
Thanks!
@yvanmartineau3252Ай бұрын
Great video! Straight to the point and very explicit. Thanks
@PhillyHank Жыл бұрын
Very helpful. Very confused and to the point! I hope your colleagues who do technical videos would follow your framework. 👍🏾👍🏾👍🏾
@nero4581 Жыл бұрын
Great Video, as always, Anton!
@AntonPutra Жыл бұрын
Thanks, if you think anything can be improved, please let me know!
@SIVAKUMAR-bj2vl28 күн бұрын
Great Questions on sharding and good explaination followed by.... This should be the approach for great teaching
@AntonPutra28 күн бұрын
thanks!
@softwareengineer89233 ай бұрын
It has been such a lovely recap. Thanks a lot for useful content
@AntonPutra3 ай бұрын
thanks!
@xardiannon503811 ай бұрын
Superb explanation, and never strayed off topic.
@GabrielPozo Жыл бұрын
Great video! Always an important topic when we think about scale our systems.
@AntonPutra Жыл бұрын
Thank you!
@meron6913 Жыл бұрын
Great video Anton.
@AntonPutra Жыл бұрын
Thank you!
@EpoxyArt11 ай бұрын
Hi, Anton! How can I search by the field that is not shard key? I need to go thru all the shards? And what if I need to scale it up or down (change shards number)?
@ab_azmi5584 Жыл бұрын
Great video. Clear & easy to understand.
@AntonPutra Жыл бұрын
Thanks Ab!
@danimusbarКүн бұрын
please make tutorial how to sharding database in vps like hetzner or contabo or ovh, since my budget not suitable for at the moment using aws now
@charlesopuoro5295 Жыл бұрын
Thank you so much for this clear, insightful explanation of Database Sharding.
@AntonPutra Жыл бұрын
Thank you, Charles!
@69k_gold8 ай бұрын
Let's say I'm using a shard-nothing architecture, now let's say there's a relationship between customers table, payments table and orders table. Customers and orders tables are linked by the foreign key customers->id ~ orders->customer_id Orders table and payments table has the foreign key orders->id ~ payments->order_id Now how would you shard this database? You can't use a single shard key, because both customer_id and order_id are important that ensure all the related rows are in a single shard. So how would you solve this problem?
@amruth5052 ай бұрын
if a shard fails you mentioned it can be restored from other shard, but each shard has unique set of values. Could you help me understand how this restores
@AntonPutra2 ай бұрын
not sure if i follow, some distributed systems have not only sharding but also replication. so you have a primary shard and a replica for that shard. so if it fails, the replica becomes primary, but it's very specific to each database
@amruth5052 ай бұрын
@@AntonPutra got it, so each shard will have multiple replica's for failover?
@SIVAKUMAR-bj2vl28 күн бұрын
READ TWICE, tried explaining my best!! A physical shard contains several primary logical shards and several replica logical shards. Primary and replica logical shards are always stored on different physical shards to ensure fault tolerance. If a physical shard goes down due to an issue (e.g., a server failure), there is no need to worry about the replicas, as their corresponding primaries are stored on other physical shards. However, the primary logical shards on the affected physical shard require attention. The Shard Manager must retrieve these primary shards from their replicas stored on other physical shards to maintain system functionality.
@MagDag_7 ай бұрын
Классное видео, спасибо. Какая стоимость ваших услуг? Нужна консультация для Homelab.
@AntonPutra7 ай бұрын
Privet, spasibo! At this point, I can offer one-on-one sessions. I ask that you send me any questions before the session so that I can prepare some examples, and we can go through them during the meeting. I charge $100 per 1 hour session. If you are interested, pls send me an email.
@AstreaDevaul2 ай бұрын
Great content, as always! A bit off-topic, but I wanted to ask: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). Could you explain how to move them to Binance?
@AntonPutra2 ай бұрын
thanks!
@helciopandelo Жыл бұрын
Truly awesome and simple to learn!!! Thank you!!!
@AntonPutra Жыл бұрын
Thank you for the feedback!
@erkanakgul6954 Жыл бұрын
Great explaination! Thanks
@AntonPutra Жыл бұрын
thank you!
@bunnybal8 ай бұрын
Really very well explained, thank you very much.
@AntonPutra8 ай бұрын
thanks!
@Jaguar16126 ай бұрын
So how to solve hotspot problem?
@dimadiachenko1 Жыл бұрын
Awesome video! thanks for explaining it
@AntonPutra Жыл бұрын
Thanks!
@dhruvpatel6604 Жыл бұрын
Excellent tutorial
@AntonPutra Жыл бұрын
Thank you!
@vikasgoel7529 Жыл бұрын
Excellent described
@AntonPutra Жыл бұрын
Thanks!
@seaweedseaside59053 ай бұрын
I never expected Elijah Wood to teach me Data Science. Well done, Elijah.
@AntonPutra3 ай бұрын
😊
@bossgd100 Жыл бұрын
thank you for these explanations
@AntonPutra Жыл бұрын
thanks for visiting
@tejapolisettysai6950 Жыл бұрын
sir thanks for the video, what do you use for editing, its really good.
@AntonPutra Жыл бұрын
thanks, adobe suite
@rahuldinesh2840 Жыл бұрын
Can I do sharding in WordPress database?
@AntonPutra Жыл бұрын
WordPress uses a MySQL database under the hood. Take a look at Vitess.
@ricardorqr Жыл бұрын
How do you create the animation for your videos? They are so cool!!!!! 💪🏼
@AntonPutra Жыл бұрын
Thanks! I use adobe suite.
@mortezamoradi-e6g Жыл бұрын
thanks, but i have a question if i use range-based sharding and conside 4 shard what happen if i want to convert to 40 shard? what happen for previous data, and new data [ first i have 3 shard 1(a-h) 2(i-p) 3(q,z)) now need to make it 40.
@AntonPutra Жыл бұрын
If you shard manually at the application level, you need to write logic to rebalance it yourself. It's easier to use built-in mechanisms for sharding.
@mortezamoradi-e6g Жыл бұрын
@@AntonPutra thanks
@gnsc4 ай бұрын
Good explanation
@AntonPutra4 ай бұрын
thanks!
@LinuxForLife Жыл бұрын
Very interesting! Thanks! 👍
@AntonPutra Жыл бұрын
welcome! my pleasure
@MuhammadBilalAzhar-e7s10 ай бұрын
you said sharding have unique data sets if one sharding not respond then other sharding response you but if customer search record and that record will be in sharding 1 . After that sharding 1 will not respond then what we have to show for customer
@topoisonfungus6 ай бұрын
Thank you much appreciated 👍
@AntonPutra6 ай бұрын
thanks :)
@yourname-scorpion8 ай бұрын
Great video, thank you
@AntonPutra8 ай бұрын
thanks!
@nicgeorge6126 Жыл бұрын
Fortunately I’ve been able to get by with two read databases and a write by using table partitioning up until this point. Hopefully I don’t have to tackle sharding any time soon! Great video and thanks for sharing
@AntonPutra Жыл бұрын
Thanks! There a lot of distributed databases based on postgres that can shard for you.
@ProSunnySharma Жыл бұрын
Excellent! What tool do you use to do animations?
@AntonPutra Жыл бұрын
Thanks Adobe suite
@egitim1010 ай бұрын
Short,nice,clear
@khwajanamatullahseddiqy699917 күн бұрын
Good video
@ordered_saddle54 ай бұрын
and here is that one video which clarifies it simply, thank you. you made it easy like drinking milk.
@AntonPutra4 ай бұрын
thanks :)
@LiseGarito4 ай бұрын
Thanks for the forecast! 📊 Need some advice: 🙏 I have these words 🤨. (behave today finger ski upon boy assault summer exhaust beauty stereo over). Can someone explain what this is? 😅
@AntonPutra4 ай бұрын
?
@rayaalkhateeb874 Жыл бұрын
thanks a lot for explaining
@AntonPutra Жыл бұрын
my pleasure!
@henrik30984 ай бұрын
thanks bro
@pancazful4 ай бұрын
tutorial like south Indian suspense thriller movies , cant blink your eyes
@AntonPutra4 ай бұрын
i know, getting used to :)
@hp-mmaАй бұрын
I bet this guy works for the mafia
@AntonPutraАй бұрын
😂
@thewaygoesup Жыл бұрын
your example confusing between database shard and table partitioning range-base sharding is about one table sharding not about database sharding.
@AntonPutra Жыл бұрын
Noted, will improve
@andherium Жыл бұрын
I think 99.9% use case are served fine by a monolith database server. Heck even stack overflow is fully powered on a single server
@cariyaputta Жыл бұрын
Yes. Still, it's useful to have a knowledge of whatever jargons uppermamagements are throwing at you.
@AntonPutra Жыл бұрын
For personal projects, sure, but in the enterprise, you frequently have to deal with sharding.
@APoIIy Жыл бұрын
So, sharding is a pain in the ass and requires a lot of configuration, analytics and also business logic to manage shards in an respectable way. This is also why NoSQL Databases come in handy as they can scale better horizontaly without this extensive configuration activities you have with traditional SQL databases. But to be said SQL Databases will probably cover 90% of all usecases anyway without you getting into sharding.
@AntonPutra Жыл бұрын
Nowadays, once a year, I see a new distributed database based on PostgreSQL come out, lol.
@gcheese25 Жыл бұрын
great video! start subscribing now
@AntonPutra Жыл бұрын
Thank you!
@noahgsolomon Жыл бұрын
w video
@AntonPutra Жыл бұрын
thanks
@yuvrajput6 ай бұрын
Bro why are you in such hurry ?
@AntonPutra6 ай бұрын
🤷
@yoggg932 Жыл бұрын
Feels like a bot is reading the script. Good content, but please act it out a bit.