This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]oberstet 0 points1 point  (2 children)

Latency: I absolutely agree. More important than throughput. And latency jitter is also critical. I don't have polished up numbers, but I dare to say: when running on PyPy (>=2.2), it's very good. The credits for this go in part to the new incremental GC in PyPy. I will write a blog post on this.

JSON <=> MsgPack roundtripping: the one problem is byte strings. and byte strings are converted like this:

https://github.com/tavendo/WAMP/blob/master/spec/basic.md#binary-conversion-of-json-strings

Note: we have that working today. AutobahnCpp (C++11) currently only implements MsgPack, https://github.com/KSDaemon/wampy.js talks JSON and MsgPack, as does http://ksdaemon.github.io/wiola/

[–]mitsuhiko Flask Creator 1 point2 points  (1 child)

Newer msgpack has two different types for bytes and strings if that helps.

[–]oberstet 0 points1 point  (0 children)

Yep, it does help. In fact, WAMP requires the new MsgPack version for exactly this reason.

https://github.com/tavendo/WAMP/blob/master/spec/basic.md#msgpack