Remove thrift protocol implementation in presto_cpp #23615
Replies: 3 comments 6 replies
-
I don't think we have any usage of that at Meta, but @amitkdutta would know it for sure. |
Beta Was this translation helpful? Give feedback.
-
CC: @spershin @xiaoxmeng |
Beta Was this translation helpful? Give feedback.
-
Thrift transport protocol, when implemented, would reduce CPU consumption on both workers and the coordinator. It will also reduce the traffic volume as json is quite inefficient. It is true that the project hasn't moved since 2022, when there were tech layoffs and we lost an engineer who started working on it. Since then the project has never got enough priority as we are trying to move 100% of Presto traffic to Prestissimo. I understand that removing one dependency is tempting, however it does not give us any real gain. I suggest we don't remove the code yet, but instead eventually finish the project. |
Beta Was this translation helpful? Give feedback.
-
"presto-native-execution/presto_cpp/main/thrift/" supports the thrift protocol. I believe this isn't finished yet and there has been no development since 2022 when it was first added.
My proposal is to remove this. We can then remove the fbthrift dependency.
CC: @pedroerp, @mbasmanova. @tdcmeehan
Beta Was this translation helpful? Give feedback.
All reactions