Recent Posts

Write Your Own Service Discovery Client for Apache APISIX

API Gateways in general, and Apache APISIX in particular, provide a single entry point into one’s information system. This architecture allows for managing load balancing and failover over similar nodes. For example, here’s how you can create a route balanced over two nodes in Apache APISIX: curl http://localhost:9080/apisix/admin/routes/1 -H ‘X-API-KEY: edd1c9f034335f136f87ad84b625c8f1’ -X PUT -i -d ‘{ “uri”: “/*”, “upstream”: { …

Read More »

Understand the Root Cause of Regressions with Git Bisect

In this series, I cover a lot of magical tools and git bisect is probably the best example of such magic. The hardest part in debugging is knowing the general area of the bug… and bisect literally shines a light on the specific commit that caused it! Before we begin, let’s make one thing clear: bisect is a tool for …

Read More »

Five Data Models for IoT: Managing the Latest IoT Events Based on a State in Apache Cassandra

© Shutterstock / everything possible Apache Cassandra is a rock-solid choice for managing IoT and time series data at scale. The most popular use case of storing, querying and analyzing time series generated by IoT devices in Cassandra is well-understood and documented. In general, a time series is stored and queried based on its source IoT device. However, there exists another …

Read More »