01 · Work

Decisions I'd defend, until proven wrong.

Technology strategy, architecture and distributed systems. Decisions I'd defend, until proven wrong. Three kinds of writing: positions I'd defend, anonymised case studies of decisions I've owned, and teardowns of published incidents and architectures.

Writing

  1. Hazelcast patterns: a catalogue from the cache upNearly fifty patterns for building with Hazelcast, from cache-aside to whole solutions, written down once so the same questions get the same honest answers.
  2. Two journeys, a value caseTop-down gets you the meeting. Bottom-up gets you believed. In real deals both run at once, so give them a common language: blueprints and total economic value.

Earlier writing

Posts that live on other sites. Each one opens the original.

  1. Testing distributed resilient applications powered by Hazelcast ↗A layered approach to testing distributed applications: unit tests for local logic, in-JVM cluster tests for distributed behaviour, and full system tests for network, security and performance.
  2. Schema evolution in Hazelcast: evolve your data without downtime ↗How to change the shape of data in a live cluster without downtime using Compact Serialization: which changes are safe, which break compatibility, and sample code to try it.
  3. The engine of the new data economy ↗A data economy needs organisations to cooperate, not just swap raw data. Plain data sharing lacks shared meaning and verifiable quality, so the article proposes a decentralised semantic layer that exposes data as digital twins of real-world assets.
  4. Gamifying IOTICS: secure interactions ↗Part three of the series. Twins only exchange data when the receiving twin allows it, and the platform brokers every exchange securely, much as a game server enforces the rules between players.
  5. Gamifying IOTICS: symmetry ↗Part two of the series. Real assets interact only through their digital twins, so every participant follows the same rules, like players in a shared game world.
  6. Gamifying IOTICS: virtualisation ↗The first of three posts using multiplayer games to explain the principles behind IOTICS. Virtualisation means every real asset is represented by a digital twin, which is what lets applications interoperate on their own.
  7. The next generation of data architectures: where next? ↗Part two of two. Today's data architectures are built mainly for analytics and struggle to interoperate across organisational boundaries. The next generation needs rich semantic modelling, decentralised infrastructure and a new model of trust.
  8. The next generation of data architectures ↗Part one of two: where today's state-of-the-art data architectures fall short, and why the challenges enterprises face next call for something different.
  9. Digital twin tech makes connections in places we didn't think connection could exist ↗A digital twin's value comes from its connections. Twins can link systems, data and parts of an organisation that would never normally talk to each other.
  10. On privacy, data ownership and self-sovereign identity ↗Free services are paid for with personal data. The post argues that users will end up owning their data and identity, that the tooling and incentives aren't there yet, and that forward-looking companies should design now for a world where they compete for access to that data rather than hoard it.
  11. Logging compendium ↗A practical checklist for application logging in Java: modern frameworks, the "log once" technique to stop loops flooding the logs, side-effect-free log statements, sensible log levels, and transaction IDs that let you trace a request across threads, processes and services.
  12. Hanging cURL ↗Tracking down a cURL call that hung forever: the IPv6 connection attempt never got its ACK, and cURL never timed out. The fix is an explicit --connect-timeout.
  13. Continuously integrate FitNesse and RestFixture ↗Setting up continuous integration for RestFixture against the latest FitNesse on a hosted CI service, so the two tools are proven to work together at any point in time, not just at release.
  14. RestFixture v2.0 ↗Release notes for version 2.0 of RestFixture, my open-source FitNesse fixture for testing REST APIs: SLIM support, configurable content-type handling and a cleaner fixture API.
  15. RestFixture with namespaces support ↗Adding XML namespace support to RestFixture, so XPath expectations on response bodies can use aliases defined in configuration.
  16. Method chaining with Ruby ↗Using Ruby metaprogramming to build fluent, chainable attribute accessors, improving on an earlier approach that needed separate set_ methods.
  17. Who owns user data? ↗What if online services kept your data in cloud storage that you own, rather than in their own databases? The post weighs the benefits for users against the costs for providers. It was an early take on a theme I came back to ten years later.
  18. Things learned at AWS Cloud for the Enterprise: London ↗Notes from an early AWS enterprise event: how early adopters handled data protection, which cloud myths didn't hold up, and why even its fans called the cloud no silver bullet.
  19. JMeter to test robustness of systems exposing REST APIs ↗Robustness testing means correct responses and steady throughput under constant load over time, which is different from load or stress testing. The post introduces JMeterRestSampler, a plugin for running these tests continuously in CI, and follows talks at Agile 2008 and XPDay 2008.
  20. RestFixture: JSON support and sequence diagram generation ↗Two RestFixture additions: JSON expectations, and sequence diagrams generated at run time, so a failing test shows the exact flow of HTTP calls that failed.
  21. Getting immediate and accurate feedback from the IDE ↗Feedback is only useful if it is both immediate and accurate. The post covers how to set up the IDE to run part of the build locally, so a test-driven loop gets the build's signal in seconds rather than waiting for the CI server.
  22. Agile 2008: report ↗Notes from Agile 2008 in Toronto, where we gave two talks. Highlights include James Surowiecki on when crowds are wise (cognitive diversity and independence) and sessions chosen deliberately outside my comfort zone.
  23. Get FitNesse with some REST ↗Why we stopped wrapping a REST API in generic FitNesse fixtures and built RestFixture instead, so acceptance tests double as living documentation of the API. This is where the open-source project started.
  24. Groovy for XML transformation ↗Replacing tedious, error-prone getter-and-setter mapping code in system integrations with Groovy's MarkupBuilder.
  25. The (hyper)reality of social networking ↗Umberto Eco called hyperreality "the authentic fake". The post applies the idea to social networks, where the medium and the delay filter what people share, so what others perceive is the version of reality the sender chose to send.
  26. Planning in Cork and cyclomatic complexity ↗Running a knowledge-sharing day, part open space and part unconference, for a team spread across three sites. Also: using cyclomatic complexity as an early warning in design, and as an estimate of how many tests untested code needs.
  27. Euro and pound signs in Java ↗Why currency symbols in Java source files break builds across Windows and Linux encodings, and how to avoid it.
  28. Sacrificing quality? ↗Cutting the test-and-refactor loop is never acceptable. Agreeing a smaller scope with the customer, a Fiat 126 instead of a Ferrari, often is.
  29. Go apes with UltraMonkey ↗Field notes on load balancing a SIP stack with UltraMonkey on Linux: easy and powerful, but you need real networking knowledge to use it well.
  30. XPDay 2007 ↗Report from XPDay 2007 in London, where I co-presented "What's in the toolbox of a successful software craftsman", plus notes on the keynotes, including Jeff Patton on embracing uncertainty.
  31. XP2007 ↗A week at XP2007 on Lake Como presenting our experience report, "The creation of a distributed agile team", published in the Springer proceedings, plus the workshops and conversations around it.
  32. JavaOne 2007 ↗A week at JavaOne in San Francisco demoing a developer SDK on the show floor, the sessions worth attending, and the city on foot and by bike.