Thursday, October 15th 2026 marked the first day of the Gophercon Africa conference held in Nairobi that would span the next three days. The first day was a workshop on Domain-Driven Applications with sqlc and temp by Ainsley Clark from JetBrains. The session was a great walkthrough on what to think about when structuring your Go project; it is easy to get lost and have files and directories poorly structured but following a Domain-Driven Approach having five files per directory would be ideal. The workshop repository can be found here. We also got challenged to build a website and here is a screenshot of my submission.
The second day would continue on a rather high note, setting off with a talk on standing on the shoulders of Giants, a foreshadowing of the talks that would follow for the next two days, David Odohi simply walked us through how the Go language has grown and the people who have contributed to it including the communities. Kennedy Karoko with a talk on 1 Million Transactions in Under a Second, took us through Go's concurrency model, worker pools and batch processing, notice I have not mentioned Kafka; the talk showed how having channels, multiple workers reading from same channel with Go's scheduler spreading the work across multiple CPU cores and batch Database writes can accomplish writing 1 million transactions without having to use kafka. He has a really great write up on this here: Part 1 and Part 2
The journey in the land of giants would continue with a talk by Bala Grivine Ochieng; Write-Ahead Logging in Go: The Subtle Bugs That Corrupt Databases. The talk built upon the 1 Million Transactions in under a Second talk, going deeper into writes and preparing for crashes during writes. In a WAL(Write Ahead Logging) every change is first recorded in an append-only log file before being applied to actual databases thus guaranteeing in event of a crash the system can recover by replaying the log entries.To ensure atomicity fsync() is used to force the hardware to commit the bits to non-volatile storage.
The speaker, Bela further touched on the difference between buffered I/O and O_DIRECT, with bufio overhead system calls are reduced by accumulating writes in memory until the buffer is full or explicitly flushed while O_DIRECT bypasses the kernel page cache using the syscall O_DIRECT or OS.Open with specific flags thus transferring data directly between user-space buffers and storage Device. On kernel durability, he walked us through a few primitives that I will briefly touch on:
- fsync(fd): flushes the files data and all of its metadata. This is the most expensive option as it forces a filesystem journal commit. If fsycn() fails do not retry but instead force a hard failure.
- fdatasync(fd): flushes the data plus only the metadata needed to read it back if for example file size grew, skipping timestamp updates. If you preallocate and zerofill WAL segments as Postgres does, nothing but data changes on each append, so fdatasync avoids the journal commit and is noticeably cheaper.
- O_DSYNC: Each call is write() plus an implicit fdatasync() fused into one syscall. This means each write is synced immediately making batching impossible.
- O_DIRECT | O_DSYNC : on ext4 and XFS with a device that supports it, kernel can issue the write with FUA(Force Unit Access) so the write is durable with a separate cache-flush command. This gives an I/O per commit with no page cache double-buffering; the cost is the alignment requirements and no kernelhead or caching for the log.
I enjoyed how each talk upto this point was building on the previous one, and the next talk would not fall short of this. Timelhin Omolana with The Gopher's Trident: Conquering the Saga Pattern in Distributed Systems which would now focus on the transaction part of writes. It was a thought provoking talk on how well is your system prepared for faults actually happening during transactions. To start of what are Sagas: they are a sequence of local transactions where each transaction updates the database and publishes an event triggering the next transaction. If any step fails, compensating actions are triggered to rollback previous changes. What they essentially do is that they accept failure will happen and plan for them with compensation logic by defining both the forward action and its compensating rollback.
The saga pattern has two approaches of accomplishing this:
- Choreography: Each service publishes events and listens for events from other services. It has no central coordinator. This works well for simple flows but gets messy as complexity grows.
- Orchestration: it has a central orchestrator that tells each service what to do and tracks the overall state. It is easier to understand and debug but introduces a single point of coordination.
At this point we went for a break and I got to further engage with my fellow attendees. As promised here is the first of several doodles I made:
The next talk Designing for Disconnection by Richard Ochola Otieno, from Zone01 Kisumu; who are doing great things out there in that city, focused on how we can design for disconnection, handling client drops, network interruptions and server shutdowns without leaking goroutines or resources. The speaker highlighted how designing such systems especially for Africa or at least Kenya where network coverage is weak in some regions of the country. The core strategy highlighted entails using context cancellations to propagate disconnect signals, implementing heartbeats to detect dead connections early, and employing graceful shutdown patterns to drain active requests.
Alex Rios would take us through Why Go Hides its Spinlocks; To start off, what is a spinlock?; It is a lock which causes a thread or process trying to acquire it to simply wait in a loop while repeatedly checking if the lock is available. The first focus would be the tradeoffs, these are methods of implementing a spinlock, between spinning and parking whereby spinning has a nanosecond of latency while using 100% of the core making it suitable for short critical processes and parking has a 1-10μs context switching while using almost zero cpu making it suitable for long critical processes. Go does not necessarily or rather directly use spinlocks but through sync.Mutex it is able to accomplish the same. Some of the idiomatic alternatives include:
- Shard your data:split one hot lock into many
- sync/atomic: lock-free operations designed for the scheduler
- sync.Map: optimized for read-heavy, stable-key workloads
- Channels: more data ownershirp instead of sharing it.
Deterministic Concurrency with Synctest by Olusola Enoch and Toluwase Thomas would take us through synctest, a library introduced in Go 1.24. Go prides itself for its built-in support for concurrency with Goroutines and channels being simple and effective primitives for writing concurrent programs. However, testing concurrent programs can be difficult and error prone. Tests cannot be both fast and reliable so they end up either being less flaky but slow or less slow but more flakier. Synctest allows tests to be simple, fast and reliable without any changes to the code being tested.
Fadilulahi Iyiola Akanbi would introduce us to Pg-Guard, a tool written in Go for PostgreSQL query linting and risk analyzing. The tool flags dangerous or expensive query patterns before they reach production. He walked us through how it analyzes SQL, what it catches and lessons he learnt from building it. The next talk would be led by a team from Moniepoint, on how they built an internal Dev platform in Go, named Eshu. The naming of the tool quickly had the questions becoming philosophical. The final two talks for day two would have Utibeabari Umanah introduce us to Firecracker and how we can build secure sandboxes for AI. It was the first time I got to learn of firecracker, an opensource alternative to AWS Lambda MicroVMs. To close the talks we had Desmond Obisi take us through lessons he learnt from building multitenant systems and how best we can manage RBAC. The last session would be a panel discussion on Women who Go, marking a close to a spectacular Day 2 at Gophercon.
The third and final day would start off with Building a Container Runtime from Scratch by Ajitam Sahasrabuddhe, a container runtime is a software that runs containers on a host taking an image and a command and turning them into a running isolated process. He reminds us that Docker is not a container runtime but instead a container engine that ships one. But what is a container, a process in an isolated environment, namespaces and cgroups with a root filesystem. The filesystem is what to run, namespaces and cgroups are how. cgroups are a kernel feature for accounting and limiting resources while namespaces are kernel features for isolating what a process can see. In Go, a container is your own binary started through /proc/self/exe, because namespaces are set at clone. Docker, runc and containerd do the same thing but with far more capabilities.
Opt-out defaults: Designing a Go Backend Toolkit without Becoming a Framework by Mugirase Emmanuel, unlike frameworks such as Django in Python or Laravel in PHP it is easy to spend a lot of time setting up the project structure for your project when working with Go. This talk introduced us to a tool that the speaker has been working on that offers a scaffold for Go without tying you down to a framework. It not only provides the various Go frameworks and HTTP service providers but also the common frontend frameworks and database setups.
Ainsley Clark came back with //go:embed: From Comment to Binary. The go:embed feature simplifies inclusion of assets in Go. It allows embedding files and directories at compile time so one can create more portable and self-contained binaries; this means your application can access these resources directly from memory without needing to read from the disk at runtime. go:embed can be used to embedd multiple files, embedd directories, to create a web app, to embedd files into a struct and to embed images and PDFS although this bears a few limitations; large files can significantly increase binary size while changes to embedded files require recompilation.
Chris Nyaga would also be back with a quick fire talk on Invariants are the New Interface; Agents make code cheap but having invariants written down that can be verified automatically helps. An invariant is any logical rule that must be obeyed throughout the execution of your program that can be communicated to a human but not to your compiler, rules are broken into two groups; those in this case the Agent can be trusted with enforcing and those that must be documented, discussed, commented or otherwise communicated to contributors in order for them to interact with the codebase without introducing bugs. This allows for a human-in-the-loop approach on critical areas of your project while delegating those tasks which you can trust the AI agent with.
When your AI costs more than your Infrastructure: LLM observability in Go a talk by Ige Oluwesegun focusing on tracing, token counts, real-time cost and budget guardrails against runaway AI spend using open telemetry. Paul Okeke from moniepoint would follow with Scaling the Edge: Kraken D with custom Go plugins providing an insight on how to build high performance gateway plugins that optimise mobile user experience at scale. Anthony Aloribe would give the final talk on Runbooks that Think: Executable checklists with AI in the loop; this talk would introduce us to Runbooks which can act as executable checklists providing deterministic programs with LLM judgment at each step.
The final session would be a panel discussion on the current state of Go and the future of Software Developers in this age of AI. The event provided an introduction to new concepts while also providing a rethink of others. Walking out from the event, the talks, moments with fellow attendees challenged my thinking and approaches to go and general software engineering. I look forward to the next.


