Tagged articles

data persistence

33 articles · Page 1 of 1
liandk
liandk
May 8, 2026 · Mobile Development

Avoid Common uni.storage Pitfalls: Are You Making These Mistakes?

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.

cachingdata persistenceerror handling
0 likes · 4 min read
Avoid Common uni.storage Pitfalls: Are You Making These Mistakes?
Tech Ocean
Tech Ocean
Apr 19, 2026 · Cloud Native

Docker Day 7: Persist Data with Volumes So It Survives Container Deletion

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
Docker Day 7: Persist Data with Volumes So It Survives Container Deletion
Java Companion
Java Companion
Apr 16, 2026 · Databases

Is Running MySQL in Docker Really a Bad Idea?

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.

DockerMySQLcontainerization
0 likes · 12 min read
Is Running MySQL in Docker Really a Bad Idea?
Golang Shines
Golang Shines
Mar 30, 2026 · Operations

Docker + MySQL: Why They Clash and How to Avoid Hair‑Pulling Pitfalls

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.

BackupDockerMySQL
0 likes · 11 min read
Docker + MySQL: Why They Clash and How to Avoid Hair‑Pulling Pitfalls
Su San Talks Tech
Su San Talks Tech
Sep 14, 2025 · Databases

Should You Run MySQL in Docker? Risks, Performance & Best Practices

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.

DatabaseDockerMySQL
0 likes · 12 min read
Should You Run MySQL in Docker? Risks, Performance & Best Practices
Test Development Learning Exchange
Test Development Learning Exchange
Mar 21, 2025 · Fundamentals

Understanding Python's pickle Module: Serialization and Deserialization

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.

DeserializationPickledata persistence
0 likes · 4 min read
Understanding Python's pickle Module: Serialization and Deserialization
Java Tech Enthusiast
Java Tech Enthusiast
Sep 10, 2024 · Backend Development

Thread Pool Data Persistence in Java Systems

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.

Thread Poolbackend developmentdata persistence
0 likes · 7 min read
Thread Pool Data Persistence in Java Systems
Su San Talks Tech
Su San Talks Tech
Aug 30, 2024 · Backend Development

Prevent Data Loss in Java Thread Pools When Services Crash

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.

OOM preventionThread Poolbackend development
0 likes · 8 min read
Prevent Data Loss in Java Thread Pools When Services Crash
21CTO
21CTO
Aug 8, 2024 · Databases

Why SQL Will Outlast NoSQL: Lessons from 20 Years of Database Evolution

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
Why SQL Will Outlast NoSQL: Lessons from 20 Years of Database Evolution
Sohu Tech Products
Sohu Tech Products
Feb 22, 2023 · Mobile Development

Flutter Project Setup Guide: Networking, Persistence, Routing, Screen Adaptation, Splash Screen, State Management, and Widget Lifecycle

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
Flutter Project Setup Guide: Networking, Persistence, Routing, Screen Adaptation, Splash Screen, State Management, and Widget Lifecycle
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 28, 2022 · Mobile Development

Implementing External Links and Local Data Persistence in SwiftUI using FileManager and CoreData

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
Implementing External Links and Local Data Persistence in SwiftUI using FileManager and CoreData
DaTaobao Tech
DaTaobao Tech
Jun 7, 2022 · Databases

Inside Redis AOF Rewrite: How Forked Processes Manage Data Persistence

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 RewriteDatabasesFork Process
0 likes · 12 min read
Inside Redis AOF Rewrite: How Forked Processes Manage Data Persistence
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Apr 6, 2022 · Big Data

What’s New in openLooKeng 1.6.0? Key Performance Boosts and Features

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
What’s New in openLooKeng 1.6.0? Key Performance Boosts and Features
Programmer DD
Programmer DD
Nov 4, 2021 · Backend Development

How Elasticsearch Achieves Near Real-Time Search: Core Mechanisms Explained

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
How Elasticsearch Achieves Near Real-Time Search: Core Mechanisms Explained
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 20, 2021 · Fundamentals

Master Python’s Pickle: Serialize Objects Easily with Real Code Examples

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
Master Python’s Pickle: Serialize Objects Easily with Real Code Examples
ITPUB
ITPUB
Apr 12, 2021 · Databases

Hidden Redis Pitfalls That Can Crash Your System – How to Spot and Avoid Them

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.

backendcachingdata persistence
0 likes · 31 min read
Hidden Redis Pitfalls That Can Crash Your System – How to Spot and Avoid Them
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 1, 2021 · Backend Development

How Does RocketMQ Ensure End-to-End Message Reliability?

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
How Does RocketMQ Ensure End-to-End Message Reliability?
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 29, 2020 · Databases

Understanding Redis Expiration Strategies, RDB, and AOF Implementation

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.

AOFDatabaseRDB
0 likes · 11 min read
Understanding Redis Expiration Strategies, RDB, and AOF Implementation
58 Tech
58 Tech
Aug 28, 2020 · Backend Development

Design and Implementation of a Cloud‑Based Shared Proxy Tool for Team Collaboration

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.

Team Collaborationbackend developmentcloud proxy
0 likes · 19 min read
Design and Implementation of a Cloud‑Based Shared Proxy Tool for Team Collaboration
Efficient Ops
Efficient Ops
Sep 4, 2019 · Operations

Master Docker Data Persistence: Volumes, Bind Mounts, and Tmpfs Explained

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
Master Docker Data Persistence: Volumes, Bind Mounts, and Tmpfs Explained
dbaplus Community
dbaplus Community
Oct 29, 2015 · Databases

Why PostgreSQL Keeps Working After the Main Process Crashes

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
Why PostgreSQL Keeps Working After the Main Process Crashes