
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@remembered/s3-alternative-persistence
Advanced tools
S3 alternative persistence implementation for remembered redis
S3 alternative persistence implementation for remembered redis
npm i @remembered/s3-alternative-persistence
When creating a RememberedRedis instance, just inform the alternative persistence, as below
const remembered = new RememberedRedis(
{
ttl: 0,
redisTtl: 3600,
redisPrefix: 's3-cache',
alternativePersistence: new S3Cache({
s3, // s3 instance
redis, // redis instance. optional
bucketName: 'my-bucket',
maxSavingDelay: 3,
transientTtl: 300
),
},
redisInstance,
);
maxSavingDelay is meant to indicate to RememberedRedis how much it need to wait until the cache is save. The longer it waits, more values are inserted in the same S3 file, saving some requests, but bigger is the file and the memory consumption to deal with it, so measure that one carefully for your need. transientTll defines the maximum ttl to keep the same file content on redis. This is useful if you have some spare memory on your redis instance and wants to use it to make less GET requests on S3, saving some money with it. Also measure that for your need, and if you want to avoid using it at all, don't inform a redis instance, don't inform this property or inform it as 0.
You can also listen for error events: saveError and fetchingError. This will be emitted when either the communication with redis or S3 fails
Licensed under MIT.
FAQs
S3 alternative persistence implementation for remembered redis
We found that @remembered/s3-alternative-persistence demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.