Tagged articles
13 articles
Page 1 of 1
ITPUB
ITPUB
Apr 1, 2024 · Backend Development

How WeChat Achieved Real‑Time, Lossless Messaging: Inside Its Early Architecture

An in‑depth look at WeChat’s early messaging system reveals how its backend architecture—comprising ConnectSvr, SendSvr, PushSvr, and a sequence‑based loss‑prevention mechanism—ensured near‑real‑time delivery and prevented message loss, even under weak network conditions.

Backend ArchitectureMessagingReal-time Delivery
0 likes · 10 min read
How WeChat Achieved Real‑Time, Lossless Messaging: Inside Its Early Architecture
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 11, 2023 · Databases

Implementing Auto‑Increment Primary Keys When Migrating MySQL to OB Oracle

This article demonstrates two practical approaches for handling MySQL auto‑increment columns during migration to OB Oracle—creating custom sequences with DBCAT and using the GENERATED BY DEFAULT AS IDENTITY attribute—provides step‑by‑step commands, scripts, and validation results to help DBA engineers achieve seamless primary‑key migration.

Auto-IncrementDataXOracle
0 likes · 16 min read
Implementing Auto‑Increment Primary Keys When Migrating MySQL to OB Oracle
Qunar Tech Salon
Qunar Tech Salon
Sep 6, 2021 · Databases

Comparison of Sequence Usage Across Oracle, PostgreSQL, and MySQL

This article examines how Oracle, PostgreSQL, and MySQL implement and use database sequences for primary keys, covering explicit calls, trigger‑based, DEFAULT, and AUTO_INCREMENT methods, version support, and the effects of INSERT, UPDATE, DELETE, and TRUNCATE operations, concluding with a comparative summary.

OracleSequencemysql
0 likes · 30 min read
Comparison of Sequence Usage Across Oracle, PostgreSQL, and MySQL
Alibaba Cloud Native
Alibaba Cloud Native
Aug 23, 2019 · Cloud Native

Mastering Knative Sequence: Build Event‑Driven Pipelines with 4 Real‑World Scenarios

This guide explains how Knative Eventing's Sequence CRD enables multi‑step event pipelines, walks through its spec definition, and demonstrates four practical usage patterns—direct service calls, event‑driven processing, cascading sequences, and Broker/Trigger integration—complete with YAML examples and visual diagrams.

KnativeKubernetesPipeline
0 likes · 14 min read
Mastering Knative Sequence: Build Event‑Driven Pipelines with 4 Real‑World Scenarios
Sohu Tech Products
Sohu Tech Products
Jul 17, 2019 · Fundamentals

Understanding Swift Sequence and Collection Protocols: From Basics to Advanced Types

This article explains Swift's protocol‑oriented collection system, covering the Sequence and IteratorProtocol basics, demonstrating custom infinite sequences, exploring type‑erasing wrappers like AnySequence and AnyIterator, and detailing the Collection hierarchy including Collection, BidirectionalCollection, RandomAccessCollection, MutableCollection and RangeReplaceableCollection.

AnySequenceBidirectionalCollectionCollection
0 likes · 12 min read
Understanding Swift Sequence and Collection Protocols: From Basics to Advanced Types
Liulishuo Tech Team
Liulishuo Tech Team
Apr 25, 2018 · Fundamentals

Mastering Swift 4.1: Recursive Associated Types and Type Erasers Explained

Swift 4.1 finally supports recursive constraints on associated types, allowing protocols like Sequence to define SubSequence in terms of itself; this article explains the new syntax, demonstrates a minimal DummySequence implementation, and shows how type‑erasing wrappers such as AnySequence and a custom AnyList enable heterogeneous collections.

Associated TypesGenericsSequence
0 likes · 8 min read
Mastering Swift 4.1: Recursive Associated Types and Type Erasers Explained
WeChat Backend Team
WeChat Backend Team
Jun 14, 2016 · Backend Development

How WeChat Generates Trillions of Sequence Numbers with Sub‑Millisecond Latency

This article explains how WeChat’s seqsvr service generates trillions of per‑user sequence numbers with sub‑millisecond latency, detailing its core architecture, pre‑allocation and section‑sharing strategies, engineering implementation with StoreSvr and AllocSvr, and the evolution of its disaster‑recovery designs from primary‑backup to embedded routing tables.

ScalabilitySequenceWeChat
0 likes · 20 min read
How WeChat Generates Trillions of Sequence Numbers with Sub‑Millisecond Latency