<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>CubicWeb Sprint report for the &quot;ZMQ&quot; team (CubicWeb&#39;s Forge) RSS Feed</title>
    <description></description>
    <link>http://www.cubicweb.org/blogentry/2219569</link>
<item>
<guid isPermaLink="true">http://www.cubicweb.org/blogentry/2219569</guid>
  <title>CubicWeb Sprint report for the &quot;ZMQ&quot; team</title>
  <link>http://www.cubicweb.org/blogentry/2219569</link>
  <description>&lt;p&gt;There has been a growing interest in &lt;a class=&quot;reference&quot; href=&quot;http://www.zeromq.org/&quot;&gt;ZMQ&lt;/a&gt; in the past months, due to its ability to efficiently deal with message passing, while being light and robust.
We have worked on introducing &lt;a class=&quot;reference&quot; href=&quot;http://www.zeromq.org/&quot;&gt;ZMQ&lt;/a&gt; in the CubicWeb framework for various uses :&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;As a replacement/alternative to the &lt;a class=&quot;reference&quot; href=&quot;http://irmen.home.xs4all.nl/pyro3/&quot;&gt;Pyro&lt;/a&gt; source, that is used to connect to distant instances. &lt;a class=&quot;reference&quot; href=&quot;http://www.zeromq.org/&quot;&gt;ZMQ&lt;/a&gt; may be used as a lighter and more efficient alternative to Pyro. The main idea here is to use the &lt;cite&gt;send_pyobj&lt;/cite&gt;/&lt;cite&gt;recv_pyobj&lt;/cite&gt; API of &lt;a class=&quot;reference&quot; href=&quot;http://www.zeromq.org/bindings:python&quot;&gt;PyZMQ&lt;/a&gt; (python wrapper of ZMQ) to execute methods on the distant &lt;cite&gt;Repository&lt;/cite&gt; in a totally transparent way for CubicWeb.&lt;/li&gt;
&lt;/ul&gt;
&lt;img alt=&quot;http://www.cubicweb.org/file/2219158?vid=download&quot; src=&quot;http://www.cubicweb.org/file/2219158?vid=download&quot; /&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;As a JSONServer. Indeed, &lt;a class=&quot;reference&quot; href=&quot;http://www.zeromq.org/&quot;&gt;ZMQ&lt;/a&gt; could be used to share data between a server and any requests done through &lt;a class=&quot;reference&quot; href=&quot;http://www.zeromq.org/&quot;&gt;ZMQ&lt;/a&gt;. The request is just a string of &lt;a class=&quot;reference&quot; href=&quot;http://docs.cubicweb.org/annexes/rql/language.html#rql&quot;&gt;RQL&lt;/a&gt;, and the response is the result set formatted in Json.&lt;/li&gt;
&lt;li&gt;As the building block for a simple notification (publish/subscribe) system between CubicWeb instances.  A component can register its interest in a particular topic, and receive a callback whenever a corresponding message is received.  At this point, this mechanism is used in CubicWeb to notify other instances that they should invalidate their caches when an entity is deleted.&lt;/li&gt;
&lt;/ul&gt;
</description>
  <dc:date>2012-02-27T17:54-01:00</dc:date>
  <dc:creator>Julien Cristau</dc:creator>
</item>
  </channel>
</rss>