parsec 🌌
Redis
parsec 🌌 | Redis | |
---|---|---|
4 | 14 | |
135 | 13,888 | |
0.7% | 0.9% | |
3.9 | 5.3 | |
almost 1 year ago | 17 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
parsec 🌌
-
Using Redis Pub/Sub with Node.js
The tinnyhttp framework doesn't come with a body parser already integrated so I'll install milliparsec, in addition to being lighter than the famous body-parser, it's asynchronous and faster.
-
Caching in Node.js using Memcached
In addition, we will still install milliparsec, which is a super lightweight body parser, and the Memcached client we will be using will be memjs.
-
milliparsec: tiniest body parser for modern Node.js
Looking at https://github.com/talentlessguy/milliparsec/blob/master/src/index.ts#L38-L45, should this read...
Redis
- Is `ioredis` still actively maintained?
-
Crafting A Minimalist Portfolio Website with SvelteKit and Pico CSS
To make data retrieval efficient and minimize the need to request data from the API on every page load, I implemented a caching strategy using the ioredis package, which is a popular redis client for Node.js for interacting with a Redis database.
-
10 Powerful Node.js Libraries Every Developer Should Know About
5. ioredis
-
Unable to properly connect to Redis in Kubernetes
These are the objects I pass to ioredis to create my Redis instances (one for sessions and one as the main one):
-
Help implementing Heroku Data For Redis (+bull & throng) / `ioredis`
In order to try and mitigate the OOMs. I read the Background Jobs in Node.JS with Redis blog post and implemented Heroku Data For Redis with ioredis, BullMQ and Throng,
-
Message Queue in Redis, Part 2
Redis.Redis and Redis.Cluster at the end of the rule actually refer to the ioredis constructors, so to set them up, we must use the ioredis constructors.
-
MOVED error with Redis cluster
ioredis is a popular Node.js client, providing a robust support for Redis Cluster.
-
How to use Redis Cluster for caching
To connect to Redis from your application, you will need a library that can perform that for you (Otherwise you have to reinvent the wheel). While I've been using IORedis for a nodeJS application in this demo, if you have been using a different language, you will have to look for different connectors like Lettuce for Java or perhaps go-redis for Go.
-
Using Redis Pub/Sub with Node.js
The Redis client I'm going to use today is ioredis, because its API is intuitive, very robust and with good performance.
-
Redis configuration in nestjs
Just create your own wrapper service around one of the existing nodejs redis clients, I used the following client https://github.com/luin/ioredis
What are some alternatives?
PEG.js - PEG.js: Parser generator for JavaScript
Redis - 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, Bitmaps.
Chevrotain - Parser Building Toolkit for JavaScript
node-redis - A high-performance Node.js Redis client. [Moved to: https://github.com/redis/node-redis]
URI.js - Javascript URL mutation library
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
http-proxy-middleware - :zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
bull - Premium Queue package for handling distributed jobs and messages in NodeJS.
js-yaml - JavaScript YAML parser and dumper. Very fast.
MongoDB - The official MongoDB Node.js driver
csv-parser - Streaming csv parser inspired by binary-csv that aims to be faster than everyone else
uuid - Generate RFC-compliant UUIDs in JavaScript