Tag

redis-py

1 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Apr 29, 2025 · Databases

Introduction to NoSQL Databases with Python: MongoDB and Redis Operations

This tutorial introduces NoSQL concepts and provides step‑by‑step Python code examples for installing, connecting, inserting, querying, updating, and deleting data in both MongoDB and Redis, highlighting their suitable use cases and key differences.

DatabaseMongoDBNoSQL
0 likes · 6 min read
Introduction to NoSQL Databases with Python: MongoDB and Redis Operations
Python Programming Learning Circle
Python Programming Learning Circle
Dec 28, 2020 · Backend Development

Dynamic Redis Database Switching in Flask with a Custom Wrapper

This article explains why the Flask‑Redis extension cannot switch Redis databases, describes the underlying limitation of redis‑py, and provides a Python class library that enables dynamic database selection, data push/pull, and clean connection handling for Flask applications.

Database SwitchingFlaskPython
0 likes · 7 min read
Dynamic Redis Database Switching in Flask with a Custom Wrapper
NetEase Game Operations Platform
NetEase Game Operations Platform
Jan 19, 2019 · Databases

Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients

This article explains the RESP protocol used by Redis, details its five data types, demonstrates pipeline handling with raw sockets, examines the parsing and command‑packing logic of the redis‑py client, analyzes the pipeline implementation and limitations of redis‑py‑cluster, and speculates on upcoming RESP3 features.

DatabasePipelineProtocol
0 likes · 20 min read
Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients