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
Originally posted by AsterDY August 14, 2023 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
The text was updated successfully, but these errors were encountered:
Discussed in #1070
Originally posted by AsterDY August 14, 2023
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
The text was updated successfully, but these errors were encountered: