Apache Spark - Computerphile

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024
  • Analysing big data stored on a cluster is not easy. Spark allows you to do so much more than just MapReduce. Rebecca Tickle takes us through some code.
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottsco...
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

Комментарии • 71

  • @notangryjustdismayed
    @notangryjustdismayed 5 лет назад +1112

    note to the editor: please stop cutting away from the code so quickly. we're trying to follow along in the code based on what she's saying. at that moment, we don't need to cut back to the shot of her face. we can still hear her voice in the voiceover.

    • @SilentScream321
      @SilentScream321 5 лет назад +49

      I think the time the code was displayed when she went trough each line was quite sufficient. The code is very readable (except for the typo where "words" suddenly became "splitlines") and reading the code while she explains would most likely on distract you from the explanation she is giving IMHO. If you are looking for a more practical solution i would recommend you to just pause the video and read the code before she explains it step by step.

    • @foorack
      @foorack 5 лет назад +75

      Fully agree. The quick switching was very annoying when trying to read the code. Also would be helpful if the editor could highlight the active line she is talking about.

    • @trotterdotpoulpe
      @trotterdotpoulpe 5 лет назад +2

      Yeah thank you.

  • @Hourai
    @Hourai 5 лет назад +86

    The RDD API is outmoded as of Spark 2.0 and in almost every use case you should be using the Dataset API. You lose out on a lot of improvements and optimizations using RDDs instead of Datasets.

  • @Gooberpatrol66
    @Gooberpatrol66 5 лет назад +233

    I understood some of those words.

  • @0xIAMROOT
    @0xIAMROOT 5 лет назад +12

    ahh.. so refreshing after taking a week break from dev work and staying away from non dev topics. Lol, I love our field. Like music to my ears

  • @Bolt6265
    @Bolt6265 5 лет назад +93

    pretty sure theres a typo in that code. "splitLines" doesnt exist and is probably supposed to be words.map(...) instead

  • @Technomancr
    @Technomancr 5 лет назад +111

    Can you do Apache Kafka next? How do they compare?

  • @tablit.
    @tablit. 3 года назад +5

    Wow congrats on the content. You were able to explain it in a concise, yet logical and detailed way. nice

  • @williamwurthmann1573
    @williamwurthmann1573 5 лет назад +16

    Thank you for teaching an old man new things.

  • @recklessroges
    @recklessroges 5 лет назад +16

    Is there any meta analysis on the usefulness of bigdata analysis? How often do jobs get run that either produce no meaningful data or don't produce any statistically significant data?

  • @alexkompos1735
    @alexkompos1735 5 лет назад +11

    These data ones are really good! Keep them coming!

  • @tackline
    @tackline 5 лет назад +9

    A great example of how programming languages are a reasonably efficient mechanism to communicate sections of program and how natural language really is not.

  • @Xakriss
    @Xakriss 5 лет назад +134

    feels like this video is four years too late ... :-/

  • @xakkep9000
    @xakkep9000 5 лет назад +5

    It's so clear and easy after the explanation! I will be waiting for more vids about clustering and distributed computing)

  • @PaulSukys
    @PaulSukys 5 лет назад +7

    typo in line 32 for using `splitLines` instead of `word`?

  • @KurtSchwind
    @KurtSchwind 5 лет назад +14

    She refers to an early example. Did I miss that video? Otherwise, nicely done. Love learning about distributed computing.

    • @king4aday4aday
      @king4aday4aday 5 лет назад +10

      Search for MapReduce on Computerphile

  • @MJ-em_jay
    @MJ-em_jay 5 лет назад +6

    More of these, please. More big data.

  • @m13m
    @m13m 5 лет назад +69

    Brady Please make a video on Kubernetes

  • @nO_d3N1AL
    @nO_d3N1AL 5 лет назад +8

    For anyone interested, although the documentation is awful for Apache Flink and it doesn't support Java versions beyond 8, it at least lets you do setup on each node. Spark does not have any functionality for running one-time setup on each node, which makes it infeasible for many use cases. These distributed processing frameworks are quite opinionated and if you're not doing word count or streaming data from one input stream to another with very simple stateless transformations in between you'll find little in the documentation or functionality. They're not really designed for use cases where you have a parallel program with a fixed size data source known in advance and want to scale it up as you would by adding more threads, but more for continuous data processing.

  • @michaelebbs6035
    @michaelebbs6035 2 года назад +4

    Computerphile will be excited to learn that tripods exist.

  • @Mmouse_
    @Mmouse_ 5 лет назад +27

    She's damn good at explaining and easy to listen to, any plans of having her host other episodes?
    (sorry for "her" I don't know her name).

  • @aimanal-fatih386
    @aimanal-fatih386 5 лет назад +2

    its bit silly but i cant understand 100% because english isnt my first language , hope someone could add english subs on every this channel videos because i found computerphile videos are easy to understanding because excellent explanation

  • @RonaldSVM
    @RonaldSVM 5 лет назад

    Sorry for redundancy, just verifying my understanding. Do I understand it correctly that (when running this example in a cluster) collect runs the 'reduceByKey' against the results on each node, and then reduces to a final result. Say on Node 1 I have count of word 'something' = 5 , on Node 2 I have count of word 'something' = 3, then collect combines from those two nodes into a count of 'something' = 8, And so on...?

  • @christernilsson1
    @christernilsson1 5 лет назад +2

    Please give time measurements comparing single node with multi node execution. What is the overhead?

  • @Alex55555
    @Alex55555 5 лет назад +2

    I wish she also talked a little about Spark's ability to deal with data streams

  • @jimmycheong7970
    @jimmycheong7970 5 лет назад +2

    Thank you so much. This was an incredible explanation

  • @tolgakarahan
    @tolgakarahan 3 года назад

    Great explanations. Of course there are many things going on behind the scenes, but good overview.

  • @Kadderin
    @Kadderin 5 лет назад +1

    Was so excited to see this posted :) I'm a Cassandra professional.

  • @michael-h95
    @michael-h95 5 лет назад +2

    Really interesting video! I have done some MapReduce before, but I haven’t came across Apache Spark

  • @ZachBora
    @ZachBora 5 лет назад +1

    woohooo rebecca is back

  • @draakisback
    @draakisback 5 лет назад +25

    Good old Scala.

  • @DroisKargva
    @DroisKargva Год назад

    "RDD is basically an array distributed across the cluster" - genius

  • @sameerakhatoon9508
    @sameerakhatoon9508 4 месяца назад

    can anyone please suggest books to learn about distributed systems?

  • @p.z.8355
    @p.z.8355 3 года назад

    What is the architectural difference between spark and map reduce ?

  • @WaqasAliAbbasi10
    @WaqasAliAbbasi10 3 года назад

    This was very helpful

  • @adriansrealm
    @adriansrealm 5 лет назад +5

    Where are the extra bits?

  • @knowntoache
    @knowntoache 4 месяца назад

    yeah vertical scaling and modular based data handing similar Hadoop ,Hive. framework library.

  • @MisterPotatoHands
    @MisterPotatoHands 5 лет назад +1

    What programming language is she using??

  • @M3t4lstorm
    @M3t4lstorm 5 лет назад +3

    Would have liked it to be a bit more in-depth and technical, was too high level.

  • @zugletsmith5082
    @zugletsmith5082 5 лет назад

    really good summary thankyou!

  • @Jlr297
    @Jlr297 5 лет назад

    Thank you for the great summary.

  • @jameslawson1
    @jameslawson1 5 лет назад +2

    The first time I learned about Apache Spark, I was looking up documentation for another framework named Spark.

  • @billoddy5637
    @billoddy5637 5 лет назад +2

    Do a video explaining AES!

  • @mohamedthi0une198
    @mohamedthi0une198 5 лет назад

    I really love your videos I would like to know if it is possible to watch them in French or at least with subtitles so that we can follow

  • @fluffyfloof9267
    @fluffyfloof9267 5 лет назад +11

    1:19 Floppy drives? xD LOL

  • @mathematicalninja2756
    @mathematicalninja2756 5 лет назад

    Great video

  • @BeCurieUs
    @BeCurieUs 5 лет назад +32

    Ohhh, she is using VSCode! I love VS Code :D

  • @hanelyp1
    @hanelyp1 5 лет назад

    Looks like you could do a search engine in that.

  • @Jarza
    @Jarza 5 лет назад

    Interesting video!

  • @BigDataLogin
    @BigDataLogin 2 года назад

    thanks

  • @LucasZawacki
    @LucasZawacki 5 лет назад +3

    Good video :)

  • @gajiodea
    @gajiodea 5 лет назад

    Apache Flink next please

  • @christernilsson1
    @christernilsson1 5 лет назад

    Please show some drawings or animations of data going back and forth between the noded.

  • @sillybuttons925
    @sillybuttons925 5 лет назад

    More like this!!!!!!

  • @oldbootz
    @oldbootz 5 лет назад

    Thanks, nice vid.

  • @lztverygood
    @lztverygood 3 года назад +2

    content is nice, well explained.
    BUT
    the camera and editor are so bad.
    We are not here for a documentary, the computer shot from her shoulder is completely useless and distracting, if you want to use your cuts, use something like the picture in picture but please let us focus on the code!!

  • @DmitryShultz
    @DmitryShultz 5 лет назад +1

    @3:16 line 12 is wrong. Great review 👍 otherwise!

  • @LeJalapenos
    @LeJalapenos 5 лет назад +1

    Hi friends!

  • @SlackWi
    @SlackWi 5 лет назад

    I study bioinformatics handling txt files many gigabytes in size and this could be so handy

  • @christianlamprecht9860
    @christianlamprecht9860 5 лет назад +4

    First? Does this matter? No. Go build a cluster and be happier!

  • @vijeenroshponmaniwalson490
    @vijeenroshponmaniwalson490 2 года назад

    What useless video : - slow down, explain slow , assume audience know not much

  • @benjaminmellingen5340
    @benjaminmellingen5340 5 лет назад

    totally lost me 3 min into this video.

  • @UKFbass
    @UKFbass 5 лет назад

    21st!!!

  • @veggiet2009
    @veggiet2009 5 лет назад

    First? sorry, I've never watched a video when it said it was posted "25 seconds" ago, and so it would be weird if I were actually first.
    Good Video, I feel like I stink at data analysis, but I'm more experienced than most in my organization so...

  • @CJWest08
    @CJWest08 5 лет назад

    She's mumbling in the beginning... can't really hear her (American-born English speaker)

  • @gegdim9307
    @gegdim9307 5 лет назад +1

    00000001

  • @undifini
    @undifini 5 лет назад

    first!

  • @oussemamhiri9713
    @oussemamhiri9713 5 лет назад

    First 😂