ZeroMQ File Server, better

Ok, I posted a simple zeromq file server a few days ago, and I have since discovered that it is not correct. The SNDMORE interface will still read the entire file into ram and send it all off in an atomic manner. This change makes the file REALLY get sent over in chunks.

https://github.com/thatch45/sandbox/blob/master/examples/zmq/file_serve2.py

https://github.com/thatch45/sandbox/blob/master/examples/zmq/file_get2.py

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: