You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protobuffer provides an ability called FieldMask to serialize|deserialize message on demands. And Netflix has used it in practice to improve the performance of API services: https://netflixtechblog.com/practical-api-design-at-netflix-part-1-using-protobuf-fieldmask-35cfdc606518. As for thrift, there is no such a direct support -- we can define a trimmed mirror IDL for every client as a workaround, but it is unsuitable for large-scale application development that every client must main a specified code-gen product for the trimmed IDL. In contrast, It is a trend to use a common repo to maintain code-gen products nowadays, and under such a situation, the overhead of redundant fields will get higher and higher. Therefore, we need to propose a way to support fieldmask to achieve serializing|deserializing messages on demands.
Is anyone interested in it? If so, please let us know
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Protobuffer
provides an ability called FieldMask to serialize|deserialize message on demands. And Netflix has used it in practice to improve the performance of API services: https://netflixtechblog.com/practical-api-design-at-netflix-part-1-using-protobuf-fieldmask-35cfdc606518. As for thrift, there is no such a direct support -- we can define a trimmed mirror IDL for every client as a workaround, but it is unsuitable for large-scale application development that every client must main a specified code-gen product for the trimmed IDL. In contrast, It is a trend to use a common repo to maintain code-gen products nowadays, and under such a situation, the overhead of redundant fields will get higher and higher. Therefore, we need to propose a way to supportfieldmask
to achieve serializing|deserializing messages on demands.Is anyone interested in it? If so, please let us know
Beta Was this translation helpful? Give feedback.
All reactions