Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Awesome Cheatsheets | 32,908 | 8 days ago | 85 | mit | JavaScript | |||||
👩💻👨💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file. | ||||||||||
Node Redis | 16,008 | 46,442 | 7,724 | 5 days ago | 131 | September 06, 2022 | 192 | mit | TypeScript | |
A high-performance Node.js Redis client. | ||||||||||
Nodebb | 13,275 | 3 | 2 | 7 hours ago | 6 | December 12, 2016 | 184 | gpl-3.0 | JavaScript | |
Node.js based forum software built for the modern web | ||||||||||
Ioredis | 11,808 | 4,929 | 3,140 | 3 days ago | 220 | August 23, 2022 | 212 | mit | TypeScript | |
🚀 A robust, performance-focused, and full-featured Redis client for Node.js. | ||||||||||
Crawlab | 9,670 | 9 days ago | 15 | August 11, 2020 | 217 | bsd-3-clause | Go | |||
Distributed web crawler admin platform for spiders management regardless of languages and frameworks. 分布式爬虫管理平台,支持任何语言和框架 | ||||||||||
Coolify | 7,326 | a day ago | 236 | apache-2.0 | Svelte | |||||
An open-source & self-hostable Heroku / Netlify alternative. | ||||||||||
Dev Setup | 5,802 | 7 months ago | 34 | other | Python | |||||
macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults. | ||||||||||
Backendlore | 4,542 | 2 years ago | ||||||||
How I write backends | ||||||||||
Awesome Programming Books | 3,649 | 8 months ago | 4 | |||||||
📚 经典技术书籍推荐,持续更新... | ||||||||||
Bullmq | 3,547 | 97 | 14 hours ago | 298 | September 23, 2022 | 235 | mit | TypeScript | ||
BullMQ - Premium Message Queue for NodeJS based on Redis |
Redis Cluster client work in progress. It wraps Redis-rb, and eventually should be part of it.
For now the goal is to write a simple (but not too simple) client that works as a reference implementation, and can be used in order to further develop and test Redis Cluster, that is a work in progress itself.
In order to create a new Redis Cluster instance use:
startup_nodes = [
{:host => "127.0.0.1", :port => 6379},
{:host => "127.0.0.1", :port => 6380}
]
max_cached_connections = 2
rc = RedisCluster.new(startup_nodes,max_cached_connections)
The startup nodes are a list of addresses of Cluster Nodes, for the client to work it is important that at least one address works. Startup nodes are used in order to:
CLUSTER NODES
command.The list of nodes provided by the user will be extended once the client will be able to retrieve the cluster configuration.
The second parameter in the object initialization is the maximum number of connections that the client is allowed to cache. Ideally this should be at least equal to the number of nodes you have, in order to avoid closing and reopening TCP sockets. However if you have very large cluster and want to optimize for clients resource saving, it is possible to use a smaller value.
Sending commands is very similar to redis-rb:
rc.get("foo")
Currently only a subset of commands are implemented (and in general multi-keys commands are not supported by Redis Cluster), because for every supported command we need a function able to identify the key among the arguments.
Redis Cluster is released as stable. This client is a work in progress that might not be suitable to be used in production environments.