Tagged articles
comment system
26 articles · Page 1 of 1
This article walks through the design and implementation of a nested comment system with likes, @‑mentions, and sensitive‑word filtering, plus full‑text search using Elasticsearch, covering database schema changes, backend services, Vue components, and recommendation logic for a technical blog platform.
ElasticsearchJavaSpring
0 likes · 23 min read

This article explains multiple database schema designs for hierarchical comment threads, compares their query performance, and shows how Redis can be used to sort hot comments and handle high‑concurrency likes, providing practical solutions for large‑scale comment systems.
Database DesignRedis cachingcomment system
0 likes · 8 min read

This article details the evolution of a news‑app comment backend, covering early thread‑based displays, the transition to sharded databases and mixed adjacency‑path models, current hot‑comment ranking strategies, an in‑house experiment platform, topic aggregation via Kafka, and future AI‑driven architectural enhancements.
AIBackendRanking
0 likes · 16 min read

This article examines how to design a high‑performance comment system by comparing nested and flat (cover‑floor) database models, evaluating adjacency list, path enumeration, and closure table approaches, and outlining write‑asynchronous, cache‑first read strategies for millions of users.
BackendCachingDatabase Design
0 likes · 5 min read

This article explains how to design a highly available comment system that can handle millions of concurrent users by analyzing comment fundamentals, traffic patterns, storage choices, caching layers, sharding strategies, architectural evolution from monolith to distributed micro‑services, and fault‑tolerance mechanisms.
comment systemmicroservicesscalable architecture
0 likes · 18 min read

Bilibili’s comment service, a critical component for user interaction, faces massive read‑write traffic that can overwhelm TiDB, so the team built a multi‑level storage architecture using Redis sorted‑sets for indexes and a custom Taishan KV store, adding automatic degradation, consistency mechanisms, and hedging policies to ensure high availability and performance.
Data ConsistencyFailovercomment system
0 likes · 12 min read

This article presents a comprehensive design of Bilibili's comment service architecture, detailing the transition from TiDB to a multi‑level storage system based on Taishan KV, the data models, consistency mechanisms, retry and versioning strategies, and a hedging‑based degradation policy to ensure high availability under heavy traffic.
Taishan KVTiDBcomment system
0 likes · 13 min read

This article examines Baidu's design experiments that embed AI characters into the app's comment area, detailing user research, evolution of comment communities, validation of AI assistants and film‑related roles, persona creation, and future plans that together boost engagement and earn international design awards.
AIAIGCBaidu
0 likes · 9 min read

The paper proposes a multi‑level storage architecture for Bilibili’s comment service that replaces TiDB with a custom KV store (Taishan) and Redis caching, introduces unstructured indexes, CAS‑based consistency, real‑time and offline reconciliation, and a hedged degradation strategy to boost reliability, read throughput, and scalability during traffic spikes.
Data ConsistencyNoSQLRedis
0 likes · 13 min read

This article explains how to design a robust comment module with multi‑level threading, efficient database schemas, asynchronous write pipelines, and performance tricks such as hot‑comment caching and read/write separation to handle high traffic loads.
Database Designbackend architecturecomment system
0 likes · 6 min read

This article explains how to build a two-level comment system for an Android app by designing a comment database schema, creating DAO and repository layers, and using nested RecyclerViews with adapters to display primary comments and their replies, including code snippets and layout illustrations.
AndroidKotlinRecyclerView
0 likes · 6 min read


LouZaiDec 7, 2023 · Backend Development
This article walks through the full design of a large‑scale comment system, covering functional requirements, database schema, distributed architecture, high‑concurrency handling, caching, security measures like Bloom filters, and optional NLP‑based sentiment analysis to moderate live‑stream comments.
Bloom FilterMessage QueueNLP
0 likes · 16 min read

This article details the architectural redesign of QQ Music's comment platform—migrating to MongoDB, introducing threaded comments, and employing caching and message‑queue decoupling—to handle massive read/write spikes during celebrity live‑drop events while maintaining high availability and performance.
CachingHigh AvailabilityMessage Queue
0 likes · 8 min read

