Banked :
ProductEnterpriseConsumerArticles
Log InGet Started

Banked at GopherCon 2021.

Talking Open Telemetry to instrument Go applications at Gophercon 2021. Chris Reeves, one of our expert platform engineers, shares his keynote talk and insights.

gopher conference banked talk
conferencetechnologydevelopersengineeringgolangopen telemetry

It’s back! After a couple of years of no in person conferences and the Golang London meet ups not yet restarting, it felt great to be able to attend a GopherCon UK, not least because I was also going to speaking at the event. GopherCon UK is one of the best conferences to attend as it's always a fun informative event.

Coordinating data changes in distributed systems.

Tiago Mendes gave an excellent thought provoking talk on how data changes within a distributed systems. This seems like an easy task in a monolith, you simply update the data in the database but in a distributed system, where data is spread across multiple services this becomes a challenge. How do we ensure data integrity? Where is the source of truth? How do we maintain

consistency? Tiago's talk covered various strategies in which we can help solve these problems, the main thrust being the Saga pattern.

The general idea is to create data orchestrator services which manage the updating of data in a distributed system, potentially calling multiple services to update their state and rolling back if any errors occurred. This is certainly an interesting approach and one we here at Banked are keen to explore as we really scale out our services.

Acceptance tests, BDD and Go.

Testing is always a complex topic but always an extremely important one. Riya Dattani & Chris James from Salt Pay gave an excellent talk on how testing doesn't just impact the code you are writing but how you work with the wider business too.

Riya and Chris went into detail about how we can use BDD (Behaviour Driven Development) to help us writ better more useful software in an efficient way. Their code examples were excellent and it was interesting to see how you can achieve a good TDD/BDD workflow without the need for complex testing frameworks, Go already provides everything we need to write good, well defined BDD style tests.

Software development reimagined.

This was one of my favourite talks of the conference by André Eriksson, a former Spotify engineer and now founder of https://encore.dev/. Here André talked about how over the last 50+ years of software engineering our core tools of our trade have not evolved with us, we still to this day open up a text editor as our core tool to write our code. But the software engineering we do today is very different to the engineering we were doing just 5 years ago but our tools have remained to same.

Today we spend most of our time stitching services together via APIs, events or both, rather than writing the core business logic. André has developed Encore, a way to make our lives and software engineers better by allowing Encore to do all the heavy lifting leaving engineers to be concerned with the core business logic the service needs to provide.

This is certainly an interesting tool to keep an eye on and one to watch out for on YouTube.

Watch Chris’s keynote here.

Instrumenting Go applications with Open Telemetry.

I'd be remiss not to mention my own talk here, since this was certainly a personal highlight for me. I won't go into too much detail - watch out for a more technical deep dive blog post coming soon.

To summarise, I spoke about how we can use a fairly new framework called Open Telemetry to add valuable observability to our services. Without good observability we run the risk of not being to reason or debug our systems as they grow. Tracing can allow us to track requests through our system end-to-end whilst metrics and allow us to gain valuable insights on system performance. And of course good well formed structured logs can help us debug issues at the root cause.

I also went into how we can set up our architecture using the Open Telemetry collector to provide a single code implementation and allow the collector to push our observability data to any provider we want.

All the slides and code examples are on our GitHub here.

Scaling Using Go.

The last keynote of the talk by Adam Hicks spoke about Luno's growth over the past two years was made possible by using Go. Luno was able to empower their teams though their usage of Go allowing their ever growing team of engineers to were able to tackle challenges together.

Luno has developed a few Open Source tools to help them along the way, such as Reflix which is a helps building distributed event notification streams or Jettison which is tool to provide structure logs / error handling over gRPC.

There was certainly a lot of inspiration to take here as Banked transitions to a more event driven system with APIs provided by gRPC / Protocol Buffers.

This was an excellent conference and it felt great to get back there, a quick shout out to the events team and all the staff at The Brewery which provided an excellent venue, food and drinks.

There was so much more I didn't get to see at GopherCon 2021, so keep an eye out on the GopherCon UK YouTube channel for more.


Company

Banked Ltd is authorised and regulated by the UK Financial Conduct Authority
16 Great Chapel St, London, W1F 8FL
Company number 11047186 : Firm Reference Number 816944 : +44 (0) 20 3597 4496

© Banked : 2021