首页›发现›科技›Slack Engineering

Slack Engineering

RSS
访问网站
文章数8
更新频率近 8 周没有更新
最近抓取此刻
订阅方式RSS
订阅地址https://slack.engineering/feed/

最近的文章

订阅后,这些文章和以后的新文章都会出现在你的阅读器里

Shipyard: How We Built Slack’s Next-Generation EC2 Platform

AI 摘要Shipyard is Slack's next-generation EC2 platform that treats infrastructure as immutable, deployable artifacts rather than long-lived, continuously updated instances. It uses layered AMIs built on a shared golden base image (slack-zero), applies configuration during baking and provisioning phases, and enables metric-driven progressive rollouts with automated rollbacks through its Gondola orchestrator. The platform also provides real-time fleet visibility via a new inventory system called Peekaboo and keeps instances short-lived and regularly rotated for security and consistency.

Agentic Testing: Where Agents Fit in the E2E Testing Stack

AI 摘要The authors ran over 200 agentic E2E test workflows comparing Playwright MCP, Playwright CLI, and agent-generated Playwright tests, finding that agents differ fundamentally from traditional tests by adaptively verifying goals rather than enforcing fixed journeys—only about 20% of runs followed identical action sequences. Playwright MCP proved the most reliable approach (0–12% failure rates), while generated tests were fastest but degraded sharply on complex flows, and all agent-driven runs carried high costs of $15–30 per execution driven mainly by turn count and context accumulation rather than model output. The authors conclude that agentic testing is currently better suited for targeted debugging or exploratory testing than high-frequency CI execution, though cost may improve with future models and tooling.

Slack AI: The Path to Multi-Cloud

AI 摘要This article traces Slack AI's three-year evolution in serving LLMs at enterprise scale, moving from a self-managed AWS SageMaker setup to Amazon Bedrock Provisioned Throughput to eliminate operational overhead and model feature lag, executed via a zero-incident migration with rigorous load testing and gradual traffic shifts. Facing over-provisioning costs and commitment lock-in, the team then adopted a hybrid strategy combining Provisioned Throughput for latency-sensitive features with On-Demand capacity and a spillover pattern for bursty workloads. Finally, it built an intelligent platform abstraction with model hierarchies and real-time failover to mitigate service variability and concentration risk, setting the stage for a resilient multi-cloud architecture.

From SSH to REST: A Security-Driven Modernization of Slack’s EMR Data Pipelines

AI 摘要By 2024, Slack's data platform relied on 700+ SSH-based Airflow operators running jobs directly on AWS EMR clusters, creating security risks, operational reliability issues, and blocking infrastructure modernization initiatives. The team migrated all jobs to a REST-based architecture using Quarry, their job submission gateway, leveraging YARN Distributed Shell to run arbitrary shell commands in properly managed YARN containers with server-side job tracking and service-to-service authentication. The migration spanned 8 data regions and 7 operator types, completed in three quarters with zero downtime for critical services like search indexing, and fully eliminated SSH access.

Managing context in long-run agentic applications

AI 摘要This second article in a series on an agentic security investigation service addresses how to maintain coherence in long-running multi-agent systems, where stateless language model APIs and finite context windows make continuity challenging. The authors present three complementary context channels—the Director's Journal (a structured working memory with six entry types), the Critic's Review (an annotated findings report), and the Critic's Timeline (consolidated chronological findings with credibility scores)—which together give each agent a tailored view without overwhelming it or stifling creativity. The Critic uses specialized tools to inspect Experts' evidence and methodology, scoring findings on a five-level credibility rubric, with data from 170,000 reviewed findings showing roughly a quarter fall below the plausibility threshold.

From Custom to Open: Scalable Network Probing and HTTP/3 Readiness with Prometheus

AI 摘要Slack lacked client-side observability for its new HTTP/3 endpoints because existing SaaS tools and the Prometheus Blackbox Exporter did not support QUIC probing. An intern, Sebastian Feliciano, implemented QUIC support using quic-go and open-sourced it to the Prometheus Blackbox Exporter, while also building an in-house system to probe Slack's HTTP/3 endpoints. This gave Slack unified HTTP/1.1, HTTP/2, and HTTP/3 metrics in Grafana with better alerts and easier correlation, while benefiting the wider Prometheus community.

How Slack Rebuilt Notifications 📣

AI 摘要Slack rebuilt its notification system from the ground up to combat noise and user confusion, replacing four conflicting legacy preference models with one unified system offering three clear channel options (All new posts, Mentions, or Mute) and decoupling what users are notified about from how they receive push notifications. Through careful backend refactoring, auto-save modals, and a read-time migration strategy with rollback safeguards, the team safely migrated millions of users and achieved true cross-platform parity between desktop and mobile. The redesign drove a 5x increase in settings engagement, significantly reduced support tickets, and left users feeling more confident and in control of their notification experience.

Streamlining Security Investigations with Agents

AI 摘要Slack's Security Engineering team explains how it built an AI agent-based service to streamline the investigation of security alerts generated from billions of daily events. After finding their initial single-prompt prototype unreliable, they restructured the investigation into a chain of structured, single-purpose model invocations organized as persona agents—a Director that drives the process, domain Experts that produce findings, and a Critic that scores their credibility—across discovery, trace, and conclude phases, supported by a hub/worker/dashboard service architecture. The system demonstrated valuable emergent behavior, such as pivoting from the original alert to uncover a separate credential exposure, while a 'knowledge pyramid' design enables strategic allocation of low- and high-cost models to control token usage.