On 05/14/2011 08:20 AM, Pieter Hintjens wrote: > Thomas, > >> I have just posed a small, quick article on the back end required for a VERY >> simple file server in ZeroMQ, for those of you interested: >> http://red45.wordpress.com/2011/05/13/zeromq-file-server/ > > Very nice. Making a file server was one of the items on the (very > long) list for the Guide. If you do want to make a general purpose > server, I'd consider: > > * using a large block size, e.g. 64K at least, for performance reasons > * make it work both from server-to-client and client-to-server > * implementing a simple staging protocol to allow restartable file transfers
Also note that multipart messages are held in memory and sent as an atomic unit. Thus they aren't really suited for sending a file split into chunks. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