QQ Music’s comment system was re‑engineered with a MongoDB backend, cache layer, asynchronous writes, split read/write services, priority queues and rate‑limiting, enabling it to endure celebrity‑driven traffic spikes, maintain data consistency, and deliver high‑availability, low‑latency user experiences.
CachingHigh AvailabilityMessage Queue
0 likes · 7 min read

This article presents a comprehensive overview of Bilibili's comment system, detailing its background, core functional modules, layered architecture, storage and caching strategies, availability considerations, and hot‑comment design, illustrating how the platform achieves scalability, performance, and reliability for massive user interactions.
Bilibiliarchitecturecomment system
0 likes · 24 min read

The article details Bilibili’s modular, platform‑ized comment system architecture—covering core publishing, reading, and admin modules; a layered reply‑interface, service, and job design with multi‑level caching, sharded databases, hotspot detection, redundancy, security measures, and sophisticated hot‑comment ranking to sustain massive user traffic.
comment systemhot comment rankingscalability
0 likes · 26 min read

This article details the architecture, design principles, performance enhancements, and reliability strategies of Baidu's comment middle‑platform, which supports billions of daily requests across dozens of products while ensuring high availability, low latency, and continuous iterative development.
High Availabilitybackend architecturecomment system
0 likes · 17 min read

Baidu's Comment Middle Platform evolved from a single service into a robust middleware that delivers stable, high‑performance comment functionality across more than twenty products, handling hundreds of millions of daily requests with 99.995% SLA through graph‑based scheduling, tiered caching, and scalable sorting mechanisms.
BaiduGraph Schedulingcomment system
0 likes · 17 min read

This article explains how to add a Gitalk-based comment feature to a Docsify‑generated documentation site, covering Gitalk fundamentals, GitHub OAuth app setup, integration steps, custom JavaScript tweaks for URL handling, common pitfalls, and a detailed appendix of configuration parameters.
DocsifyGitHub OAuthGitalk
0 likes · 12 min read

This article explains how Vivo designed a company‑wide comment middle‑platform, chose MySQL and MongoDB, deep‑dived into MongoDB cluster architecture, shard key strategies, and practical solutions for scaling, migration, and high availability in a high‑traffic environment.
Database DesignMongoDBSharding
0 likes · 11 min read


ITPUBMar 1, 2021 · Databases
This article details Vivo's journey in building a company‑wide comment platform, explaining why MongoDB was chosen over MySQL, how its sharded cluster is structured, the challenges of shard‑key selection, and the practical steps taken to scale and maintain the system.
Cluster ArchitectureDatabase DesignMongoDB
0 likes · 10 min read

This article introduces the Laravel‑like‑comment package, outlines its features, and provides step‑by‑step instructions—including Composer installation, service provider registration, asset publishing, database migration, CSS/JS inclusion, user model configuration, and Blade directives for adding likes and comments—to integrate a full‑featured AJAX comment system into a Laravel application.
AJAXBackendBlade
0 likes · 5 min read

This article explains how to model a comment system as a tree structure, defines node attributes and enums in C, and discusses handling deletions, replies, and conversation lists while keeping the data model extensible for future features.
backend designc-programmingcomment system
0 likes · 6 min read


Aotu LabAug 3, 2017 · Frontend Development
This guide explains what Gitalk is, outlines its key features, shows how to install it via CDN or npm, details required GitHub application settings, provides configuration options with code examples, and describes usage, rendering, contribution steps, and related projects.
GitHub issuesGitalkJavaScript
0 likes · 6 min read


21CTOJul 27, 2017 · Backend Development
This article chronicles the evolution of Sina's news comment platform from its early Perl‑based prototype through versions 3.0, 4.0, and 5.0, detailing architectural choices, caching strategies, database sharding, asynchronous processing, and the eventual migration to cloud‑native Python services to handle massive traffic spikes.
Operationscomment systemscalability
0 likes · 19 min read

This article explains how JD.com designs a multi‑layer data storage architecture—using MySQL for core metadata, HBase and MongoDB for comment text, Solr/Elasticsearch for indexing, and Redis for caching—to handle billions of daily review requests with high performance and availability.
ElasticsearchHBaseJD.com
0 likes · 14 min read
