<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>src/cpp/.gitignore</filename>
    </added>
    <added>
      <filename>src/cpp/Makefile</filename>
    </added>
    <added>
      <filename>src/cpp/server.cpp</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -3,15 +3,18 @@ simple-thrift-queue
   Phillip Pearson
   http://www.myelin.co.nz/post/2008/8/4/#200808043
 
-This is a toy in-memory (very much non-durable) queue -- the results
-of an evening's hacking with Facebook's Thrift protocol/RPC
-generator.
+This is a toy in-memory (very much non-durable) queue, with a client
+and server in Python and a server in C++ -- the results of an
+evening's hacking with Facebook's Thrift protocol/RPC generator.
 
-On my laptop it handles about 4400 RPCs per second, i.e. if you have
-one producer and three consumers, the producer can push about 2200
+On my laptop it handles about 4000 RPCs per second, i.e. if you have
+one producer and three consumers, the producer can push about 2000
 messages per second, which are fairly evenly spread across the
 consumers.
 
+The throughput is almost identical with the C++ server.  'top' reports
+~80% system time and 'iftop' reports ~300kB/s traffic.  
+
 Requirements
 ============
 
@@ -29,3 +32,9 @@ python py/consumer.py
 python py/producer.py
 
 Try starting the server and a few consumers, then a producer.
+
+C++ server
+===========
+
+cd src/cpp
+make run</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5cdf0222a95e20a45a21ed864bd7f81cc8cc290e</id>
    </parent>
  </parents>
  <author>
    <name>Phillip Pearson</name>
    <email>pp@myelin.co.nz</email>
  </author>
  <url>http://github.com/myelin/simple-thrift-queue/commit/0fc0ccd2e30326bd6a82e78f62f77dec9815c0ed</url>
  <id>0fc0ccd2e30326bd6a82e78f62f77dec9815c0ed</id>
  <committed-date>2008-08-04T02:44:04-07:00</committed-date>
  <authored-date>2008-08-04T02:44:04-07:00</authored-date>
  <message>added server in c++</message>
  <tree>224b658d75fc77dfb493992278a7f091ee4d0a27</tree>
  <committer>
    <name>Phillip Pearson</name>
    <email>pp@myelin.co.nz</email>
  </committer>
</commit>
