About author

Patrick Deziel

Distributed Systems Engineer

Python and Go programmer, machine learning enthusiast, sci-fi addict.


Author's posts

Transparently Mocking gRPC Services

gRPC is an effective way of implementing service-to-service APIs. However, there are limited tools available for mocking and testing gRPC services out of the box. One option is to set up a live test server, although this comes with its own challenges and costs. In this blog post we will demonstrate a more lightweight solution using the bufconn package and a hand-built mock. Don’t worry, this is easier than it seems!

Read more

Achieving Total Ordering With CRDTs

Conflict-free replicated data types (or “CRDTs”) are inspiring the creation of more collaborative applications and improving the experience of users of distributed systems. In this post, we will explore how these data structures can be used to achieve a consistent, total ordering of events across many peers.

Read more

Fake It When You Make It: Creating Mocks in Go

In the age of microservices and containerized applications, software is less monolithic and more interdependent. How do we write tests which account for this new reality? One common strategy is to create mocks for services. In this post, we’ll explore some of the challenges with testing in Go and dive into some concrete examples where creating mocks can help alleviate these problems.

Read more