Loading…
Browse by type
Explainer reads
Explainer posts on Yomu, summarised newest first.
- 1,624 posts
- 20 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Explainer posts
Diagnosing MongoDB Search Performance with Atlas Metrics
Elevated disk I/O, high search CPU, increasing query latency, or rising search max replication lag in MongoDB Atlas can stem from two distinct problems: index-size pressure, where the search index exceeds available memory, or resource contention, where search and database workloads compete for CPU and memory on co-located nodes. Scaling the database tier provides only temporary relief because it does not separate the two workloads. Dedicated search nodes run mongot on separate infrastructure, giving each workload its own memory budget, CPU capacity, and scaling lifecycle. Correct diagnosis requires comparing Search Page Fault, Search Process Memory, Search Index Size, Search Normalized Process CPU, and Search Process Throttling metrics together. If page faults persist after migration, the search tier may still be undersized or require index-mapping changes such as static mapping or vector quantization.
AI agent untuk bisnes kecil di Malaysia: apa boleh dibuat, kos dan cara mula
An AI agent differs from a chatbot by taking action: it has its own cloud computer, can install software, run code, and save files. BoxCompute, one such agent, lets users describe tasks in plain Malay or English, and the agent breaks the work into steps, producing real files like spreadsheets, documents, or web pages. Suitable tasks include spreadsheet analysis, market research, website building, marketing content, scheduled recurring work, and internal apps. The agent can make mistakes with numbers and facts, so users should verify results and avoid sharing passwords or bank details. BoxCompute offers a free trial with $5 credit for 14 days, a free account with daily AI limits, and a Starter plan at $18.99/month with $40 monthly credit, with data hosted in Cyberjaya, Malaysia.
How to run Claude Code in the cloud in 2026: three ways compared
Claude Code runs on a laptop and stops when the lid is closed, so keeping it working while away requires a remote machine. The post compares three options available in 2026: Anthropic’s cloud sessions, a self-managed VPS, and a BoxCompute computer. Cloud sessions start from a fresh GitHub clone and pause after inactivity, making them suitable for tasks that fit in sessions. A VPS is the cheapest always-on option but requires the user to handle security updates, firewall, and backups. BoxCompute computers keep their disk when stopped, start again on a message, and offer preview links, but cost more than a VPS for 24/7 use. All three use the user’s own Claude account and plan, and Anthropic’s terms allow signing in to the unmodified Claude Code binary on a platform.
Where (and when) to deploy conversational AI first
Most first conversational AI deployments are chosen by sorting ticket volume descending and picking the top row, but the highest-volume contact type is often the worst place to learn. Instead, sort candidate journeys by cost of error before volume, pick a journey whose context lives in one system the AI can already read, and target journeys with current speed or availability failures. Avoid anything involving money, health, or a signature, as well as emotionally loaded contacts and journeys crossing multiple systems. Before deploying, ensure the AI can see customer history, that escalation hands off context, that a baseline exists for handle time and resolution rate, and that the scope is narrow. The best first deployment is high-repetition, low-stakes, with data already available and a human one click away.
Memory Architecture for AI Agents: Integrating Twilio Conversations and Amazon Bedrock
Building a reliable AI agent for customer service requires a memory architecture that separates data by what it is about and where it comes from. The post proposes four tiers: customer memory in Twilio Conversation Memory for persistent profiles and preferences across channels, short-term and episodic memory in AWS AgentCore for call context and learned problem-solving, organizational context from systems of record accessed via real-time tool calls, and organizational rules from knowledge bases. Twilio’s memory layer normalizes identifiers across voice, SMS, and chat, and stores observations, summaries, and developer-defined traits. AgentCore’s short-term memory tracks the immediate conversation, while episodic memory records how the agent solved past problems per customer. This separation prevents stale copies of data like flight status, and protects against lock-in by keeping customer memory at the communication layer, agnostic to the agent runtime.
Building secure mobile apps in the agentic era (2026) - Shopify
Shopify’s mobile app team now ships 11x more code per week than a year ago, averaging 434,000 lines changed per week during a 12-week rewrite. To maintain security at this pace, they built a system that maintains a map of each app’s attack surface, organized into surfaces such as deep links, WebViews, and stored data. Each surface has a skill derived from OWASP MASVS/MASTG and lessons from past incidents, which is used to inventory and review one item at a time. A daily pipeline compares the latest inventory with the last accepted map, reviews each changed item with read-only code access, and publishes a new map and changes page. Agents also monitor security news for industry-wide vulnerabilities and check them against the map and code, posting briefings only when the app is affected.
Building new research tools for Maya epigraphy on Modal
Artist and Stanford lecturer Miguel Novelo created (Φ ᆺ Φ) asya, an interactive installation for Modal’s Scaling Intelligence exhibition with Gray Area, where visitors draw in sand and their marks become glyphs in a growing collective codex. Novelo uses AI and cloud compute to build tools for reading Maya script, a writing system that lacks a Rosetta Stone and was nearly erased by Spanish colonizers. He works across several models, giving them context from scholarly books, his family’s knowledge, and undocumented local information, then checks each step against his sources. Using Modal, he built a pipeline that converts 2D glyph images into 3D models in a fraction of the time manual modeling required, enabling epigraphers to examine carvings more closely. The long-term goal is a specialized tool for researchers that analyzes the depth and style of carvings to reveal syntax that flat images miss.
Quad9’s withdrawal from France: A canary in the coal mine
Quad9, a Swiss non-profit, withdrew its public DNS resolver from France after a court imposed daily penalties for failing to block domains linked to copyright infringement. Cloudflare argues that forcing public DNS resolvers to block content is ineffective, easily bypassed, and causes collateral damage by blocking entire domains. Because public resolvers operate globally, a single country’s order could restrict content worldwide, fragmenting the open Internet. Cloudflare, Google, and Cisco have appealed a Belgian order that would require similar blocking by January 2027 or face penalties. Cloudflare advocates for targeting hosting providers for content removal instead of mandating DNS-level blocking.
Building the Agent Host Protocol for sessions that continue across devices
The Agent Host Protocol (AHP) is an open standard that enables agent sessions to continue across devices, solving the problem of agents being tied to a single application window. GitHub Copilot initially bundled its agent harness inside VS Code, which meant closing the window or switching devices killed the session. AHP uses a reducer-based state model with URI-identified channels, allowing multiple clients to interact with the same set of agents seamlessly. VS Code implemented AHP in TypeScript, while GitHub built a separate Rust-based agent host for cloud environments, and the two implementations served as an acid-test for protocol portability. Today, AHP provides session continuity across VS Code, the GitHub Copilot app, and mobile apps, with libraries available in Rust, TypeScript, Kotlin, Swift, .NET, and Go.
How packaged clean rooms bring RampID to your lakehouse
Traditional partner identity resolution required exporting PII to a vendor, adding pipeline maintenance and governance overhead. LiveRamp Embedded Identity on Databricks uses packaged clean rooms to bring identity resolution to the customer’s data, eliminating the need for data export. In a packaged clean room, LiveRamp provides the identity graph and code as a product, while the customer runs it against their own data without exposing PII or seeing LiveRamp’s intellectual property. The customer creates the clean room in their chosen region, and OpenSharing gives the central clean room read-only access to each party’s assets, with serverless compute spun up per run. Results are written to a customer-only output schema retained for 30 days, enabling governed identity resolution for downstream use cases like audience sizing and measurement.
Co-Designing Sparse Attention for Efficient Long-Context Inference
Sparse attention limits each query to attending to only a small subset of the context, cutting compute and memory traffic on long sequences, but the indexer that finds those keys still scores all N keys. This post is a practical primer for model developers designing model-level sparse attention that runs well on NVIDIA GPUs. It uses a production FP8 kernel to sweep the indexer’s design knobs, including query heads, key heads, head dimension, compression ratio, and speculative-decoding depth. The measurements show that decode runtime is nearly independent of group size because the single key cache read sets the bottleneck, while prefill runtime grows with group size. The post concludes with eight guidelines for efficient indexer, Top-k, and core attention design on NVIDIA hardware.
How Rakbank built centralized observability at scale with Amazon OpenSearch Service
Rakbank built a centralized observability platform on Amazon OpenSearch Service to handle 150 GB of daily telemetry from its retail digital banking microservices on Amazon EKS. The architecture spans two AWS accounts connected via Transit Gateway, with a 3-AZ OpenSearch Service domain using dedicated cluster-manager and hot data nodes. A hot/warm/cold tiering strategy, managed by Index State Management policies, retains the most recent 15 days on hot storage, 15-30 days on UltraWarm, and 30-60 days on cold S3-backed storage. A parallel archive to Amazon S3 provides 7-year compliance retention for Central Bank of the UAE requirements, queryable via Amazon Athena. The design achieved approximately 55 percent cost savings over an all-hot cluster while serving 25 dashboards to 25 concurrent users.
Built on object storage, served from cache
The common argument that Postgres on object storage must be slow assumes queries always read from object storage, but Lakebase Postgres almost never does. Production data shows the compute’s local cache serves 99.46% of page accesses, pageserver NVMe serves 0.54%, and object storage handles only about 39 requests per second. The architecture uses tiered caching: every tier caches what it fetches from the tier below, so the cost of a deeper tier is paid once. Pageservers organize data into image and delta layer files, keeping replay chains short—p90 deltas applied per read is under one. This design gives Lakebase Postgres the durability and cheap storage of object storage while keeping object storage off the critical path for active queries.
Building LLM Judges to Judge LLMs
Ramp built Ramp SWE-Bench V2 to evaluate how different LLMs perform on coding tasks drawn from real engineering work. The original V1 graded solutions by running them against a predefined test suite, but those tests were often overspecified or underspecified. V2 replaced test-based grading with LLM judges that compare candidate patches against an engineer-reviewed gold patch. A multi-step pipeline separates identifying differences between patches from judging whether those differences matter, and then has judges deliberate to reach a consensus. This approach raised judge agreement from 54% to 94%, and engineers agreed with nearly 90% of the pipeline’s task-level verdicts.
AI-Generated Code Security Risks: What Qodana Found in a Java App
AI-generated code can pass functional tests while containing security vulnerabilities. Qodana’s static analysis of a Java app from the RealVuln Benchmark found 65 findings across 21 files, including a vulnerable XStream 1.4.7 dependency parsing untrusted XML from a cookie, a hardcoded fallback key in Spring configuration that could silently use a credential, and a transitive license policy issue with Hibernate. The XStream deserialization call takes input from a browser cookie without type allowlisting, potentially allowing unintended object instantiation. The hardcoded fallback in the legacy report bridge’s intake key would be used if the environment variable is missing, exposing a credential in source control. Each finding requires human review to assess reachability, production configuration, and appropriate fix, as static analysis provides starting points but not definitive exploitability.
What is a no-reply email (and why you should never use them)
No-reply emails, sent from addresses like [email protected], prevent recipients from responding, which damages customer communication and brand perception by signaling that feedback is unwelcome. They hurt email deliverability because mailbox providers such as Gmail and Yahoo view them unfavorably, increasing the chance of spam classification and reducing visibility. The post argues that businesses should never use no-reply addresses, even for automated alerts like password resets, and should instead use reply-friendly addresses such as [email protected]. Alternatives include dedicated response teams, email management software, and tools like Twilio SendGrid’s Inbound Parse Webhook to handle replies programmatically by parsing incoming email into structured data. Adopting two-way communication improves customer experience, trust, and overall email campaign effectiveness, turning every reply into useful customer feedback that can be routed to help desks or CRMs.
More load is faster: Tuning Postgres read replicas
A ClickHouse Managed Postgres user reported unexpectedly high read replica delay, prompting an investigation into Postgres replication lag tuning. The author found that with default settings, replica lag follows a U-shaped curve: low and high throughput cause large spikes, while moderate load yields only a few seconds of delay. Tuning archive_timeout to 5s and wal_retrieve_retry_interval to 500ms provides a safe starting point for reducing lag. More aggressive tuning, such as forcing WAL switches with pg_switch_wal() or using a WAL-G daemon client, can further reduce lag but introduces tradeoffs like increased network costs and CPU overhead. Streaming replication still achieves lower lag than archive-based replication, but the author notes that a few seconds of lag is sufficient for most use cases.
What is Real-Time Mode in Apache Spark?
Real-Time Mode is a trigger for Apache Spark Structured Streaming that processes each record as soon as it arrives, reducing end-to-end latency from seconds to milliseconds. It replaces micro-batch scheduling with long-running tasks, pipeline scheduling, and a streaming shuffle to remove batch-boundary waits and blocking shuffles. The trigger interval controls checkpoint frequency, not record wait time, and records flow continuously through long-running tasks. Real-Time Mode supports Kafka-based sources and sinks, row-based foreach sinks, and most streaming operators including stateful ones like aggregations and transformWithState. In published benchmarks, it achieves single-digit millisecond latency for stateless queries and roughly 140 ms p99 for stateful queries.
Tabular foundation models on Databricks AI Runtime
Tabular foundation models (TFMs) are pretrained transformers that make predictions on new tabular datasets without task-specific training, using in-context learning on labeled rows passed as context. They eliminate the need for bespoke model development and maintenance pipelines by inferring relationships from millions of diverse synthetic datasets used during pretraining. However, TFMs require GPU infrastructure because their transformer architecture and in-context learning demand dense matrix multiplications and large memory for activations, which grows with dataset size. Databricks AI Runtime addresses this by providing managed serverless GPU infrastructure directly where data resides, with integrated observability and governance through Unity Catalog. The platform supports zero-shot inference and fine-tuning of models like KumoTabular, enabling enterprises to deploy TFMs as batch pipelines or real-time endpoints without creating data silos.
Naming is hard, semantics are hard(er): Inside Sentry Conventions
Sentry’s ~100 SDKs historically sent divergent attribute names and semantics, causing users to miss data when querying across SDK versions. To solve this, Sentry created Sentry Conventions, a superset of OpenTelemetry Semantic Conventions that standardizes attribute names, types, deprecation rules, data scrubbing policies, span operations, and metric specifications. The conventions are published as NPM and PyPI packages and Rust code, and surfaced via a searchable website. SDKs use the packages to set attribute names and span ops, Relay uses them for data scrubbing and inferring span names/descriptions, and the backend uses them to coalesce deprecated and current attributes so queries return results regardless of which version an SDK sent. Over the past year, Sentry grew its conventions from roughly 300 to more than 900 attributes by backfilling existing SDK attributes and aligning on single versions.
Top topics
- Architecture852
- Performance851
- LLMs749
- AI Agents713
- Machine Learning644
- AI632
- Open Source599
- Developer Experience461
Weekly digest
The best engineering reads, once a week.