TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Java Serialization options

40 点作者 srini1234超过 14 年前
When you want to use external caching mechanism (outside the JVM), serializing/deserializaing of objects introduce a penalty. A good serialization library makes the external cache more viable.

1 comment

joshhart超过 14 年前
Be careful with these. I recently found that Java serialization is <i>much</i> faster for large integer arrays than packed repeated int32 fields in protobuf. For most clients, this speed wouldn't matter, but for me I actually had to stuff the java serialized bytes into a protobuf bytes field.