Articles

Tech Articles

In-depth articles on AI, web development, cloud native, and indie hacking.

@admin·9 min read·AI Frontier

Elasticsearch Search in Practice: When and How to Use It

When search volume is high and you need full-text search, complex filtering, and aggregations, Elasticsearch is a powerful but heavyweight tool. This article explains its core concepts (indexes, shards, and inverted indexes), advantages over SQL full-text search, Query DSL essentials, Chinese tokenization with IK, and when ES is or is not justified.

#DevOps♥ 700 comments
@admin·11 min read·Cloud Native

Kafka and Stream Processing in Practice

Kafka is more than a message queue; it is an event streaming platform and a foundation for logs, stream processing, and event-driven systems. This article explains Kafka's topic, partition, offset, and consumer-group model, its high-throughput design, ordering and Exactly-Once guarantees, and when to use it.

#DevOps♥ 710 comments
@admin·11 min read·Cloud Native

Cloud Cost Optimization: Don't Let the Bill Eat Your Profits

On the cloud it's easy to 'get more expensive as you use it' — idle resources, over-provisioning, forgotten services, traffic fees. Covers cost optimization levers: compute (reserved/spot/right-sizing), storage (tiering/cleanup), network (egress/CDN), bill monitoring + alerts, and the 'FinOps' culture making costs visible and accountable.

#DevOps♥ 710 comments
@admin·12 min read·Web Development

REST API Versioning Strategies

APIs inevitably become hard to change. How can they evolve without breaking existing clients? This article explains URL path, header, query parameter, and content-negotiation versioning; their tradeoffs; when breaking changes are necessary; deprecation strategies; and a practical "forward compatibility first, major versions when necessary" approach.

#TypeScript #DevOps♥ 730 comments
@admin·5 min read·AI Coding

Test Impact Analysis for Coding Agents: Auditable Selective Regression Gates

Full regression suites are too slow, while guessing tests from filenames misses failures. This article uses a baseline commit, dependency graphs, dynamic coverage, and risk rules to build an explainable affected-test set and defines when a full test run is mandatory.

#AI Agent #TypeScript #DevOps♥ 00 comments
@admin·11 min read·Cloud Native

PostgreSQL Connection Pooling and PgBouncer

Creating a new database connection for every request can bring PostgreSQL down as concurrency rises. This article explains why PostgreSQL connections are expensive, application-side pooling, PgBouncer, transaction mode, and how to calculate connection limits.

#DevOps♥ 730 comments