Hands-on practice for this lecture. Work through the exercises and quizzes to reinforce what you've learned.
Exercise 1 of 1
Pick JSON, XML, or Protobuf and drag the payload size slider to see how serialization overhead changes relative to business logic time across the 8-step request lifecycle.
Try XML at 100 KB — the parse overhead alone exceeds business logic time. Protobuf at 100 KB keeps it under 2ms. This is the actual reason REST+JSON displaced SOAP+XML, and why gRPC uses Protobuf.