Re:Fury: 170x faster than JDK, blazing fast serialization by...
by LispSporks22 on Sunday October 08, 2023 @11:50AM
(#37811545)
There's also a chapter on JDK serialized in Bloch's "Effective Java" worth a read:
[ Parent
| on HN ]
Re:Fury: 170x faster than JDK, blazing fast serialization by...
by chaokunyang on Sunday October 08, 2023 @12:07PM
(#37811689)
Those pattern are all supported in fury. And it seems fury are the only framework which implement the jdk `writeObject/readObject/writeReplace/readResolve/readObjectNoData` methods except jdk iteself. Other java serialization will jsut ignore those methods, and get incorect results. But today I'll suggest to avoid to use JDK `riteObject/readObject/`. Since to be compatible with JDK serialization API behaviour, it will introduce performance and space overhead. We can register custom Serializer by fury.registerSerializer(xxx.class, XXXSerializer.class).
`writeReplace/readResolve` are an useful pattern, and can be used when needed.