bertclient 0.3 and bertlet 0.2 released

21 views
Skip to first unread message

Jared Kuolt (Lucky)

unread,
Mar 31, 2010, 2:44:42 PM3/31/10
to bert...@googlegroups.com
bertclient, a threadsafe BERT-RPC library for Ruby has been updated to
version 0.3. It's hosted on RubyGems.org so you can simply "gem
install bertclient". 0.3 has gzip support following the usage pattern
of bertlet (see below).

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

Reply all
Reply to author
Forward
0 new messages