Tagged articles
3 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 9, 2023 · Databases

Using MySQL Offline Mode to Disconnect Client Connections

This article explains how MySQL's offline_mode variable and the pt‑kill tool can be used by DBAs to place a server in maintenance mode, instantly dropping non‑privileged client connections, preventing new ones, and providing a safe way to perform maintenance or backups.

Database MaintenanceOFFLINE_MODEPT-kill
0 likes · 8 min read
Using MySQL Offline Mode to Disconnect Client Connections
Youzan Coder
Youzan Coder
Aug 2, 2019 · Mobile Development

Implementation of Offline Mode Switching in an iOS Retail Client

The article explains how the Youzan iOS retail client implements a robust offline‑mode switching system that detects network or service faults—via Reachability, RealReachability, and a QoS‑based error pipeline—allows manual or automatic activation, manages state with a finite‑state machine, and prepares for future data‑sync handling.

Mobile DevelopmentOFFLINE_MODEclient architecture
0 likes · 11 min read
Implementation of Offline Mode Switching in an iOS Retail Client