Home / Companies / Trigger.dev / Blog / March 2026

March 2026 Summaries

3 posts from Trigger.dev

Filter
Month: Year:
Post Summaries Back to Blog
In an effort to optimize performance, a company replaced Node.js with Bun in their Firestarter service, a latency-sensitive connection broker, resulting in a 5x increase in throughput. The transition involved several phases, including removing SQLite in favor of a composite-key Map for faster data matching, switching to Bun for its efficient HTTP handling, profiling to streamline hot path operations, and compiling Bun to a single binary to reduce image size and improve latency. Despite the improvements, a memory leak was identified due to unresolved Promise<Response> in the event of client disconnections, which was fixed by ensuring all promises settled properly. The changes led to significant reductions in CPU usage and memory consumption, enhancing the service's stability and performance in production environments. Additionally, the company shared insights on debugging Bun, emphasizing the importance of profiling and benchmarking at each stage to identify impactful optimizations.
Mar 27, 2026 2,931 words in the original blog post.
Claude Code has evolved from a simple terminal assistant to a sophisticated agentic system capable of managing entire codebases, executing commands, and orchestrating complex workflows. While often underutilized as just a chat interface, its robust features are designed for production-grade engineering environments. Key functionalities include session forking to maintain clean context windows, seamless code review loops to streamline feedback processes, and an enhanced editing experience using system editors for complex prompts. The tool allows inline shell execution, integrates effort level adjustments for task-specific compute allocation, and supports parallel worktrees to prevent conflicts. It also offers structured JSON output for reliable automation, surgical context compaction to optimize memory usage, and dynamic multi-agent orchestration for efficient task management. Additionally, Claude Code can be integrated into CI/CD pipelines with budget and execution limits to ensure safe and cost-effective operations, signaling a shift from AI as a mere chat partner to a managed fleet of specialized digital workers.
Mar 12, 2026 1,575 words in the original blog post.
TRQL (Trigger Query Language) is a domain-specific language developed to enable users to write secure, tenant-isolated SQL queries on a shared multi-tenant analytical database without risking data exposure or system stability. Designed as a SQL-style language, TRQL compiles to ClickHouse queries and handles security, abstraction, and translation, making it more than just a SQL passthrough. Its design allows for tenant isolation by automatically injecting necessary filters and hiding internal database details from users, and it provides features like virtual columns, automatic time-bucketing, and value transforms. TRQL is parsed using ANTLR, which enforces a strict grammar that omits potentially dangerous commands, ensuring security by construction rather than validation. The language is compatible with ClickHouse's analytical capabilities, offering custom functions and schema-defined transformations that simplify query writing. Using a dual-parser architecture, the TRQL editor combines fast syntax highlighting with comprehensive schema-aware validation, enhancing the user experience with features like schema-powered autocomplete. By enforcing limits on concurrency, row counts, and query resources, TRQL maintains system performance and security, forming the backbone for Trigger.dev's observability tools and analytics dashboards.
Mar 05, 2026 3,360 words in the original blog post.