Giter Site home page Giter Site logo

chen0031 / x-trace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brownsys/x-trace

0.0 3.0 0.0 8.55 MB

X-Trace is a tool that provides fine-grained visibility into large, complex distributed systems. It can be used by application developers as well as network operators to debug and develop distributed systems.

Home Page: www.x-trace.net

Java 27.29% Protocol Buffer 0.42% Perl 6.00% Ruby 6.72% HTML 11.89% CSS 1.85% JavaScript 45.85%

x-trace's Introduction

Welcome to the Brown University implementation of X-Trace.

Version 3.0 of X-Trace was developed at Brown University.  
It is a slimmed down version of X-Trace with an emphasis on performance.  
Some code has been inherited or reused from the Berkeley implementation of X-Trace 2.0.

X-Trace is a framework for tracing the execution of distributed system.  
Out of the box, X-Trace 3.0 offers two main features
* A metadata serialization format and propagation API
* A logging API and database server

Usage:

X-Trace version 3 requires protocol buffers.  Ensure that the protoc executable is on your path.
https://code.google.com/p/protobuf/

X-Trace version 3 requires the Brown University Systems pubsub package, available from github
https://github.com/brownsys/pubsub

To run a clean build and install:
mvn clean package install appassembler:assemble

To run performance tests to measure costs of metadata propagation and logging:
mvn integration-test

X-Trace is configurable using the typesafe config.  Default configuration values are defined in the reference.conf.
You can override these reference values by defining new values in an application.conf and placing it on your classpath.
Configuration values can also be passed using the standard java system properties command line format, 
eg. -Dxtrace.server.hostname=8.8.8.8 

Implementation status:
The X-Trace version 3 implementation is partially complete.  Extensive testing, and implementation of PubSub as a report source,
remains incomplete.

Metadata format:

The X-Trace metadata format is completely overhauled and it is incompatible with the metadata format from version 2.
This is a tough decision, but ultimately moving to protocol buffers for serialization will prove useful in future
in terms of extensibility and performance.


Client APIs:

The metadata propagation API and client logging API are brand new.  They are quite concise.  The logging API currently uses
Brown University Pub-Sub as the transport mechanism, which itself is built on Zero-MQ. 


Server:

The X-Trace server reuses much code from X-Trace version 2.  Specifically, the Derby metadata store, file tree data store,
and web front-ends remain in place.  Much of it has been refactored and cruft removed.  Whilst the X-Trace version 3 metadata
format and logging APIs are brand new, the X-Trace version 3 server is backwards compatibile with applications instrumented
with previous versions of X-Trace.

x-trace's People

Contributors

jonathanmace avatar asrabkin avatar rfonseca avatar trush avatar marmbrus avatar seliopou avatar jpolitz avatar

Watchers

James Cloos avatar wall-e avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.