How to Check if a User Exists Among Billions! - 4 MUST Know Strategies

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 214

  • @codeillustrated
    @codeillustrated 3 หลายเดือนก่อน +110

    It's worth clarifying that with proper sharding, indexing and powerful enough machines (which a company with a billion users can afford) a single db lookup can be done in sub-milliseconds. So it's not expensive. The actual reason why a better solution like an in-memory cache is necessary is because of the number of simultaneous lookups (i.e. number of users trying to signup) is huge in such a scenario thus making even a sub-millisecond lookup time per query infeasible.

    • @Cassp0nk
      @Cassp0nk 3 หลายเดือนก่อน +2

      Databases have in memory caches.

    • @rishisoni3386
      @rishisoni3386 3 หลายเดือนก่อน +5

      I was thinking same, that a binary search will take O(50) to search on a database of Quadrillion, so what is the need of these, but simultaneous lookups are a valid reason to do so...

    • @tarunpahuja3443
      @tarunpahuja3443 3 หลายเดือนก่อน

      What about network delay ​@@Cassp0nk

    • @ayeameen
      @ayeameen 3 หลายเดือนก่อน

      What will be your shard key? We are trying to find if any user exists with the email address.

    • @antnauman
      @antnauman 2 หลายเดือนก่อน

      @@ayeameen we shard a DB not a table. So sharding here would make sense if the db has only one table or only user related tables. Anyway, I think if we keep it simple and just increase the data then we better use partitioning. It will create virtual sub-tables of a table with each having its own B-Tree for indexing. And we can also partition by starting alphabets maybe. Even with this model we'll have to search among dozens millions of rows instead of billion.

  • @adi36908
    @adi36908 2 หลายเดือนก่อน +12

    Instead of number of oops concepts videos in TH-cam tech channels....i found it very very useful as she is explaining the real time usecase.... thank you...

    • @TechCareerBytes
      @TechCareerBytes  2 หลายเดือนก่อน

      Thank you so much 🙂 🙏

  • @universeguide1996
    @universeguide1996 2 หลายเดือนก่อน +12

    - Unique indexing or hashing: Standard and most effective for quick lookups.
    - Sharding: Ideal for distributed systems and extremely large datasets.
    - Bloom filters: Fast in-memory probabilistic checks to avoid unnecessary database lookups.
    - In-memory caching: Extremely fast for frequently queried user data.
    - Partitioning: Optimizes database lookups by reducing the size of search spaces.

  • @ashwanigupta9991
    @ashwanigupta9991 3 หลายเดือนก่อน +57

    Please upload this type of video were U teach what tech giants optimize their API. one of the best video on youtube please keep-it-up..

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +5

      Sure, pls share it in your circle too and support this channel. 🙏

  • @anothermouth7077
    @anothermouth7077 3 หลายเดือนก่อน +21

    This was brilliant. As beginner people do not think of advance techniques which is fine, but after a while in the industry you do need to look for these advanced techniques used by top players.

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +3

      Agreed! Let me know what you think about my latest video- HLL in the Redis usage.

  • @2bitsbyab
    @2bitsbyab หลายเดือนก่อน +4

    The video itself is great but the comments are gold. Learnt so much.

    • @TechCareerBytes
      @TechCareerBytes  หลายเดือนก่อน

      Glad to hear it! Please check our other videos too 🙏

  • @UChmn
    @UChmn 3 หลายเดือนก่อน +22

    Thanks TH-cam for recommending this.

  • @pushpendratiwari7800
    @pushpendratiwari7800 3 หลายเดือนก่อน +9

    This is the first time I saw your video I'm saying this on behalf of all viewers that you are an amazing teacher with brilliant communication and visualization presentation skills...
    Subscribed🎉

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Wow, thank you! Means a lot to me! Please share it in your circle 🙏

    • @KnownForBadDeeds
      @KnownForBadDeeds 3 หลายเดือนก่อน

      Agree.

  • @sidhanshuraghuvanshi1
    @sidhanshuraghuvanshi1 3 หลายเดือนก่อน +5

    Surely recommend your channel to my team as well in my office. Thanks a lot for this type of video.

  • @pradeep8841
    @pradeep8841 2 หลายเดือนก่อน +1

    Superb exploration!
    Keep posting such tutorials.

  • @YoungGrizzly
    @YoungGrizzly 2 หลายเดือนก่อน +1

    My first thought is to optimize your query to cut down your dataset. I think that might be after/within step 3. Great video, it’s awesome to see what bigger companies do.

  • @amanpreetsingh2696
    @amanpreetsingh2696 3 หลายเดือนก่อน +2

    Understood the concept, Keep sharing your precious knowledge with use

  • @chetananand4037
    @chetananand4037 2 หลายเดือนก่อน +1

    This bloom filter stuff is ingenious.

  • @phoneix24886
    @phoneix24886 2 หลายเดือนก่อน +1

    Even before watching this video I can give my thoughts on it and what I use on a daily basis.
    1. Hash partitioning - you generate a hash of your data (maybe 1 to 100000) and then generate a secondary hash further from 1 to 1000 say. Create a composite index of both. Generate the hashes before querying and query the user efficiently. Your data set is reduced.
    2. Sharding is a good way to augment the above strategy with lets say keeping the hash of hash as a shard key.
    3. On top of that a persistent caching like redis can be very useful.

  • @damien9255
    @damien9255 3 หลายเดือนก่อน +7

    Wow. Please upload more of such system design videos

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Definitely. Please share it in your circle 🙏

  • @universeguide1996
    @universeguide1996 2 หลายเดือนก่อน +2

    - Use a hash-based index to map user information eg; username in game to hash values. Hash tables have an average time complexity of O(1) for lookups.
    - Cache like redis if finance of project allow.

  • @schrodingerscat6189
    @schrodingerscat6189 3 หลายเดือนก่อน +1

    Never thought this video would be this informative!!!!

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Glad it was helpful! Please share it in your circle and support this channel 🙏

  • @YouTube-Joy-Happy
    @YouTube-Joy-Happy 2 หลายเดือนก่อน +2

    Even if you use increment decrement bit array it won't solve the false positives problem, thereby it highly relies on hash function this is the one we should focus more on.

  • @RohithVishwanath
    @RohithVishwanath 3 หลายเดือนก่อน +2

    Thanks for the video. It surely expands the knowledge of engineering with all the conversation going on in the comments.

  • @rafysiddiky2463
    @rafysiddiky2463 2 หลายเดือนก่อน +1

    Learned a nice concept and strategy today. Thank you.

  • @TheBikerDude2024
    @TheBikerDude2024 2 หลายเดือนก่อน +1

    Starting my day with good learning through this video and comments.
    Greatly explained. Just subscribed.

  • @Fen-i3n
    @Fen-i3n 3 หลายเดือนก่อน +2

    Straight to the point , instant sub :)

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +1

      Thanks! Do check out our other videos 🙏

    • @Fen-i3n
      @Fen-i3n 3 หลายเดือนก่อน

      @@TechCareerBytes Ya

  • @Adiyen1974
    @Adiyen1974 3 หลายเดือนก่อน +1

    Excellent technical presentation. Very good

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks! Please check my other videos too!

  • @uubaidullah
    @uubaidullah 3 หลายเดือนก่อน +1

    Thanks TH-cam algo, very well explained video, subbed

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks for the sub! 🙏

  • @andytube07
    @andytube07 หลายเดือนก่อน +1

    Thank you Mam, you can very well name your channel as "Tech Goldmine"!

  • @antarikshverma8999
    @antarikshverma8999 3 หลายเดือนก่อน +1

    This is very informative. Thank you. Hope to see mote videos like this

  • @kiran.i
    @kiran.i หลายเดือนก่อน +1

    Excellent explanation thanks a lot..

    • @TechCareerBytes
      @TechCareerBytes  หลายเดือนก่อน

      Glad you liked it. Please check our other videos too 🙏

  • @peacelover2002
    @peacelover2002 3 หลายเดือนก่อน +1

    Very simple and in plain, understandable way!!! Excellent explanation. Please keep more videos coming. Subscribed!!!

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks, will do! Please share it in your circle 🙏

  • @aryankr
    @aryankr 3 หลายเดือนก่อน +2

    Thanks for a great explanation.

  • @ĀRYAN_GENE
    @ĀRYAN_GENE 3 หลายเดือนก่อน +4

    instantly subscribed 🙏
    .
    system design and concepts for optimal performance

  • @overunityinventor
    @overunityinventor 3 หลายเดือนก่อน +11

    have you ever looked for a word in the dictionary?
    a dictionary has hundreds of thousands of words, but you still take less than 30 seconds to find your word let's say "luck",
    you go to section of L,
    then you go to section of U,
    then you go to the section of C
    and then you go to section of K
    and then you find your word.
    this works only on sorted database, and database should be sorted periodically so newly added, deleted and modified data can be sorted to reduce lookup time.

    • @hydtechietalks3607
      @hydtechietalks3607 3 หลายเดือนก่อน

      you made all that Killer BIT process, simple man...Thank yoU!!

    • @anothermouth7077
      @anothermouth7077 3 หลายเดือนก่อน +5

      Isn't this the database partition in the nutshell?

    • @jasonbourn29
      @jasonbourn29 3 หลายเดือนก่อน

      Thnxxx

    • @dom4068
      @dom4068 3 หลายเดือนก่อน

      Yea, that is why databases uses an Index, to speed up the data lookup.
      What you explained is the process used to find dat in an index ognized table.
      For other tables, if Indexed and DB thinks that index is going to be useful, the same lookup proceses is used on the index, and that results in the location where data is stored.

    • @puspendertanwar9378
      @puspendertanwar9378 2 หลายเดือนก่อน

      ​@@anothermouth7077 not partition. It's indexing

  • @shashikantmarskole
    @shashikantmarskole 3 หลายเดือนก่อน +1

    Thank you for providing such a clear explanation with examples of production services. Great content, keep up the amazing work, Ma'am

  • @TheKumarAshwin
    @TheKumarAshwin 3 หลายเดือนก่อน +1

    You have a new subscriber, ma'am. 🎉

  • @QuintessentialDio
    @QuintessentialDio 3 หลายเดือนก่อน +1

    Thanks 4 the info, You've now got a new sub😁

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks for the sub! Please check my other videos too 🙏

  • @Dipj01
    @Dipj01 3 หลายเดือนก่อน +1

    Wow, I learned quite some new things from this! Thanks

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Glad it was helpful! Please share it in your circle 🙏

  • @abimbolaobadare6691
    @abimbolaobadare6691 3 หลายเดือนก่อน +1

    This was so insightful, thank you so much.

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Glad it was helpful! Please share it in your circle 🙏

  • @tarungrover9841
    @tarungrover9841 3 หลายเดือนก่อน +1

    wow , I really loved it just watched it out of curiosity and learned a lot

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Happy to hear that! Please share it in your circle 🙏

  • @kishan.0296
    @kishan.0296 3 หลายเดือนก่อน +2

    What an insightful video, thank you for sharing such an amazing knowledge. Subscribed!

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Awesome, thank you! Please share in your circle 🙏

  • @b21hirejayeshnanaji71
    @b21hirejayeshnanaji71 3 หลายเดือนก่อน +3

    The video was really helpful mam. Thank you for the video.

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Glad it was helpful! 🙏

  • @yasabhishek
    @yasabhishek 2 หลายเดือนก่อน +1

    very knowledgeable video, thanks mam.

  • @abhish_mazumder
    @abhish_mazumder 3 หลายเดือนก่อน +1

    Great info 🙌🙌

  • @bandhammanikanta
    @bandhammanikanta 2 หลายเดือนก่อน +1

    Good one. It could have been a youtube shot. Good luck

  • @abhishekkumarxxx123
    @abhishekkumarxxx123 3 หลายเดือนก่อน +1

    Such concept in this short video, really appreciate it. ❤

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Glad you liked it!. Please share it in your circle 🙏

  • @girishanker3796
    @girishanker3796 3 หลายเดือนก่อน +1

    What a way to explain💐📈

  • @srivijaykalki4279
    @srivijaykalki4279 3 หลายเดือนก่อน +1

    Just awesome 💯💯

  • @satyasaineelapala570
    @satyasaineelapala570 3 หลายเดือนก่อน +1

    Great work ma'am!!

  • @MeetKoriya-cu7bm
    @MeetKoriya-cu7bm 3 หลายเดือนก่อน +4

    I don't understand how caching will help for this particular problem, if I wanna check the email is already in used or not, hardly anyone else will try to check for the same email in near time (before cache expiry)

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +2

      Good point! Caching helps mainly with frequently checked or popular usernames/emails. For unique queries, cache hits are rare, but it still reduces load on the database for cases where multiple users may check the same email (e.g., typos or common names). Caching shines more in scenarios with repeated access patterns, but other techniques like Bloom filters handle the uniqueness aspect efficiently.

    • @sangram6848
      @sangram6848 3 หลายเดือนก่อน

      I'd assume there would be lot of queries to check most common emails like
      Max@mail
      John@mail etc
      Ofcourse not affective for very specific email IDs and that's why I agree with the solution which combines multiple approaches.

  • @dailydose7904
    @dailydose7904 3 หลายเดือนก่อน +1

    Explained so well!

  • @praveenkumar5419
    @praveenkumar5419 3 หลายเดือนก่อน +1

    Insight full video Tutorial with very good real world examples. Thankyou Mam..Keep sharing knowledge and experiences

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks for liking. Please share it in your circle 🙏

  • @Arjunsingh-cf7nf
    @Arjunsingh-cf7nf 3 หลายเดือนก่อน +1

    Great, Please upload more videos on these concepts !!!!

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thank you, I will. Please share it in your circle and support this channel 🙏

  • @chinmoykarmoker2185
    @chinmoykarmoker2185 3 หลายเดือนก่อน +1

    Great lesson! keep it up ! Thanks! :)

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks! Please share it in your circle and support this channel 🙏

  • @RajAmitSingh
    @RajAmitSingh 2 หลายเดือนก่อน +1

    amazing video thanks for sharing

  • @aniketsharma3154
    @aniketsharma3154 3 หลายเดือนก่อน +2

    Wow, Ma'am, Not many peoples will watch your content because it is very neniche, But please please please do not stop sharing the knowledge you hold. I am amazed by your knowledge, which i know is result of doing hardwork in the industry by investing many many years. Thankyou very much for making this content and sharing your knowledge for free.

  • @ArjunKumar-zu2kl
    @ArjunKumar-zu2kl 3 หลายเดือนก่อน +1

    Nice tutorial, learnt something new today, thank you so much Mam...

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +1

      Glad to hear that. Please share it in your circle too! 🙏

  • @richardharris202
    @richardharris202 2 หลายเดือนก่อน +1

    Helpful 🙏🏼

  • @josephkohilan6230
    @josephkohilan6230 2 หลายเดือนก่อน +1

    First time watching your videos and it was very informative. Thank you for your efforts and clear explanation.

    • @TechCareerBytes
      @TechCareerBytes  2 หลายเดือนก่อน

      Glad it was helpful! 🙏

  • @omkargurme20
    @omkargurme20 3 หลายเดือนก่อน +1

    Very good and straight to the point video. Also how to implement these methods in other languages

  • @Thierry-m1d4y
    @Thierry-m1d4y 3 หลายเดือนก่อน +2

    Quite interesting in Bloom Filter, however if we combined those three, we will get the downsides of the others isn't it, imagine we use Bloom filter for low memory footprint and we use Redis for another validations so Redis still need to store these record ? And how could we do query the database for another validations with faster responses ?

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +3

      Great question! Combining Bloom filters, Redis, and database queries balances trade-offs. Bloom filters reduce unnecessary queries, while Redis stores frequently accessed data for faster lookups. Redis doesn't need to store all records, just recent or frequently used ones. For database queries, we rely on sharding and indexing to maintain speed, with Redis acting as a buffer to reduce load.

  • @shamboghosh7340
    @shamboghosh7340 2 หลายเดือนก่อน +1

    Thank you for the nice and detailed explanation. Have a question - what is the max length of values use in hash function so in this case what would be max email length? Is there any thumb rule for that

    • @TechCareerBytes
      @TechCareerBytes  2 หลายเดือนก่อน +1

      SHA-256 always generates a fixed 256-bit (32-byte) hash, regardless of input length, so it doesn’t limit the maximum length of an email. Email length limits are typically defined by standards or application constraints - usually up to 254 characters as per the RFC guidelines.

  • @DevAdityaGupta
    @DevAdityaGupta 3 หลายเดือนก่อน +1

    Super Awesome video, make more like it.

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +1

      I will try my best. Thanks. Please share it in your circle 🙏

  • @dgtemp
    @dgtemp 3 หลายเดือนก่อน +1

    I would say handling multiple users logging in at the same time is the only concern. Most of the time redis will take care of this. And for a smaller application the in-memory database of the application would be sufficient.
    Also many users mostly try to solve the problem on the application level while their own database do not have indexes. A well designed table is far more efficient than creating hash functions.

  • @Kc-nn8mn
    @Kc-nn8mn 3 หลายเดือนก่อน +7

    AI has two meanings.
    Artificial Indian and An Instructor.

  • @jayesh_15
    @jayesh_15 3 หลายเดือนก่อน +1

    Nice video 😊

  • @arai_19999
    @arai_19999 2 หลายเดือนก่อน +1

    Great. Useful.

  • @shyamgurunath5876
    @shyamgurunath5876 3 หลายเดือนก่อน +2

    Sharding the database also helps in querying speed & performance!

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      It does. It also adds complexity to querying.Database sharding definitely helps with scaling, as it distributes the load across multiple servers. However, even with sharding, cache and Bloom filters add an extra layer of speed by reducing direct database queries, which is crucial for minimizing latency at a massive scale.

  • @chandansahoo2925
    @chandansahoo2925 3 หลายเดือนก่อน +1

    Incredible !!!! spot on

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thank you! Pls share it in your circle 🙏

  • @pransukh8250
    @pransukh8250 2 หลายเดือนก่อน +1

    Finally some insights.

  • @nikhilarya7712
    @nikhilarya7712 3 หลายเดือนก่อน +3

    what a explanation, subscribed, so basically we will need this bloom filters only when we have data over lakhs or in crores, not in thousands or hundreds in which cahcing can be used efficiently, right?
    And also this bloom filter will be used for signup only or any other scenario it will be beneficial in?

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +2

      Yes, for the data size you mentioned, caching with database sharding and indexing would be good enough. Better to check with your architect.
      I have mentioned a few other scenarios companies like Google, facebook and hbase are using bloom filters for. Please check.

    • @nikhilarya7712
      @nikhilarya7712 3 หลายเดือนก่อน

      @@TechCareerBytes ok, thanks, will check that.

  • @MeetKoriya-cu7bm
    @MeetKoriya-cu7bm 3 หลายเดือนก่อน +1

    Great video, would suggest to improve the quality of screenshots also invest in good quality microphone

  • @kumarsharwanofficial
    @kumarsharwanofficial 3 หลายเดือนก่อน +1

    Excellent Ma'am, you have explained real-world scenarios. I am expecting such more videos. It could be more better if you create a spring boot application and implement those scenarios what you have explained. it would be so helpful. Thank you..🙏

  • @prithvisingh40
    @prithvisingh40 2 หลายเดือนก่อน +1

    This was impressive

  • @supun_sandaruwan
    @supun_sandaruwan 3 หลายเดือนก่อน +1

    Wow, Unique video, great content, Nice explanation.. Thank you so much madam, Please make this kind of unique videos, Subscribed.... ♥

  • @abhaytiwari5991
    @abhaytiwari5991 3 หลายเดือนก่อน +1

    Keep it up ma'am 👏

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thank you, I will. Please share in in your circle.

    • @abhaytiwari5991
      @abhaytiwari5991 3 หลายเดือนก่อน

      @@TechCareerBytes sure ma'am

  • @kiranpai8
    @kiranpai8 2 หลายเดือนก่อน +1

    Love your videos mam. Can you please make a video on sorted sets data structure?

  • @mustaqahmedshaikh477
    @mustaqahmedshaikh477 3 หลายเดือนก่อน +1

    The code snippets code is not properly visible, the fonts are blur

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Please check the description for the link to the code.

  • @VishalJangid1
    @VishalJangid1 3 หลายเดือนก่อน +1

    Thank you 🙏 please upload video in 4K resolution if possible

  • @TabishAbbasiDev
    @TabishAbbasiDev 3 หลายเดือนก่อน +2

    Please post more video like this

  • @diveshrajdhar
    @diveshrajdhar 3 หลายเดือนก่อน +1

    great video mam....Thanks

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks! Please share it in your circle 🙏

  • @rajnikam5101
    @rajnikam5101 3 หลายเดือนก่อน +2

    What about indexing, will it not be helpful and the best approach

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Indexing and database sharding will definitely help. But, at large scale we also need a cache and bloom filter to speed up the process.

  • @vishaldas3439
    @vishaldas3439 3 หลายเดือนก่อน +1

    Awesome explanation and informative video, but I have doubt what if we add constraint over the email column itself, how would the DB behave then, will it check over all the entries, will that be same as querying over all the records manually? Thank you.

  • @dom4068
    @dom4068 3 หลายเดือนก่อน +2

    To find a user in milliseconds, we need a combination of Geo-location based routing, caching , and database sharding.
    Yes, if the objective is to check, if the user exists or not only, bloom filter may be the way to go.

  • @anishbishnoi29xD
    @anishbishnoi29xD 3 หลายเดือนก่อน +1

    ❤ nice makes video on schema migration and database migration

  • @SpiritOfIndiaaa
    @SpiritOfIndiaaa 3 หลายเดือนก่อน +2

    Thanks Rupa mam

  • @kannaiyand2707
    @kannaiyand2707 3 หลายเดือนก่อน +2

    When to use consistent hashing ? Please explain with real use cases. Thanks Ruba

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Sure. You can check my videos on data partition and data replication. They cover consistent hashing.

  • @shubhangshukla5951
    @shubhangshukla5951 3 หลายเดือนก่อน +1

    What about sharding the database?

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Database sharding definitely helps with scaling, as it distributes the load across multiple servers. However, even with sharding, cache and Bloom filters add an extra layer of speed by reducing direct database queries, which is crucial for minimizing latency at a massive scale.

  • @a_l_o_k_1991
    @a_l_o_k_1991 2 หลายเดือนก่อน +1

    Please tell about sharding and other concepts

    • @TechCareerBytes
      @TechCareerBytes  2 หลายเดือนก่อน

      Please check this video - th-cam.com/video/EoHh1NMeUJM/w-d-xo.html

  • @KishanJadav-e9l
    @KishanJadav-e9l 3 หลายเดือนก่อน +1

    can u make video on my question where i have 10 billion mobile numbers where 1000 mobile number want to delete from 10 billion, what is efficient way in java?

  • @nitindhemiwal9174
    @nitindhemiwal9174 3 หลายเดือนก่อน +1

    Really helpful

  • @ashwanigupta9991
    @ashwanigupta9991 3 หลายเดือนก่อน +1

    if data is not too much big but it's big as 10-15M approx. can we just apply cache + index on table . please guide u

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      For 10-15 million users, an index and cache would likely work well for performance, especially with a well-tuned database. Please check with your architect to understand the future data growth and scale expected.

    • @semenivanoff8615
      @semenivanoff8615 3 หลายเดือนก่อน

      Caching in caching db is the same direct db query approach

  • @_krishnaIsHere
    @_krishnaIsHere 3 หลายเดือนก่อน +1

    I Appreciate Amazing knowledge shared by, but please buy some good quality mic, your audio should more clean

  • @yougetwhatyouwishfor
    @yougetwhatyouwishfor 3 หลายเดือนก่อน +1

    Thank you so much for the video ma'am. Can you please provide the link to the code? Its not clear.

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Yes, sure. Please check the description box for the link. Don't forget to share the video in your circle 🙏

  • @dilipkumarsharma2492
    @dilipkumarsharma2492 3 หลายเดือนก่อน +1

    one of the great video

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Glad you think so! Pls share it in your circle 🙏

  • @ravikirankalal
    @ravikirankalal 3 หลายเดือนก่อน +1

    Thank you

  • @sharma-cartoon-channel
    @sharma-cartoon-channel 3 หลายเดือนก่อน +1

    Great Video

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks! Please share it in your circle and support this channel 🙏

  • @fatakful
    @fatakful 3 หลายเดือนก่อน +1

    Nice content Mam.

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน

      Thanks a lot. Please share it in your circle and support this channel. 🙏

  • @dheebanm3207
    @dheebanm3207 3 หลายเดือนก่อน

    Extraordinary mam.

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +1

      Thanks a lot 🙏 please share it in your circle.

  • @younesessaadani9303
    @younesessaadani9303 3 หลายเดือนก่อน +1

    The video is great but i wish to improve the quality of the images provided as examples

    • @TechCareerBytes
      @TechCareerBytes  3 หลายเดือนก่อน +1

      Noted. Will work on it

  • @MrXperx
    @MrXperx หลายเดือนก่อน +1

    Most startups (99%) don’t have billion customers. Those that do have already implemented a one time custom solution to this problem. I don’t understand the reason for such interview questions. Just do a db query on an index.

  • @InvestorKiddd
    @InvestorKiddd 2 หลายเดือนก่อน +1

    Caching wont help i guess, bcoz everytime new user will come and enter his email id, high chance of that data not available in cache

  • @jumpwer
    @jumpwer 3 หลายเดือนก่อน +1

    We can use binary search with memoization...

    • @ngneerin
      @ngneerin 3 หลายเดือนก่อน +1

      Database queries on indexed columns use binary search by default