Home / Companies / InfluxData / Blog / Post Details
Content Deep Dive

Microservices to Monolith, Rebuilding Our Backend in Rust

Blog post from InfluxData

Post Details
Company
Date Published
Author
Logan Cox
Word Count
987
Company Posts That Month
8
Language
-
Hacker News Points
-
Post removed?
No
Summary

InfluxData's platform team undertook a significant architectural transformation by migrating from a Go-based microservices setup to a Rust monolith, aiming to simplify infrastructure and development while enhancing safety and maintainability. The transition supported a new administrative UI for InfluxDB Cloud Dedicated and aligned with plans to rewrite the InfluxDB database engine in Rust. The switch to Rust brought benefits such as a stronger type system, complete and safe error handling, and explicit mutability, which collectively reinforced software correctness and reduced bugs. The migration employed a "strangler fig" approach, allowing for endpoint-by-endpoint transition without downtime, facilitated by integration tests ensuring identical logic between the old and new systems. The use of domain-driven design and hexagonal architecture promoted modularity and flexibility, enabling the team to ship a new V1 REST API alongside the existing gRPC and REST services efficiently. This systematic approach, completed by a team of five in three months, demonstrated increased development speed and software safety due to the strategic use of Rust and upfront design planning.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 2 1,613 282 85 +4%
Platform Engineering 1 936 190 37 +159%
Serverless 1 695 190 81 -19%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.