Asynchronous Interceptors in Pedestal

  • clojure
  • pedestal

One of the most unique features of the Pedestal library is its ability to serve responses asynchronously. In services with any sizeable measure of load, this is useful because it allows long-running requests to kick-off work, then immediately return...

Continue reading

Hoist Important Qualities

  • architecture

One of the best things you can do for your most important, mission-critical qualities, is to hoist them into the architecture itself. Rather than being a day-to-day coding concern, a hoisted quality becomes a part of the system’s skeleton. Just as...

Continue reading

Modeling Tip: Know Your Tools

  • architecture

One of the smallest, yet quite important bits of advice I want to give on modeling is a simple one: know your tools.

It’s easy to get caught up in a task or frustrated butting up against the perceived limits of a tool. With a bit of learning, practice...

Continue reading

Why Worry, When You Can Measure?

  • architecture

Just the other day, I was working on some performance optimizations for a bit of code and remarked to a former colleague: “I’m worried if we do X, it will be too slow.” That colleague, none other than Rich Hickey, quipped back: “why worry when you...

Continue reading