er_memcached_data_server

1.1.7 • Public • Published

er_memcached_data_server

Build Status Codacy Badge codecov Maintenance Known Vulnerabilities GitHub top language npm bundle size npm npm GitHub issues GitHub last commit

Plugin for event_request that implements a memcached data server

Notes:

  • Memcached DOES NOT support negative numbers when decrementing and OR incrementing
  • Memcached MAX TTL is 2592000 or 30 days, that will be enforced if a bigger number is given
  • Memcached returns numbers as numbers and not strings if given as numbers

Use:

// Get the data server only
const MemcachedDataServer = require( 'er_memcached_data_server' );
const DataServerPlugin = require( 'event_request/server/plugins/available_plugins/data_server_plugin' );
const app = require( 'event_request' )();

// Attach the cache server
app.apply( new DataServerPlugin( 'er_data_server', { dataServer: new MemcachedDataServer() } ) );

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.70latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.70
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.01
1.0.10
1.0.00

Package Sidebar

Install

npm i er_memcached_data_server

Weekly Downloads

1

Version

1.1.7

License

GPL-3.0

Unpacked Size

84.8 kB

Total Files

11

Last publish

Collaborators

  • stefantigro