SoftwareCrafting Logo

Stories, insights & tutorials

Dive into our latest articles on web development, DevOps, mobile apps, and engineering best practices.

Dark editorial AI architecture showing a request passing through context assembly, retrieval, fine-tuning, and response evaluation
intermediateAI Engineering

RAG, Fine-Tuning, or Better Context: Choosing the Right Fix for a Bad AI Feature

Badal Singh

A decision guide for fixing weak AI features by separating knowledge freshness, behavior, context assembly, retrieval, fine-tuning, and evaluation.

17 min read831 viewsSep 10, 2026
Dark editorial search diagram showing a product page being crawled, parsed into passages, and cited in an AI answer
intermediateWeb Development

Getting Your Product Cited by AI Search: Structure, Schema, and Crawlability

Badal Singh

A practical guide to earning product citations in AI search through crawlable pages, clear passages, schema accuracy, internal links, and measurable visibility.

17 min read616 viewsSep 9, 2026
Dark editorial cost flow showing SaaS requests routed through model tiers, prompt cache, token budget, and usage attribution
intermediateAI Engineering

Cutting LLM Spend Without Cutting Quality: Routing, Caching, and Token Budgets

Badal Singh

A practical LLM cost engineering guide for SaaS teams covering token attribution, model routing, prompt caching, batching, retrieval discipline, budgets, and graceful degradation.

17 min read1.1k viewsSep 8, 2026
Dark editorial trace showing an AI agent planning, calling tools, checking a policy, and reaching a measured outcome

Evaluating AI Agents in Production: Traces, Trajectory Evals, and CI Gates

Badal Singh

A production evaluation system for AI agents using traces, tool and trajectory checks, calibrated judges, deterministic mocks, CI gates, and failure-driven datasets.

17 min read874 viewsSep 7, 2026
Dark editorial comparison showing PostgreSQL with vectors on one side and a dedicated vector search service on the other

pgvector or a Dedicated Vector Database: How to Decide, With Real Thresholds

Badal Singh

A practical pgvector versus dedicated vector database decision guide covering filtering, HNSW, IVFFlat, hybrid search, cost, scale thresholds, and migration.

17 min read659 viewsSep 6, 2026
Dark editorial mobile architecture diagram showing a React Native app moving from the legacy bridge to JSI, Fabric, and modern modules

Your App Is Stuck on React Native 0.7x: A Staged Upgrade Plan for 2026

Badal Singh

A staged React Native upgrade plan for 0.7x applications covering New Architecture readiness, Fabric, TurboModules, Expo alignment, CI, devices, and rollback.

17 min read745 viewsSep 5, 2026
Dark editorial passkey ceremony showing a browser, authenticator, tenant policy, and verified public key
advancedSecurity

Adding Passkeys to a B2B SaaS: WebAuthn, Account Recovery, and Enterprise Reality

Badal Singh

A production passkey architecture for B2B SaaS covering WebAuthn ceremonies, RP IDs, synced credentials, recovery, enterprise SSO, step-up auth, and rollout telemetry.

17 min read1.3k viewsSep 4, 2026
Dark editorial database upgrade diagram showing PostgreSQL storage, async I/O, UUIDv7 records, and a controlled cutover

Upgrading to PostgreSQL 18: Async I/O, UUIDv7, and a Zero Surprise Rollout

Badal Singh

A production playbook for PostgreSQL 18 covering async I/O, UUIDv7, generated columns, upgrade paths, managed services, benchmark design, and rollback.

17 min read917 viewsSep 3, 2026
Dark editorial pipeline showing React source code passing through a compiler into measured production renders
advancedFrontend

React Compiler in Production: What to Delete, What to Keep, and What to Measure

Badal Singh

A production guide to React Compiler v1 covering safe adoption, manual memoization audits, lint diagnostics, bailouts, performance measurement, and rollout.

17 min read745 viewsSep 2, 2026
Dark editorial diagram showing a Next.js application moving through React, Turbopack, and production deployment stages

Migrating to Next.js 16: Turbopack, Cache Components, and the Async API Breaks

Badal Singh

A production migration runbook for Next.js 16 covering Turbopack, async request APIs, Cache Components, Proxy, build verification, and safe rollback.

17 min read573 viewsSep 1, 2026

Browse by category

All articles

Want to work with us?

Have a project in mind?

We write about the same technologies we use to build world-class products. Let's put that expertise to work for you.