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

Procrastination as a pattern for polyglot inter...

tobias
January 24, 2013

Procrastination as a pattern for polyglot interchange

A look at ways to communicate between components in different languages, using JRuby & Clojure as examples in TorqueBox/Immutant.

tobias

January 24, 2013
Tweet

More Decks by tobias

Other Decks in Programming

Transcript

  1. Prose • everything  in  one  place • write  ruby  like

     clojure  (with  wrappers) • gh:/circleci/cljr • works  for  simple  things
  2. (cons) • grody • big  ball  of  state • mixed

     programming  models • type  conversion • dependency  management • see  Rohner  (Clojure/West)
  3. Prose • everything  in  one  place • write  clojure  like

     ruby  (with  wrappers) • gh:/kyleburton/jrclj • works  for  simple  things
  4. (cons) • (may)  expose  a  private  interface • error/retry  handling

    • incidental  complexity • scaling? • endpoint  discovery
  5. Prose • you  already  know  it • you  already  have

     it • generally  good  at  coordination
  6. (cons) • using  the  db  for  transient  data • already

     a  bottleneck • polling  complexity