Wiki: Maintaining an Open Source - The Good, Bad & Ugly

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

The speaker shares insights and personal experiences from maintaining popular open-source libraries over several years. The talk covers the challenges of product decision-making, such as handling multi-platform support and maintaining backward compatibility. Additionally, the speaker discusses the hidden burdens of infrastructure maintenance, the reality of open-source funding, and the broader industry implications of critical vulnerabilities like Log4j. Ultimately, the audience learns what it truly takes to sustain an open-source project and why community and corporate support are vital.

Key points

  • 0:11 Open source has grown massively over the years, transforming how developers share and build software.
  • 2:23 As a maintainer, the speaker acts as the primary product manager, making difficult feature decisions.
  • 3:27 Adding multi-platform support to Kotlin Logging increased complexity and was ultimately considered a mistake.
  • 4:34 Preserving backward compatibility is important, but sometimes introducing breaking changes after years of delay is necessary.
  • 6:38 Open-source maintenance rarely brings direct financial profit, so developers should not rely on it for income.
  • 7:46 A large portion of a maintainer’s time is spent on infrastructure, CI/CD, and support rather than writing core code.
  • 8:50 Changes in free services provided by companies like JFrog and Travis CI create unexpected hurdles for maintainers.
  • 9:51 High-impact vulnerabilities like Log4Shell highlight the urgent need for large tech companies to support critical open-source infrastructure.

Takeaways

  • Think carefully before expanding a library’s scope or adding multi-platform support, as it increases maintenance overhead.
  • Do not expect to monetize open-source libraries easily; treat them as passion projects or learning opportunities.
  • Large tech companies should actively contribute resources and funding to the critical open-source projects they rely on.

Questions this talk answers

  • How do you decide whether to add a requested feature or keep a library lightweight?
  • What are the hidden operational costs of maintaining an open-source library?
  • How can developers balance backward compatibility with modernizing their codebase?

Technologies

Kotlin, Java, MySQL, PostgreSQL, Maven Central, JFrog, Travis CI, GitHub

Tags

ci/cd, community, library design, maintainers, open source, software engineering