taoensso / nippy

The fastest serialization library for Clojure
https://www.taoensso.com/nippy
Eclipse Public License 1.0
1.04k stars 60 forks source link

Kryo Support #56

Closed kul closed 9 years ago

kul commented 9 years ago

Kryo is much faster than default java de/serialization and could be utilized by nippy to make it even faster. https://github.com/eishay/jvm-serializers/wiki

ptaoussanis commented 9 years ago

Hi Kul, thanks for the suggestion. I'm not a big fan of Kryo tbh, and think that the current approach probably offers a better balance of performance, simplicity + flexibility.

I'd also encourage you to actually benchmark Kryo vs Nippy against the same Clojure data.

As an alternative, check out https://github.com/revelytix/carbonite which offers Kryo serialization for Clojure.

Happy new year, cheers! :-)

kul commented 9 years ago

Very happy new year @ptaoussanis ,

I respect you architectural decision as library author, and I have no knowledge of nippy internals to advocate this furthers. Anyways thanks for nippy i will continue to use it for the simplicity it offers.