Panoptes is a distributed system for collecting, enriching, and distributing network telemetry. It supports multiple polling formats (SNMP, vendor APIs, gNMI), uses Kafka as a metrics bus, Celery with Redis for scheduling, and integrates with InfluxDB for time-series storage. This post details the open-sourcing of Panoptes, a system designed to consolidate polling solutions, normalize data, and provide flexibility for evolving telemetry standards. It currently handles hundreds of thousands of checks per second and has been tested to over one million checks per second.
OakMap, an open-source concurrent ordered key-value map, has been released. It extends upon earlier research and offers a Java API similar to ConcurrentNavigableMap but scales significantly better with RAM and CPU resources. OakMap stores keys and values in off-heap memory buffers, accessed via a two-level on-heap index. This design alleviates garbage collection overhead, improves data locality for faster lookups and range scans, and optimizes incremental maintenance of complex values like data sketches. Benchmarks show OakMap outperforming ConcurrentSkipListMap in memory utilization, query speed, and update speed. It is being integrated into Apache Druid's core Incremental Index component.
This post details the implementation of OAuth 2.0 Token Exchange for migrating mobile app identities and a custom device SSO mechanism using device keychain/account manager for cross-app authentication within Oath. It leverages existing standards like OAuth 2.0 and OpenID Connect, profiling them to solve specific mobile identity challenges.
Yahoo Mail has implemented novel revisions to its Redux architecture, introducing 'action syncers' to decouple API interactions from action creators and 'action enhancers' middleware to avoid prop drilling for action dispatching. These changes have led to significant stability and performance improvements, including reduced latencies, fewer JavaScript exceptions, better state synchronization, reduced API calls, and improved rendering times. The architecture now separates API concerns from action creators and optimizes side effect handling.
Yahoo Mail has significantly improved its web application's reliability and performance by adopting a new tech stack including React, Redux, and Node.js. This migration led to faster development cycles by reducing code reflection time from minutes to seconds, enhanced reliability by shifting JavaScript bundle generation from runtime to build time, and improved performance through substantial reductions in gzipped JavaScript payload size, server-side render time, and overall launch performance. This post details the introduction of proximity-based routing, server-side rendering for isomorphic applications, efficient bundling strategies, improved CSS reuse with react-atomic-css, and the use of Mendel for bucket testing isomorphic web apps. It also highlights the reduction in JavaScript and CSS footprint by approximately 50%, faster search and message read operations, and reduced memory consumption. The new version boasts a 99.99% success rate on core flows and significantly reduced client-side errors. Product agility is enhanced through independently deployable components and a robust CI/CD pipeline enabling daily pushes. Developer effectiveness is improved through the use of open-source technologies and a consistent onboarding program. Accessibility has been state-of-the-art with enhanced visual themes and optimization for assistive technologies. Key components like Mendel have been open-sourced.
Yahoo Mail has implemented a forward-thinking continuous integration and delivery pipeline to ensure regular, stable product updates. Key features include a robust testing infrastructure with over 10,000 unit and 5,000 integration tests, a phased rollout strategy (alpha, beta, canary, production), a mechanism to mitigate irrational test failures by rerunning only failing tests, developer notifications for code pushes, and dedicated pipelines for hotfixes and rollbacks. The system also utilizes 'heartbeat' pushes to prompt users to refresh their browsers for important updates.
The Bullet query system has been enhanced with windowing capabilities (time and record-based) to support more interactive and iterative queries. It now also supports Apache Pulsar as a native PubSub option, in addition to Kafka and REST. Furthermore, a new configuration-based data ingestion mechanism (Bullet DSL) has been introduced, allowing users to plug in data sources without writing code, abstracting connector and converter components. This post details the open-sourcing of Bullet, a forward-looking general purpose query engine for streaming data, built on top of Storm and designed for low-latency, arbitrary queries without a persistence layer. It can scale linearly and has been tested to handle over 700 simultaneous queries on data streams with up to 1.5 million records per second. Bullet is used at Yahoo for validating application instrumentation and in continuous delivery pipelines for functional testing.