solon icon indicating copy to clipboard operation
solon copied to clipboard

建议官网RPC未来支持高性能序列化框架-flatbuffers和simple-binary-encoding

Open cnrainbing opened this issue 1 year ago • 7 comments

  1. 他们两个的易用性也是非常高的
  2. https://github.com/real-logic/simple-binary-encoding
  3. https://github.com/google/flatbuffers

cnrainbing avatar May 10 '24 12:05 cnrainbing

好建议。。。有兴趣,帮忙适配下吗?

noear avatar May 10 '24 12:05 noear

https://github.com/real-logic/simple-binary-encoding

这个项目里,没有 java 的实现!

noear avatar Oct 18 '24 07:10 noear

https://github.com/real-logic/simple-binary-encoding

这个项目里,没有 java 的实现!

希望支持 nami-coder-sbe 、 solon-serialization-sbe 编解码,我没看懂simple-binary-encoding如何使用

cnrainbing avatar Oct 18 '24 11:10 cnrainbing

@cnrainbing 它没 java 的 sdk;怎么加呢?

noear avatar Oct 18 '24 11:10 noear

@cnrainbing 它没 java 的 sdk;怎么加呢?

https://mvnrepository.com/artifact/uk.co.real-logic/sbe-all

<dependency>
    <groupId>uk.co.real-logic</groupId>
    <artifactId>sbe-all</artifactId>
    <version>1.33.1</version>
</dependency>

cnrainbing avatar Oct 18 '24 11:10 cnrainbing

真晕。看错了。。。后续会研究

noear avatar Oct 18 '24 11:10 noear

真晕。看错了。。。后续会研究

非常感谢

cnrainbing avatar Oct 18 '24 12:10 cnrainbing

solon-serialization-sbe 模块,更名成了 solon-serialization-abc (扩展更自由的方式)//后面仍可能会改名字

你可以在里面,再接着加 chronicle-bytes , flatbuffers 之类的实现(参考 sbe 的子目录)

//新的设计,可以把实现方式“外置”

noear avatar Dec 01 '24 00:12 noear

chronicle-bytes 基本结束,我开始研究一下 flatbuffers 只在java 之间调用,不写IDL 描述文件是否可以使用

cnrainbing avatar Dec 03 '24 03:12 cnrainbing

3.0.4 已发布

noear avatar Dec 04 '24 08:12 noear