Comments (1)
Kryo
分析
- Kryo为什么比Hessian快 https://x-rip.iteye.com/blog/1555344
有Kryo生成的 二进制字节 分析 - Kryo 使用指南 https://www.cnblogs.com/hntyzgn/p/7122709.html
提到使用注意的问题,如- 缺省的设置 不支持 增加或删除 Bean 中的字段,使用的是
FieldSerializer
- 注册机制生成ClassId
- Kryo 对象不是线程安全的
- 缺省的设置 不支持 增加或删除 Bean 中的字段,使用的是
- Kryo 序列化说明 https://my.oschina.net/u/725800/blog/823467
- Strategy for registering classes with kryo https://stackoverflow.com/questions/7780707
- Kryo Serialization Type Detection https://stackoverflow.com/questions/22079054
- Kryo Class Registration https://stackoverflow.com/questions/31576169
- Since Kryo use Minlog library for logging, you can enable the trace level log by adding
com.esotericsoftware.minlog.Log.TRACE();
to the source code.
Enabling TRACE level log will print the details about all the classes which are registered with Kryo.
- Since Kryo use Minlog library for logging, you can enable the trace level log by adding
- Kryo read and write generically https://stackoverflow.com/questions/30184019
- Dealing with an incompatible version change of a serialization framework
https://stackoverflow.com/questions/16083263 - Spark 2.0.2, double[], 使用Kyro序列化加速,和手动注册类名
https://facaiy.com/misc/2017/01/21/spark-kyro.html - Kryo官方文档翻译
注意的问题
- 字段 + 循环引用下有的一个问题:
CompatibleFieldSerializer fails with IndexOutOfBoundsException on field removal
EsotericSoftware/kryo#286 (comment) - 使用kryo做序列化会遇到的几个坑 https://blog.csdn.net/paoma_1008/article/details/79827803
com.esotericsoftware.kryo.KryoException: Class cannot be created (missing no-arg constructor): java.util.Collections$SynchronizedRandomAccessList
com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: XXXX
from java-modern-tech-practice.
Related Issues (14)
- practice: jmh
- STM
- Expression Language / Expression Engine / Rule Engine
- Chaos Engineering
- collection libs on jvm HOT 1
- Scala FP std libs learning: cats / scalaz HOT 1
- practice: spring boot
- practice: functional libs HOT 1
- problem record: kotlin + lombok compile problem (under maven build) HOT 4
- clojure meterial
- arch-ish meterial HOT 1
- System Control/Resilience
- Java Interoperability of Scala
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-modern-tech-practice.