Skip to content

Protocol for transferring data #1

@iffyuva

Description

@iffyuva

hello there,
recently @headius visited our office, and we discussed alienist, and how this gem analyzes heap dump, serializes dump into json, and sends it to viewer. we are building a similar opensource tool, but for cruby/mri.

rbkit gem is a c-extension which will be plugged into apps. it exposes interface to start/stop profiling, start gc, take heapdumps. it uses msgpack to compress data, and zeromq to sent compressed data over the wire. client side app is a desktop app, which receives data, decompresses it, and shows nice stats. currently client is written in QT/C++, but we have plans to use electron/react to rewrite frontend.

protocol is documented here: https://github.com/code-mancers/rbkit/blob/master/docs/protocol.md @headius suggested that we can work together on this protocol, and optimize it further, so that we can use this protocol as a standard across jruby/cruby. this way community can write serveral front-end tools.

do let me know what you think. thanks.

/cc @headius @emilsoman @kgrz @gnufied

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions