Java Pub House

Episode 93. Not your Grandpa's Serialization Part DEUX!


Listen Later

We're back! and now we move to the new-fangled serialization and deserialization frameworks, starting with Protobufs! Google's contribution to the serialization space, Protobuf V3 makes it easy to create a very efficient on-the-wire serialized representation of objects, and then some. With the ability to have both backwards and forward compatible changes, protobufs is a great choice for transmitting information across services.

But not to be outdone, @BobPaulin goes in and covers Thrift, which goes a step beyond than just serializing messages, but also takes care of the "Transport layer", adding the ability of doing Remote-procedure-calls! Imagine if instead of saying "I need to send a message to that service, and then the service can process it and send info back", you just said. "I want to call a method on that service with this parameters and get the results". Thrift exposes that functionality by letting you have an interface that you can just call in your client service, and it "magically" coordinates all the gnarly stuff to encode, transmit, execute, decode, and present your call. You don't even have to think (too deeply) about how it all happens. As long as you define your thrift objects, thrift methods, and Thrift transport, the framework will let you just think of methods to call! that's it!

So in all, a very fun episode where we discover what the new types of serialization frameworks are up to. If you ever had to create a message, or ever had to annotate an object as Serializable, then do take a listen to this episode!

FOLLOW US JavaPubHouse on twitter! Where we will be sharing new tech news, and tutorials!

 

We thank DataDogHQ for sponsoring this podcast episode Don't forget to SUBSCRIBE to our cool NewsCast! Java Off Heap

  • Google Protobuf
  • Apache Thrift
  • Protobuf Java Example
  • Thrift Example
  • JVM Serializers performance

Do you like the episodes? Want more? Help us out! Buy us a beer!

And Follow us! @javapubhouse and @fguime and @bobpaulin
...more
View all episodesView all episodes
Download on the App Store

Java Pub HouseBy Freddy Guime & Bob Paulin

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

46 ratings


More shows like Java Pub House

View all
Security Now (Audio) by TWiT

Security Now (Audio)

1,972 Listeners

Marketplace by Marketplace

Marketplace

8,639 Listeners

6 Minute English by BBC Radio

6 Minute English

1,824 Listeners

The Cloudcast by Massive Studios

The Cloudcast

152 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

625 Listeners

Learning English Vocabulary by BBC Radio

Learning English Vocabulary

509 Listeners

Inside Java by Chad Arimura, David Delabassee

Inside Java

26 Listeners