Go Class: 27 Concurrent File Processing

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

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

  • @ghostofalexandria8914
    @ghostofalexandria8914 12 วันที่ผ่านมา

    This is literally the art of Software Engineering!

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

    Great job! Your course has been helping me a lot in learning Golang. It's one of the best resources I've found on TH-cam for delving deeper into understanding advanced concepts. I'm really grateful to have found this channel, and thank you for taking the time to create and make this course available.

  • @kotogab
    @kotogab ปีที่แล้ว +3

    Infinite gratitude is the feeling here! This course is pedagogical masterpiece. Thank you Matt!

  • @PhuNguyen-bi7pi
    @PhuNguyen-bi7pi ปีที่แล้ว +1

    It took me a few days to grasp all concepts but this is really an amazing concurrency example

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

    straight to point and this must watch for go devs at all levels

  • @JesseHersch
    @JesseHersch ปีที่แล้ว

    This was a really good one! Thank you for putting this up Matt!

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

    absolute masterpiece

  • @NitishAgrahari-u1j
    @NitishAgrahari-u1j 8 หลายเดือนก่อน

    another masterpiece'

  • @ramgopal2520
    @ramgopal2520 ปีที่แล้ว

    Wow.. Just WOW !!! This content

  • @yjawhar
    @yjawhar ปีที่แล้ว

    How do you make sure that two goroutines are not looking at the same file? I know they'll both have the same path when they do, so you can remove the duplicates, but they would waste time looking at the same file

    • @ramgopal2520
      @ramgopal2520 ปีที่แล้ว +1

      If the two goroutines are reading from the same channel then go takes the responsibility of synchronizing between the goroutines. In other words, two goroutines are not going to get the same value from a channel..

    • @Nicholascarballo
      @Nicholascarballo ปีที่แล้ว +1

      channels are concurrent safe

  • @Marlem80
    @Marlem80 2 ปีที่แล้ว

    how did you measure time effectively? If I use "time" command I get almost around same values for all three versions...

    • @larrasket
      @larrasket 2 ปีที่แล้ว

      I believe time runs automatically via the built-in shell utility, which might make it a little bit imprecise, try to do something like bash -c '/usr/bin/time yourbinary' instead

    • @PhuNguyen-bi7pi
      @PhuNguyen-bi7pi ปีที่แล้ว +1

      Maybe your num of directories and files are not large enough. Try your Downloads or Documents folder.