apache / apache/dubbo

Serialization performance: avoid writing type desc for some serialization framework.

Open
#4,317 1 comment 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

In Dubbo, we know the exact class type of each object on both side, so there's no need to write the class description for those serialization frameworks that allow doing that.

Take Kryo for example,
use `writeObjectOrNull` in `writeObject`,
use `readObjectOrNull(input, Class clazz)` in `readObject`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.