Re: [zeromq-dev] Send files

2012-02-19 Thread Marco Trapanese
Il 19/02/2012 14:37, john skaller ha scritto: > These days, 1 Meg is a trivially small block of data. I can't see any > reason 0MQ couldn't handle it. Oh well, I'm sorry but I understood the messages should be *very* small, let's say some hundred of byte! I'm very happy to hear I'm wrong :) >

Re: [zeromq-dev] Send files

2012-02-19 Thread john skaller
On 20/02/2012, at 12:26 AM, Marco Trapanese wrote: > > If I understand well the documentation I need to read the source file in > small block of data, because 0MQ cannot manage large file directly. These days, 1 Meg is a trivially small block of data. I can't see any reason 0MQ couldn't handle

Re: [zeromq-dev] Send files

2012-02-19 Thread Joshua Foster
The best size depends on your algorithm and environment. Leave it variable and run some tests. Try 256, 512, 1024 bytes. Joshua On Feb 19, 2012, at 8:04 AM, Marco Trapanese wrote: > Hello, > > I have a LAN with one server (ROUTER) and 25 clients (DEALER) that > exchange small bit of data asyn

Re: [zeromq-dev] Send files

2012-02-19 Thread Marco Trapanese
Il 19/02/2012 14:20, john skaller ha scritto: >> Why not? 0MQ will transfer them efficiently. > > Actually on second thoughts, you're *better* off using 0MQ for the > transport because you have more facilities to manage it. > For example you could send an acknowledgement including > a checksum bac

Re: [zeromq-dev] Send files

2012-02-19 Thread john skaller
On 20/02/2012, at 12:11 AM, john skaller wrote: > > Why not? 0MQ will transfer them efficiently. Actually on second thoughts, you're *better* off using 0MQ for the transport because you have more facilities to manage it. For example you could send an acknowledgement including a checksum back u

Re: [zeromq-dev] Send files

2012-02-19 Thread john skaller
On 20/02/2012, at 12:04 AM, Marco Trapanese wrote: > Hello, > > I have a LAN with one server (ROUTER) and 25 clients (DEALER) that > exchange small bit of data asynchronously. > > Sometimes the server needs to send to *all* clients about 20 files of > some MBytes each one. > > Do you recomme

[zeromq-dev] Send files

2012-02-19 Thread Marco Trapanese
Hello, I have a LAN with one server (ROUTER) and 25 clients (DEALER) that exchange small bit of data asynchronously. Sometimes the server needs to send to *all* clients about 20 files of some MBytes each one. Do you recommend to use 0MQ even for this purpose? My thought was to use a simple HTT