Serialization formats: JSON and Protobuf

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

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

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

    No word for this knowledge sharing. So simple and to the point in a small video.
    Thanks

  • @nbalagopal
    @nbalagopal 4 ปีที่แล้ว +5

    Simple and easy to understand explanation... Thanks for the great video!

  • @hhellohhello
    @hhellohhello 4 ปีที่แล้ว +8

    why not do more videos consistently? you explain really well, and i like to learn more from you

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

    Please continue the great work. Waiting for hundreds of videos. Subbed!!!

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

    yass this is the sort of succinct explanations i was looking for. thanks. subbed 👍🏻

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

    Great video! Best explanation I've seen! Thank you!

  • @cjjb
    @cjjb 7 ปีที่แล้ว +9

    Excellent explanation, thankyou.

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

    Thanks for the video. It would have been great if you presented the protobuf binary size (51B) and compared it with the JSON (since you explained that the JSON example was 51B)

  • @VladimirPintea
    @VladimirPintea 7 ปีที่แล้ว +39

    gRPC please

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

      +Vladimir Pintea will do, thanks!

    • @Roni-vk5vr
      @Roni-vk5vr 6 ปีที่แล้ว

      Yes, grpc please, i support this.

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

      @@ivantalksaboutcomputers7327 Still waiting 💀

  • @karlxu1548
    @karlxu1548 4 ปีที่แล้ว

    Thanks for the video
    this helps me a lot for have a better differentiation between JSON and Protobuf.

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

    Wow this was excellent mate! Thanks for doing this 👍

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

    please keep the good contents going, love your video!

  • @rahulramesh1588
    @rahulramesh1588 5 ปีที่แล้ว +2

    Very helpful. Thank you so much!!!

  • @snamone
    @snamone 5 ปีที่แล้ว

    Very well done!! That was a fantastic video.

  • @alexeyshevelyov1163
    @alexeyshevelyov1163 3 ปีที่แล้ว

    Keep it up, Ivan! Spot on content!

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

    Amazing job. Subscribed.
    1) how do you send pictures in protobuf?
    2) Why not use protobuf for web applications , as there is a JS implementation?

    • @ivantalksaboutcomputers7327
      @ivantalksaboutcomputers7327  5 ปีที่แล้ว +4

      Hey! Glad you like it!
      1) sending pictures is the same as a byte array. Protobuf has the `bytes` type that maps to Java's bytearray. developers.google.com/protocol-buffers/docs/proto3#scalar
      2) I can only speculate, but protobuf on its own does not offer a lot of advantages for web apps. It's difficult to debug (as opposed to JSON) and doesn't offer a lot in terms of transport, as you still have to use an HTTP API to communicate with the backends. gRPC, on the other hand, is really cool for that. On the grpc-web roadmap, they are looking at integrating it with web frameworks: github.com/grpc/grpc-web/blob/master/ROADMAP.md . Curious to see what's next!

  • @easyappscompany
    @easyappscompany 3 ปีที่แล้ว

    Best Regards From México City. Manuel Silva

  • @5b2c950
    @5b2c950 4 ปีที่แล้ว +1

    Amazing work!

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

    очень круто рассказал все за 5 минут, надеюсь у тебя появится время сделать такое же видео про grpc, потому что они все по 30 минут на ютубе не очень понятны

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

    Well introduced

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

    Json string doesn't represent numbers as ASCII character?

  • @adrianweb-xyz
    @adrianweb-xyz 4 ปีที่แล้ว

    Great video explanation

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

    Sunch an amazing video! Thank you!

  • @motyar
    @motyar 5 ปีที่แล้ว

    Thanks a lot for taking time to explain

  • @rajatsingh30
    @rajatsingh30 3 ปีที่แล้ว

    awesome explanation

  • @liquidmetal718
    @liquidmetal718 5 ปีที่แล้ว

    Thanks a lot. A very good intro.

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

    Need help on converting proto Api file into swagger json?

  • @arcticspacefox864
    @arcticspacefox864 5 ปีที่แล้ว

    Great Video 👍🦄😎

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

    A 64 bit integer would be 8 bytes.

  • @Jojo-po5dx
    @Jojo-po5dx 4 ปีที่แล้ว

    i subscribe this because how good this explanation

  • @huyvole9724
    @huyvole9724 3 ปีที่แล้ว

    I can not compute Json massive 51
    4 byte integer
    19 byte character
    Where is my 28 byte?? Can you explain?

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

    Very clear explanations! Thank you!!

  • @rajivkumar420
    @rajivkumar420 4 ปีที่แล้ว

    Great video! What happens if schema changes? How protobuf ensures backward compatibility?

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

      That's a really good question. Have you find an answer to it?

  • @VinodhThiagarajan
    @VinodhThiagarajan 5 ปีที่แล้ว

    Fantastic! What software is this that u use to present ? By the way I subscribed

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

      Hi! I make everything with the Keynote app. Thanks!

    • @VinodhThiagarajan
      @VinodhThiagarajan 5 ปีที่แล้ว

      Thanks for the response. Can u share me one sample deck of your or even this one you have. Eager to learn. Sure i might find books but just thought I would ask. Vinodh.thiagarajan@gmail.com

    • @ivantalksaboutcomputers7327
      @ivantalksaboutcomputers7327  5 ปีที่แล้ว

      @@VinodhThiagarajan sent! Good luck!

    • @VinodhThiagarajan
      @VinodhThiagarajan 5 ปีที่แล้ว

      @@ivantalksaboutcomputers7327 - Thanks a lot

    • @TheSimpleEngineer
      @TheSimpleEngineer 4 ปีที่แล้ว

      @@VinodhThiagarajan Hi Ivan, also interested in the slide deck if possible! code@ryan-schachte.com

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

    If you are using JSON a lot, then DeltaJSON is really useful for compare, merge and patch.

  • @TimeLords910
    @TimeLords910 4 ปีที่แล้ว

    does it need flash

  • @nathm1526
    @nathm1526 5 ปีที่แล้ว

    Good one!

  • @RandomShowerThoughts
    @RandomShowerThoughts 5 ปีที่แล้ว

    this was fantastic

  • @ricardoliveira
    @ricardoliveira 5 ปีที่แล้ว

    Nice and clean video, thanks!

  • @anandkarwa4695
    @anandkarwa4695 6 ปีที่แล้ว +4

    Such a concise explanation :) thanks for the video and efforts put it. Looking forward for more. Also can you please share your twitter handle if you are active. would love to follow stuff what you share such a high quality :)

    • @ivantalksaboutcomputers7327
      @ivantalksaboutcomputers7327  6 ปีที่แล้ว

      Hi Anand! Thank you for the comment. I didn't do more videos yet but I will soon! Stay tuned :)

  • @seyedaliroshan2386
    @seyedaliroshan2386 6 ปีที่แล้ว

    what about capnp?

  • @codelucky
    @codelucky 5 ปีที่แล้ว

    gRPC in Golang please.

  • @luislema3863
    @luislema3863 5 ปีที่แล้ว

    Now I know when JSON format could be problematic.

  • @VikrantGoelCan
    @VikrantGoelCan 5 ปีที่แล้ว

    64bit integer takes 8bytes :)

  • @ForCeGR
    @ForCeGR 3 ปีที่แล้ว

    Good video, but damn that echo!

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

    Could you talk a little bit slower, please? Thx for Video good job! I'm waiting for your next video.

    • @kaizou3463
      @kaizou3463 5 ปีที่แล้ว +2

      KMWTW you can adjust video playback speed

  • @_meta_data_9992
    @_meta_data_9992 3 ปีที่แล้ว

    JSON vs BSON смотри сейчас! th-cam.com/video/w9UuJprl-Sw/w-d-xo.html

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

    Дизлайк. Нет перевода на русский

  • @1cathol
    @1cathol 5 ปีที่แล้ว

    Very helpful. Thank you so much!!!