开发者

FTPS or HTTPS - which is the better way to transfer big files from hundreds of clients to server using Java?

Parameters for evaluation:

- 1000 connections from the client (connection may be slow in some cases)

- Multithreaded upload when connection is good (of the same file, or different files) - Ability to resume an upload from the client

- SSL/TLS support (in case of FTPS and HTTPS)

- Load balancer in front of the server

The client would be written in Java and so requires a Java interface to the FTPS/HTTPS client.

So far, I have taken a loo开发者_如何学编程k at Apache Commons FTPS/HTTP clients, Apache MINA and Apache Camel. There was a comment in SO that Commons FTPS client does not resume uploads - is this really so (the API seems to support it though).


If you are looking for massive perfs, you should try to write your own protocol on top of SSL (using Apache MINA or Netty or plain NIO)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