phpredis
swoole-cli
Our great sponsors
phpredis | swoole-cli | |
---|---|---|
4 | 1 | |
9,898 | 168 | |
0.4% | 4.2% | |
8.5 | 8.5 | |
12 days ago | 7 days ago | |
C | C | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phpredis
-
Monitoring symfony messenger listening to the worker events
In the next section we're going to configure redis bundle to use phpredis library. Install it before continuing
-
how to handle millions of data read/writes everyday?
And then, read up on the PHPRedis Extension to see how easy it is to use -> https://github.com/phpredis/phpredis
-
How much cache to clear during deployment
I typically use Redis for all stores (queues, sessions and cache) and I don't have problems like that. It should be comparable to memcached in terms of speed, if that's something that might concern your app. You can find the installation instructions here. After installing redis itself and the PHP extension, you can just switch from 'memcached' to 'redis' in config/sessions.php[driver].
-
Asynchronous Apps
I've done this using PHP/Redis and EventSource, it's a viable option if you don't want to depend on an outside service. The php-redis extension has built in pub/sub capabilities so it's like 30 lines of code to get something up and running quickly.
swoole-cli
-
Using Bref's LambaRuntime to Asynchronously Run Swoole Coroutines as Functions on AWS
Swoole will be shipping something really-really cool that is it's own CLI. You can checkout the development at https://github.com/swoole/swoole-cli and you can start playing with it using the pre-compiled binary distributed under Swoole's releases at https://github.com/swoole/swoole-src/releases/tag/v4.8.7.
What are some alternatives?
Predis - A flexible and feature-complete Redis client for PHP.
ext-ds - An extension providing efficient data structures for PHP 7
redis - Native port of Redis for Windows. Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs. This repository contains unofficial port of Redis to Windows.
bref - Serverless PHP on AWS Lambda
RedisTimeSeries - Time Series data structure for Redis
Weechat - The extensible chat client.
php-psr - PHP extension providing the accepted PSR interfaces
Swoole - 🚀 Coroutine-based concurrency library for PHP
pusher-js - Pusher Javascript library
php-ext-xlswriter - 🚀 PHP Extension for creating and reader XLSX files.
Iodine - iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support
phpredis - A PHP extension for Redis [Moved to: https://github.com/phpredis/phpredis]