Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

catbox-riak

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

catbox-riak

Riak adapter for catbox

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

catbox-riak

Riak adapter for catbox

Options

  • host - the Riak server hostname. Defaults to 127.0.0.1.
  • port - the Riak PBC port. Defaults to 8087.
  • partition - the partition will choose what riak bucket your cache will be stored in.
  • ttl_interval - the interval at which the the riak GC function will run in milliseconds( < 2147483647 or about 596 hours), OR false to bypass running the GC function.

Notes

Since Riak doesn't have ttl built in, a garbage collection function will run periodically to remove expired keys. This function makes a getIndex call, so your riak backend cannot be set to riak_kv_bitcask_backend, this call streams the keys that need to be deleted and deletes them as they are received. In order to prevent siblings we recomend you set last_write_wins on the bucket to true. The ttl_interval field is required to be your interval in milliseconds (making your effective ttl for items in your cache a multiple of your ttl_interval) OR set to false which will cause this instance of your cache to never run the GC function, if this is the only server using that cache then no keys will ever expire.

Keywords

FAQs

Package last updated on 02 Jul 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc