-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
When I started looking into shutdown at RudderStack, I saw a number of anti patterns that we were following---for example using os.Exit(1) (more on this later)---and decided it was time to implement a graceful shutdown mechanism for Rudder Server. At RudderStack we are building an important part of the modern data stack. RudderStack is responsible for capturing, processing, and delivering data to important parts of a company's infrastructure. So, making sure everything is predictable and ensuring there is no chance for data loss whenever we have to interact with a service is incredibly important. This gave me two main goals with graceful shutdown:
A full working example can be found under our example repo, feel free to experiment by commenting out BaseContextor or httpServer.Shutdown.
Related posts
-
Reinventing the On-Prem Deployment Model
-
From Show HN as a "Segment Alternative" to Series A in One Year: Reflections From Our Founder
-
Open-Source alternative to Segment, customer data platform. Sync data from multiple sources.
-
Simplifying Event Filtering and Value Aggregation with RudderStack
-
Why Twilio Acquired Segment