Skip to content

lisgroup/redis-pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-pool

中文文档

Project description

Redis Pool is a Redis database connection pool developed based on PHP extended Swoole.

Project introduction

Cooperative Redis database connection pool based on Swoole4 implementation.

Instructions for Use

1. composer Installation
composer require lisgroup/redis-pool
2. Copy file startup script

Copy the sample code demo.php to the project directory and start the script.

php demo.php
3. test case

Browser access: http://localhost:9501/

Document description

  1. src/AbstractPool.php -- Connection pool encapsulates abstract classes
  2. src/RedisPool.php -- Cooperative Redis Connection Pool
  3. demo.php Example file

About

Redis Pool 使用 Swoole 开发的 Redis 数据库连接池。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages