bertlet, a BERT-RPC implementation using Eventlet (Python), has been
updated to 0.2. It's now up on PyPi so easy_install or pip should
work. Changes since 0.1:
- Basic middleware support
- ssl
- gzip
- protocol error handling
- private/hidden functions (underscore prepended)
**NOTE**: As far as I know, these two libraries are the only ones to
support gzip.
A note on how gzip is used: My first thought on using gzip was to
create a new header for a new protocol implementation, but I quickly
realized that this can be done using info berps. This is approximately
what the transaction looks like:
-> {info, encoding, [gzip]}
-> {gzip, <<"...">> }
This gzip packet is inflated and would look like a normal request:
-> {request, call, foo, bar, [...]}
The gzip response is identical in form.
This may not be the perfect route for gzip support, but it works well
for us. If anyone has any input (besides "Use HTTP" ;P), please let me
know. Thanks!
--
Jared "Lucky" Kuolt