LabHub
배우기 러닝패스 코스

I renumbered a field and the old client silently read the wrong value

Python 함수와 바이트를 다룰 줄 아는 백엔드 개발자를 위한 과정입니다. 실습 파드에는 protoc 도 protobuf 패키지도 없어서, 표준 라이브러리만으로 와이어 포맷 인코더·디코더를 직접 만들고 그 도구로 스키마 진화의 규칙을 실측합니다. 옛 클라이언트 앞에서 필드 번호를 바꿔 조용히 틀린 값이 나오는 사건을 재현하고, 두 .proto 를 비교하는 계약 검사기를 만들어 CI 에 넣을 모양으로 마무리합니다. 호출 네 가지·상태 코드·데드라인·재시도는 공식 문서의 규칙만 다룹니다.

중급 · 레슨 11 · 실습 3

실습 시작하기

커리큘럼

One line of bytes carries the field number

Numbers outlive names

Four kinds of calls and sixteen ways to fail

Contract checks belong to a script, not a reviewer

참고 문서