Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Thalassa - LXJS

Thalassa - LXJS

Mike Brevoort

October 02, 2013
Tweet

More Decks by Mike Brevoort

Other Decks in Technology

Transcript

  1. THREE NODE.JS MODULES + HAPROXY •Thalassa •Server registry & client

    •Aqueduct •API and manages HAProxy process •Crowsnest •Realtime dashboard
  2. THALASSA •Lightweight service registry •Client as node.js module, daemon or

    just periodic HTTP •Formerly build on top of @substack’s Seaport •Ping and expire over HTTP •Built on Redis, axon for pub-sub
  3. AQUEDUCT •REST API for HAProxy •Manage HAProxy process (now via

    @3rdEden’s HAProxy module) •Dynamically generates config from handlebars.js template •Streams HAProxy live status •Configuration as a CRDT •Enables peering of Aqueduct servers
  4. CROWSNEST •Visualize what’s happening in the system •Streams, streams and

    more streams •CRDT, LevelDB, Hapi, AngularJS, Rickshaw
  5. Thalassa Server Aqueduct HAProxy Crowsnest A@1 A@1 A@1 80 A@2

    A@2 A@2 FE streaming stats axon socket BE
  6. Thalassa Server Aqueduct HAProxy Crowsnest A@1 A@1 A@1 80 A@2

    A@2 A@2 FE streaming stats axon socket A@2 BE
  7. Thalassa Server Aqueduct HAProxy Crowsnest A@1 A@1 A@1 80 A@2

    A@2 A@2 FE streaming stats axon socket BE
  8. registrations config stats stats config stats Aqueduct Aqueduct config Crowsnest

    Server Aqueduct Thalassa Server control stream MUXDEMUX STREAMS