ByteDance Terminal Technology
Author

ByteDance Terminal Technology

Official account of ByteDance Terminal Technology, sharing technical insights and team updates.

71
Articles
0
Likes
207
Views
0
Comments
Recent Articles

Latest from ByteDance Terminal Technology

71 recent articles
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 22, 2022 · Fundamentals

Optimizing CPython for True Parallel Execution: Implementing a Multi-Interpreter Architecture

This article details a novel approach to overcoming CPython's Global Interpreter Lock by implementing a multi-interpreter architecture that isolates execution states, manages shared variables through thread-specific data, and introduces a subinterpreter pool to significantly enhance multi-core CPU utilization and algorithm execution performance.

CPythonGIL OptimizationMulti-Interpreter Architecture
0 likes · 15 min read
Optimizing CPython for True Parallel Execution: Implementing a Multi-Interpreter Architecture
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 17, 2022 · Mobile Development

DexInjector: Direct APK (dex) Instrumentation Tool and Technical Design

This article introduces DexInjector, a tool for directly instrumenting Android APK dex files to insert logging, performance monitoring, and third‑party hooks without recompiling, explains the underlying technical research, design choices, implementation details, handling of method limits, string jumbo, obfuscation, class conflicts, and provides code examples and workflow diagrams.

APKAndroidDEX
0 likes · 23 min read
DexInjector: Direct APK (dex) Instrumentation Tool and Technical Design
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 15, 2022 · Operations

Distributed Compilation and Build Caching for Large iOS Projects

This article explains how ByteDance's distributed compilation and build caching solution dramatically reduces compile times for large iOS projects by analyzing dependency bottlenecks, employing distributed builds, caching mechanisms, and various optimization techniques such as inverted indexes and cross-task caches.

Dependency AnalysisDevOpsiOS
0 likes · 16 min read
Distributed Compilation and Build Caching for Large iOS Projects
ByteDance Terminal Technology
ByteDance Terminal Technology
Jan 21, 2022 · Frontend Development

Building a Universal Bundler with esbuild: Architecture, Plugin System, and Browser Adaptation

This article explores the architecture and implementation of a universal bundler based on esbuild, detailing its plugin system, virtual module capabilities, and strategies for adapting bundling processes to browser environments while addressing CommonJS compatibility, file system abstraction, and performance optimization.

BundlerCommonJS compatibilityPlugin System
0 likes · 25 min read
Building a Universal Bundler with esbuild: Architecture, Plugin System, and Browser Adaptation
ByteDance Terminal Technology
ByteDance Terminal Technology
Jan 11, 2022 · Fundamentals

Online Java OOM Attribution Solution Based on Hprof Memory Snapshots

This article introduces a comprehensive solution for diagnosing and attributing Java Out‑Of‑Memory (OOM) issues in Android apps by capturing Hprof memory snapshots, automatically analyzing heap data, identifying leaks, large objects, and class‑wide memory consumption, and providing privacy‑preserving, automated reporting and remediation workflows.

AndroidHprofJava
0 likes · 24 min read
Online Java OOM Attribution Solution Based on Hprof Memory Snapshots
ByteDance Terminal Technology
ByteDance Terminal Technology
Jan 11, 2022 · Information Security

Graph-Based Detection of Malicious Webpages: Methods, Experiments, and Future Work

This article presents a comprehensive study on detecting malicious webpages using heterogeneous graph structures and Graph Convolutional Networks, detailing background challenges, technical approaches, model iterations, optimization techniques for large‑scale deployment, experimental results, and directions for future research.

DetectionGCNgraph neural networks
0 likes · 9 min read
Graph-Based Detection of Malicious Webpages: Methods, Experiments, and Future Work
ByteDance Terminal Technology
ByteDance Terminal Technology
Jan 7, 2022 · Information Security

Graph-Based Detection of Malicious Webpages: Methods, Experiments, and Future Directions

This article presents a comprehensive study on detecting malicious webpages by constructing heterogeneous graphs from URL redirection and textual features, applying Graph Convolutional Networks and Cluster‑Text‑GCN models, detailing optimization techniques for large‑scale deployment, and outlining future research directions.

GCNgraph neural networksheterogeneous graph
0 likes · 11 min read
Graph-Based Detection of Malicious Webpages: Methods, Experiments, and Future Directions
ByteDance Terminal Technology
ByteDance Terminal Technology
Jan 4, 2022 · Mobile Development

Implementation and Optimization of Flutter Lightweight Engine for View‑Level Integration

This article details the background, design, memory and startup performance, business deployment, and a series of optimizations—including EngineGroup usage, entry‑point parameters, multi‑engine data communication, image‑cache sharing, iOSSurface release, and FlutterView size adaptation—of Flutter's lightweight engine for view‑level integration in mobile applications.

DARTimage-cachelightweight-engine
0 likes · 19 min read
Implementation and Optimization of Flutter Lightweight Engine for View‑Level Integration
ByteDance Terminal Technology
ByteDance Terminal Technology
Dec 28, 2021 · Mobile Development

Analyzing Gradle’s Scheduling Mechanism to Optimize Android Component Publishing

This article investigates why large Android projects experience extremely slow AAR publishing, reveals that memory is not the main bottleneck, examines Gradle’s core scheduling, Worker API, lock contention, and measurement inaccuracies, and proposes disabling Worker API to achieve up to fifteen‑fold build speed improvements.

AndroidBuild PerformanceGradle
0 likes · 20 min read
Analyzing Gradle’s Scheduling Mechanism to Optimize Android Component Publishing