sagemath/sagecell — pull request #329 by kramer314 (2012-06-27 21:02:34+00:00)
Title: Use asynchronous communication between trusted and untrusted sides

Previously, the REP/REQ socket between the untrusted and trusted sides was blocking. This created scalability issues when operations on either end would hang, even momentarily. This changes communication to be asynchronous, and is loosely motivated by the design given here: http://zguide.zeromq.org/py:chapter3#Asynchronous-Client-Server (except note that the DEALER-DEALER portion binds in the opposite manner, on the untrusted side, than in the extended diagram, which binds on the trusted side).