Tagged articles
data persistence
34 articles · Page 1 of 1

liandkMay 8, 2026 · Mobile Development
uni.storage, the data‑persistence solution for UniApp, can cause data loss, memory leaks, security risks, and performance problems if misused; this guide outlines four typical pitfalls—large objects, missing expiration, frequent reads/writes, and unhandled async errors—and provides concrete best‑practice fixes.
CachingMemory Leakdata persistence
0 likes · 4 min read

This guide explains why container file systems are transient, compares three Docker storage methods, and demonstrates how to use named volumes—both via the CLI and docker‑compose—to ensure data remains intact after removing containers, with a MySQL persistence example.
DockerDocker ComposeMySQL
0 likes · 5 min read

This article dissects the common claim that MySQL should not be run in Docker by explaining the underlying design mismatch, measuring I/O overhead, examining persistence and resource‑isolation pitfalls, reviewing replication challenges, and presenting real‑world cases from JD and Tongcheng to show when containerization is safe and when it isn’t.
ContainerizationDockerMySQL
0 likes · 12 min read

This practical guide covers Docker deployment from pre-flight checks (service status, image version, port conflicts) to running containers with restart policies, persisting data via volume mounts, verifying logs, and avoiding five common pitfalls like using 'latest' tags or skipping persistence.
DockerDocker commandscontainers
0 likes · 12 min read

This article analyzes common pitfalls when running MySQL inside Docker containers—such as data loss, resource exhaustion, insecure defaults, networking mishaps, and missing backups—and provides concrete, step‑by‑step remedies including volume persistence, resource limits, custom configs, security hardening, and automated backup strategies.
DockerMySQLResource Limits
0 likes · 11 min read

This article examines why running MySQL in Docker is generally discouraged, covering container‑state mismatches, I/O and network performance penalties, data persistence challenges, resource limits, security concerns, monitoring difficulties, and finally outlines scenarios where Docker may be acceptable and recommended production alternatives.
DockerMySQLcontainers
0 likes · 12 min read

Python's pickle module provides a simple way to serialize and deserialize complex objects such as lists, dictionaries, and class instances, allowing them to be saved to or loaded from files or byte streams, with examples of pickling, unpickling, using dumps/loads, protocol versions, and security considerations.
Pickledata persistencedeserialization
0 likes · 4 min read

The article explains how using a database‑backed persistence layer for Java thread‑pool tasks prevents data loss during service downtime by storing tasks before submission, tracking status and retries, and employing idempotent processing with configurable pool sizes and scheduled reprocessing of failed or pending jobs.
Javabackend developmentdata persistence
0 likes · 7 min read

This article explains Java thread pools, their advantages, internal mechanics, common pitfalls such as oversized queues, excessive threads, and data loss on crashes, and presents a persistence‑based solution using database‑stored tasks and scheduled retries to ensure no data is lost when services go down.
ConcurrencyJavaOOM prevention
0 likes · 8 min read


21CTOAug 8, 2024 · Databases
Despite the hype around NoSQL, this article argues that SQL and relational databases remain the superior choice for transactional data, tracing two decades of research, highlighting the limitations of NoSQL, and showing how modern databases now incorporate the best features of both worlds.
ACIDDatabase ArchitectureNoSQL
0 likes · 9 min read

This article walks through a Python solution that loads user data from a JSON file, adds new usernames, emails, and passwords while preventing duplicates, and saves the updated information back, demonstrating practical data persistence without recreating dictionaries each run.
JSONdata persistencedictionary
0 likes · 5 min read

This guide explains how to use Swift's UserDefaults for persisting preferences, share data across apps with App Groups, handle supported data types, monitor changes in real time, and consider alternatives like Keychain and iCloud for sensitive or cross‑device storage.
App GroupsBest PracticesSWIFT
0 likes · 8 min read

This article provides a comprehensive step‑by‑step guide for setting up a new Flutter project, covering network request handling with Dio and protobuf, data persistence using shared_preferences, mmkv and ObjectBox, routing with GoRouter, screen adaptation via flutter_screenutil, splash‑screen configuration, state‑management techniques with Provider and GetX, and detailed explanations of widget lifecycle and key usage.
Networkingdata persistencemobile-development
0 likes · 24 min read

This chapter demonstrates how to open external web links in the iOS browser using SwiftUI's Link view, and provides a comprehensive guide to local data persistence by employing FileManager with property list files and the CoreData framework for storing, loading, editing, and deleting model data within a SwiftUI app.
CoreDataFileManagerSwiftUI
0 likes · 15 min read

This article provides a detailed walkthrough of Redis's AOF rewrite mechanism, covering trigger conditions, parent‑child process forking, three communication pipes, key data structures, the child’s rewrite steps, the parent’s handling of concurrent writes, and the final hand‑over that swaps the new AOF file into production.
AOF RewriteFork Processdata persistence
0 likes · 12 min read

openLooKeng 1.6.0 introduces major enhancements such as faster data persistence with Kryo serialization, HDFS spill support, improved connector capabilities, low‑latency features like Star Tree indexing and cube updates, and a refined task recovery mechanism that reduces failure detection time, delivering a more reliable and high‑performance big‑data engine.
Connectordata persistenceopenLooKeng
0 likes · 5 min read

