gRPC Migration Automation at LinkedIn

QCon London 2024

Session GRPC

gRPC Migration Automation at LinkedIn

Tuesday Apr 9 / 11:45AM BST, Churchill (Ground Fl.)

Abstract

LinkedIn is in the process of migrating from Rest.li, an internally developed open source framework for building RESTful APIs to gRPC for better framework capabilities, runtime efficiency, and developer productivity.

For this migration across ~8k services and ~100M LoC to be ROI positive, we built an in-house automation framework that drastically reduces human toil and calendar time (from millions to hundreds of dev hours), and provides an incremental migration path without hurting feature development velocity.

This presentation will delve into:

  • Schema translation from pegasus (used by rest.li) to proto3 (used by gRPC)
  • Runtime translation between rest.li and grpc on client and server
  • Automated migration of routing configurations and operational dashboards/alerts
  • Incremental ramp and validation framework
  • AST and Generative AI based techniques for code migration
  • Results and learnings from our journey so far
  • Leverage in other software migration projects at LinkedIn

Topics

GRPC Migration Automation Code Generators Microservices automation
76% senior dev or higher
1:11 speaker ratio
60+ practitioners

QCon London 2024 is a three day conference for senior software engineers, architects and team leads. An international program committee of working engineers selects every session. Patterns and practices, not products and pitches.

Share

From the same track

Tuesday 9 April

10:35 Fleming (3rd Fl.) Session Long running Are You Done Yet? Mastering Long-Running Processes in Modern Architectures Bernd Ruecker Co-Founder and Chief Technologist @Camunda 11:45 Churchill (Ground Fl.) Session GRPC gRPC Migration Automation at LinkedIn Karthik Ramgopal, Min Chen 13:35 Whittle (3rd Fl.) Session architecture Sidecar-Less or Sidecars for Your Applications in Istio Service Mesh? Lin Sun Open Source @solo.io, Istio TOC Member, CNCF TAG Network Cochair & Ambassador 14:45 Churchill (Ground Fl.) Session architecture Modernizing in Healthcare – From On-Prem to the Cloud Leander Vanderbijl Senior Engineer @Livi, Previously Principal Engineer @Informa, 13 Years Developing, Managing, and Integrating Diverse Online Systems and Applications 15:55 Rutherford (4th Fl.) Unconference Unconference: Connecting Systems 17:05 Fleming (3rd Fl.) Session testing Production Comes First - An Outside-In Approach to Building Microservices Martin Thwaites Developer & Developer Advocate @Honeycomb.io, Observability Activist