对于 Web 调用,什么是好的压缩 API
我们正在实现 RESTful Web 服务层(在 JAX-RS/Jersey 中)来处理从 Excel 到 Java 后端的调用。
返回到 Excel 的数据通常非常详细,可能包含数千个数字数据点。
我们希望对其进行压缩,并让 Excel .Net 层(或理论上任何其他客户端)对其进行解压缩。额外加分的是,如果 Excel 还可以压缩请求并在服务器上解压缩,那就太好了。
我们听说过有关 Protocol Buffers 的好消息和坏消息,但这更多的是一种序列化技术而不是压缩技术。
是否有任何推荐的基于文本的压缩技术可供我们考虑在 Excel 和 Java 之间来回通信?
We are in the process of implementing a RESTful Web Services layer (in JAX-RS/Jersey) to handle calls from Excel to our Java back end
The data coming back to Excel is generally quite verbose, containing potentially thousands of numeric data points.
We would like to compress this and have the Excel .Net layer (or theoretically any other clients) decompress it. For extra credit, it would be nice if Excel could also compress the requests and decompress on the server.
We have heard good things and bad about Protocol Buffers but that is more a serialization technology than a compression technology
Are there any recommended text based compression technologies that we should be considering to communicate back and forth between Excel and Java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将 HTTP 压缩与 Apache Axis 结合使用。这是一个巨大的性能提升。欲了解更多信息,请参阅下面提到的链接。
http://www.tgerm.com/2010 /11/http-compression-with-apache-axis-huge.html
You can use HTTP Compression with Apache Axis. This is a huge performance boost. For more information please refer to the link mentioned below.
http://www.tgerm.com/2010/11/http-compression-with-apache-axis-huge.html