Datomic Antipatterns: Eager Conn

  • clojure
  • datomic

For a long time, I wrote Datomic-based applications in a style where a conn value was globally available in my core “db” namespace. It just seamed easy; no futzing about connecting to a URI (connect) or creating a database (create-database) just to...

Continue reading

Write-only Social Media

  • life

As I expect is true of many of us working on the web today, social media is both a blessing and a curse. On one hand, we get immediate access to news, enjoyment and our peers. On the other, it is a constant source of distraction.

Being fed up with...

Continue reading

No Silver Bullets: Docker

  • architecture
  • docker

When something fancy and new rears its head in tech, people tend to rant and rave about all of the new benefits you’ll see. I’m guilty of this myself. When designing systems, however, we’re not concerned solely with the benefits of a given approach...

Continue reading

Dockerizing a Clojure Application

  • clojure
  • devops

Over the last few years, the software development community has been undergoing a lot of transformation. There’s a tug of war in progress across our entire community; while our languages and tools are getting faster, simpler, sharper, the problems...

Continue reading

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