Hi,

I have an application that is currently using gzipped tab seperated fields 
file. The fields are a mix of strings and ints (it's the lstat info for 
every file in a filesystem). To store the full path in this file I base64 
encode it so that the TSV format doesn't break when paths contain 
unprintable characters. I load this into a clickhouse database for 
reporting. Having to do base64 decoding in clickhouse is a pain and slows 
down the queries.
I want to switch my lstap collector to output capnp messages to avoid 
having to use base64 encoding. I currently use the boost gzip filter 
streams to do on the fly compression for my tsv lines. I'd like to do the 
same with capnp messages but it seems the only way to write to a file is 
using file descriptors. How can I write messages to a 
boost::io::filtering_ostream ?

Many thanks,

Emyr

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/7b25d572-414e-481a-a9e8-587b6ed522fco%40googlegroups.com.

Reply via email to