
Product
Socket Brings Supply Chain Security to skills.sh
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.
A leveldb-backed consistent hash ring, for your caching needs. I can see the day when you might want to put data in this & feel reasonably sort of confident you might get it back out again. If this scares you, it's supposed to.
Rod Vagg's levelup leveldb bindings for node + sublevel to create buckets.
Dominic Tarr's crtd, which uses his scuttlebutt implementation to keep a document in sync.
light-cycle, a lightweight consistent hash ring structure that can be mixed into most anything.
restify to provide a simple RESTful api to data in the buckets.
Run a server:
node index.js --id=node-one -m -p 3333 -g 4114 -d ./db | ./node_modules/.bin/bunyan -o short
Run a client or five:
node index.js --id=node-two -p 3334 -g 4114 -s 10.0.0.5 -d ./db2 | ./node_modules/.bin/bunyan -o short
node index.js --id=node-three -p 3335 -g 4114 -s 10.0.0.5 -d ./db3 | ./node_modules/.bin/bunyan -o short
node index.js --id=node-four -p 3336 -g 4114 -s 10.0.0.5 -d ./db4 | ./node_modules/.bin/bunyan -o short
Replace 10.0.0.5 with the IP address of your server.
Then stuff some data in:
http -f PUT 10.0.0.5:3334/vodkas/1 name="Sobieski" rating=5
http -f PUT 10.0.0.5:3335/vodkas/2 name="Tito's Handmade" rating=5
http -f PUT 10.0.0.5:3335/vodkas/3 name="Bimber" rating=4
Get it back out: http GET 10.0.0.5:3336/vodkas/2
(Human-friendly shell commands courtesy of httpie).
API endpoints exposed:
GET /:bucket: stream sorted keys for a bucket (not yet working)POST /:bucket: add an item to the cache; id is generated for you & returnedPUT /:bucket/:id: add/update an item in the cache; 204 responseGET /:bucket/:id: get an item from the cacheHEAD /:bucket/:id: headers for an itemDEL /:bucket/:id: remove an itemSend this header to specify a time-to-live for your cached data: X-Scurry-TTL: [seconds]
Scurry sends an ETag header and a last-modified timestamp.
The goal of release 0.0.3 is testability & a lot of tests.
Release 0.0.4 will probably make streaming keys work, maybe.
The RESTful server is an improving mess.
Implement key streaming from multiple nodes. See notes in endpoints.handleGetBucket().
Reconnect on errors.
Error handling.
Better logging. Configurable, for one thing.
Light-cycle is rickety; bullet-proof it.
Stretch goal: replication?
Back ends should be pluggable; the API is very small.
FAQs
A leveldb-backed consistent hash ring, for your toy caching needs.
The npm package scurry receives a total of 4 weekly downloads. As such, scurry popularity was classified as not popular.
We found that scurry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.