Richard Searle

home

Play as an ESB

31 Jul 2013

Back in 2007 Mark Nottingham suggested squid could serve as an ESB , which was probably considered a rather radical idea.  Certainly I never came across any further references to the concept.  This recent Play blog post  triggered my recollection of that half decade old idea. It has many functions that one might expect from an ESB:
  1. Caching
  2. Rate limiting (via timeouts and return codes)
  3. Proxying (via REST call to external service)
  4. Data conversion (http response to json)
The sample is compact, easily understand and easily extended via composition. (characteristics that are rarely encountered using the big name ESBs)