Tag

tRPC

1 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Apr 2, 2024 · Backend Development

tRPC Scaffolding Tooling and Observability Best Practices for Tencent Docs Backend

By introducing the unified tRPC scaffolding tool trpcx and embedding OpenTelemetry‑generated observability configurations, the Tencent Docs backend team streamlined service creation, standardized directory structures, migrated metrics and logs to ClickHouse for cost‑effective performance, and established best‑practice workflows that dramatically improve development speed and fault‑diagnosis efficiency.

ClickHouseMicroservicesObservability
0 likes · 18 min read
tRPC Scaffolding Tooling and Observability Best Practices for Tencent Docs Backend
Tencent Cloud Developer
Tencent Cloud Developer
Mar 6, 2024 · Backend Development

Developing a Business Gateway: Protocol Conversion, Performance, and Observability

The article details how a Node‑based business gateway for QQ Channel services replaced legacy RPC with a lightweight tRPC solution, achieving ten‑fold latency reduction, higher QPS, improved security and availability, and added observability through logging, metrics, and a WebSocket push layer.

Node.jsObservabilitygateway
0 likes · 23 min read
Developing a Business Gateway: Protocol Conversion, Performance, and Observability
DevOps
DevOps
Mar 4, 2024 · Frontend Development

Building QQ Front-end Unified Access Layer: Architecture, Technical Choices, and Performance Insights

This article shares a decade‑long journey of designing and scaling the QQ front‑end unified access layer, covering business background, overall architecture, solution comparisons, core challenges, observability, and performance optimizations while reflecting on practical lessons for large‑scale front‑end systems.

Observabilityarchitecturecase study
0 likes · 10 min read
Building QQ Front-end Unified Access Layer: Architecture, Technical Choices, and Performance Insights
Tencent Cloud Developer
Tencent Cloud Developer
Feb 20, 2024 · Frontend Development

From Frontend to Full‑Stack: Architecture, Challenges, and Practices of the QQ Frontend Unified Access Layer

The veteran front‑end engineer chronicles a decade of building QQ’s large‑scale products, detailing how the new Frontend Unified Access Layer replaced fragmented SDKs with a high‑performance, scalable, secure gateway built on an internal http2rpc framework, while tackling legacy protocol coexistence, observability, alert fatigue, and targeted performance optimizations.

Full-StackObservabilityarchitecture
0 likes · 10 min read
From Frontend to Full‑Stack: Architecture, Challenges, and Practices of the QQ Frontend Unified Access Layer
Architect
Architect
Dec 17, 2023 · Backend Development

Flexible Switching Between Monolith and Microservices in Tencent Docs: Architecture, Challenges, and Benefits

This article details how Tencent Docs implements a flexible architecture that can switch between monolithic and microservice deployments, describing the motivations, such as framework diversity, configuration conflicts, global variable management, hidden bugs, the custom 'monolith' tool with its configuration format, and the resulting performance and resource savings.

Microservicesarchitectureconfiguration
0 likes · 15 min read
Flexible Switching Between Monolith and Microservices in Tencent Docs: Architecture, Challenges, and Benefits
Tencent Cloud Developer
Tencent Cloud Developer
Dec 13, 2023 · Backend Development

Tencent Docs: Flexible Switching Between Monolithic and Microservice Architectures

Tencent Docs built a configurable “monolith” tool that merges selected tRPC‑Go microservices into a few monolithic modules for private‑cloud deployments, overcoming framework, configuration, global‑state, and bug‑resolution challenges, and achieving up to 75 % image‑size reduction and 96 % memory savings while preserving microservice advantages where needed.

Microservicesarchitecturecloud
0 likes · 15 min read
Tencent Docs: Flexible Switching Between Monolithic and Microservice Architectures
Tencent Cloud Developer
Tencent Cloud Developer
Nov 14, 2023 · Cloud Native

Monolithizing tRPC-Go Microservices: Architecture, Implementation, and Performance Gains

The article shows how to monolithize selected tRPC‑Go microservices by defining protobuf‑generated Go interfaces and swapping RPC proxies for in‑process implementations via a proxy API, cutting CPU usage by 61% while keeping microservice flexibility and offering best‑practice guidelines for Go service design.

Gocloud-nativemicroservices
0 likes · 13 min read
Monolithizing tRPC-Go Microservices: Architecture, Implementation, and Performance Gains
Tencent Cloud Developer
Tencent Cloud Developer
Oct 25, 2023 · Backend Development

tRPC Open‑Source RPC Framework: Architecture, Plugins, and Performance Overview

tRPC is an open‑source, plugin‑based RPC framework that separates core communication, service‑governance, and invocation layers, supports extensible codecs, naming, config, metrics, logging and tracing plugins, offers an Admin API, and demonstrates high throughput and low tail latency in cloud‑native deployments.

MicroservicesPerformance BenchmarkRPC
0 likes · 8 min read
tRPC Open‑Source RPC Framework: Architecture, Plugins, and Performance Overview
Tencent Cloud Developer
Tencent Cloud Developer
Dec 3, 2022 · Backend Development

Refactoring a Decade-Old Query Optimizer: Architecture, DIFF Fixes, Performance Gains, and Stability Improvements

Tencent engineers completely rewrote a ten‑year‑old query optimizer, shrinking the codebase by 80% and replacing its monolithic thread‑pool with a tRPC‑Fiber DAG scheduler, which cut latency by 28%, reduced startup time to five minutes, saved 40 GB memory, boosted throughput 12%, fixed numerous stability bugs, raised test coverage above 60%, and accelerated new‑feature lead time to under a day.

backend developmentc++diff testing
0 likes · 15 min read
Refactoring a Decade-Old Query Optimizer: Architecture, DIFF Fixes, Performance Gains, and Stability Improvements