talk-data.com talk-data.com

Topic

go

3

tagged

Activity Trend

8 peak/qtr
2020-Q1 2026-Q1

Activities

Showing filtered results

Filtering by: October Gophers @ Monzo! ×

Earlier this year I got to plan out and implement a scheduling system for a fleet of robots in Go, and I'd like to share my learnings from this experience!

I'll give a general overview of how a scheduling system can work, cover related challenges and how they can be addressed, and share some examples of working with schedules and timezones in Go.

My talk, "Using Context in Go Servers: A Guide to Best Practices," delves into how the context package in Go simplifies the management of request lifecycles, cancellations, and deadlines in server applications. The context package is a critical tool for building scalable and reliable systems, yet it's often underutilized or misunderstood.

In this session, I will cover: - The fundamentals of the context package and its key features. - Practical examples of integrating context with database queries and HTTP requests. - Best practices for passing and managing context across function calls. - Common pitfalls and how to avoid them, such as preventing goroutine leaks and handling cancellations effectively.

I want to share this with the community because context is pivotal in developing robust server-side applications, and mastering it can significantly enhance the scalability, maintainability, and reliability of Go applications. This talk aims to provide practical, actionable insights that developers of all levels can immediately apply to their projects.

When faced with thousands of message types with no support in Go, some people reach for Java. Other people reach for “go generate” instead. This is the story of a 20 year migration, a standard that produces more standards, and going way too far with “go generate”.