This article explains Python’s built‑in pickle module, detailing its four core functions, usage syntax, parameter meanings, and practical code examples for object serialization to binary data, file storage, and deserialization, while also discussing its limitations and alternatives like ZODB.
PickleSerializationdata persistence
0 likes · 8 min read

This article introduces Python's built-in pickle module, explains its four core functions (dumps, loads, dump, load), details their parameters and usage, and provides code examples for serializing and deserializing objects to memory and files, while noting performance limitations and alternatives such as ZODB.
PickleSerializationdata persistence
0 likes · 8 min read

This article explains how Elasticsearch implements near real-time search by using immutable inverted indexes, segment merging, shard distribution, and a translog for durability, detailing the challenges of persistence, disk I/O, and data recovery in a distributed environment.
ElasticsearchNear Real-Time Searchdata persistence
0 likes · 9 min read

This article introduces Python’s pickle module, explains its purpose for object persistence, details key functions like dump, dumps, load, and loads with code snippets and example outputs, and demonstrates practical usage scenarios and common pitfalls, helping readers efficiently serialize and deserialize data in Python.
File I/OPickleSerialization
0 likes · 6 min read

This guide shows how to import the HarmonyOS storage module, use its get and set methods, and integrate them into a todo‑list app’s lifecycle so that tasks are saved across sessions, with full code examples and screenshots of the result.
HarmonyOSJavaScriptStorage API
0 likes · 5 min read

This article explains how Docker volumes work, how to mount host directories into containers using the -v and --mount options, and demonstrates data persistence by creating a volume, inspecting its storage location, and verifying that files created inside the container appear on the host.
DevOpsLinuxcontainer
0 likes · 6 min read

This article walks through Redis's architectural journey, covering single‑node basics, data persistence strategies (RDB and AOF), master‑slave replication, automatic failover with Sentinel, consensus algorithms, and both client‑side and server‑side sharding to achieve high performance and high availability.
Shardingdata persistenceredis
0 likes · 19 min read


ITPUBApr 12, 2021 · Databases
This article reveals the most common Redis pitfalls—including unexpected key expiration, command‑induced blocking, data‑persistence hazards, and replication inconsistencies—explains why they happen, and provides concrete steps, code snippets and configuration tips to prevent performance degradation or data loss.
BackendCachingReplication
0 likes · 31 min read

This guide explains Docker's three data persistence methods, various network modes, and resource limitation options, providing step‑by‑step commands and visual illustrations to help you configure volumes, bind mounts, tmpfs, custom networks, and CPU/memory constraints effectively.
Network Modesdata persistence
0 likes · 7 min read

This article examines RocketMQ's end‑to‑end reliability mechanisms, covering producer‑side sending strategies, broker storage guarantees, and consumer‑side consumption semantics to show how the system minimizes message loss in distributed environments.
Consumer RetryMessage QueueMessage Reliability
0 likes · 11 min read

This guide explains Docker's three data persistence methods (volumes, bind mounts, tmpfs), demonstrates practical examples, details the various network modes (bridge, host, none, container, custom), and shows how to apply resource limits such as memory and CPU constraints to containers.
DockerNetwork ModesResource Limits
0 likes · 6 min read

This article explains Redis's cache expiration policies—including timed, periodic, and lazy eviction—details the internal structure and parsing of RDB files, and describes the AOF persistence mechanism with its write‑ahead logging, synchronization options, and rewrite process, providing a comprehensive view of Redis data durability.
AOFCacheRDB
0 likes · 11 min read


58 TechAug 28, 2020 · Backend Development
This article presents a cloud‑based shared proxy solution that addresses common pain points of local proxy tools by enabling multi‑user configuration sharing, isolation, mock & host management, data persistence, analysis, and monitoring, thereby improving development and testing efficiency for teams.
Network Monitoringbackend developmentcloud proxy
0 likes · 19 min read

This guide walks through Docker's three data‑persistence methods—Volumes, bind mounts, and tmpfs mounts—showing how to create, mount, verify, and clean up each option while highlighting their impact on container lifecycle and data durability.
bind mountdata persistencetmpfs
0 likes · 7 min read

This article explains why storing data in a container layer is problematic and details Docker's three persistent storage options—volumes, bind mounts, and tmpfs—along with their usage commands, scenarios, and advanced features such as bind propagation, SELinux labels, and volume drivers.
Volume Driversbind mountcontainer storage
0 likes · 13 min read

The article explains the various storage methods for container cloud platforms, highlights why storage is critical for data safety and business continuity, and outlines key factors such as persistent data needs, performance, scalability, and product selection for cloud‑native environments.
DevOpsbig-datacloud-native
0 likes · 13 min read

This article explains the Linux kernel writeback path, detailing how data travels from user space through page cache, kernel buffers, and the disk controller, and shows how to tune dirty page thresholds and writeback threads for optimal performance.
VM Parametersdata persistencewriteback
0 likes · 11 min read

This article explains how PostgreSQL’s process architecture allows existing connections to continue operating and persist data even when the postmaster (main) process crashes, demonstrates the behavior with step‑by‑step experiments, and discusses the limitations and monitoring implications.
PostgreSQLbackend processdata persistence
0 likes · 5 min read
