apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Replace Protocol Buffers with more memory & computation efficient FlatBuffers

Open futurely opened this issue 9 years ago • 7 comments

http://google.github.io/flatbuffers/flatbuffers_benchmarks.html

futurely avatar Aug 19 '17 20:08 futurely

We know there are a couple of alternatives around and they each have their own advantages. It's welcome if you wanna contribute to this direction.

thanks!

Best wishes,

Ning Qu

On Sat, Aug 19, 2017 at 1:04 PM, futurely [email protected] wrote:

http://google.github.io/flatbuffers/flatbuffers_benchmarks.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/288, or mute the thread https://github.com/notifications/unsubscribe-auth/AIHPspJNJg74HB32CTUGQlaAjpeiugexks5sZz-6gaJpZM4O8bht .

quning18 avatar Aug 21 '17 20:08 quning18

Btw, we also find this comparison is interesting:

https://discuss.dgraph.io/t/comparison-of-protocol-buffers-v-s-flatbuffers/1085/5

Best wishes,

Ning Qu

On Mon, Aug 21, 2017 at 1:18 PM, Ning Qu [email protected] wrote:

We know there are a couple of alternatives around and they each have their own advantages. It's welcome if you wanna contribute to this direction.

thanks!

Best wishes,

Ning Qu

On Sat, Aug 19, 2017 at 1:04 PM, futurely [email protected] wrote:

http://google.github.io/flatbuffers/flatbuffers_benchmarks.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/288, or mute the thread https://github.com/notifications/unsubscribe-auth/AIHPspJNJg74HB32CTUGQlaAjpeiugexks5sZz-6gaJpZM4O8bht .

quning18 avatar Aug 21 '17 20:08 quning18

The above benchmark you found was written with Go while this project is written with C++. The workload used in the benchmark is not representative of real data. What data did you use to benchmark the communication throughput and CPU utilization? What are the alternatives you considered?

https://baijiahao.baidu.com/po/feed/share?context=%7B"nid"%3A"news_3591946182007127550"%2C"sourceFrom"%3A"bjh"%7D&fr=bjhauthor&type=news image

futurely avatar Aug 22 '17 03:08 futurely

Could you share more details when you said: "The workload used in the benchmark is not representative of real data".

The data test setup we used is simply showed in the slides you posted.

For alternatives, we see the advantage from different solutions by using different test sets.

quning18 avatar Aug 22 '17 04:08 quning18

Real data means data actually sent when a car is running on the road. Since your tests did not show any solution win consistently, you may want to record and replay the real data to see which one works best in practice.

futurely avatar Aug 22 '17 06:08 futurely

@quning78 could you provide the test code in the slides that shows the shared memory performance ?

lxbeyond avatar Jan 21 '18 09:01 lxbeyond

Sorry we could not get back to you on this request. Please let me know if you still need support on your request. Feel free to re-open the issue.

natashadsouza avatar Aug 23 '18 21:08 natashadsouza