Cache-Machine - Server Side Cache Extension (for Node JS)

Forgive my cheesy naming regime for these extensions (pardon the pun hahaha). We use this for one or two of our larger applications to serve cached data fast without the need for Redis. You may find it helpful if you are in a similar situation and want to save server overheads, so here it is:

NOW AVAILABLE IN THE NATIVE EXTENSION INSTALLER WITHIN WAPPLER!

Github repo:

Feedback is incredibly welcome! If you find it useful you can Buy Me a Coffee

:smiling_face_with_three_hearts:

Sorry @ben had a meeting today where this came up and thought 'yeah that will be the next one' so deep breath (grab a Cognac too).

:tumbler_glass:

Also @Apple made a Feature Request sometime back regarding a very similar feature. Hope this fills the gap for you my friend?

1 Like

I’ve been studying your Cache Machine extension with great interest, :cheese_wedge:Cheese. In fact, I’m considering building a similar system for my own aging memory. At 83, my brain’s LRU eviction policy is a little too aggressive, and half my thoughts seem to expire before they’ve even been accessed.

What I really need is a personal, server‑side cache layer:

  • Scope: per neuron
  • TTL: preferably longer than the time it takes me to read your documentation
  • Invalidation strategy: none, ever — I can’t afford it

If I could plug your extension directly into my hippocampus, I might finally retain where I left my glasses, what day it is, and why I opened the fridge. Until then, I’ll just admire your work and pretend my brain isn’t throwing 503s under light load :melting_face:.

2 Likes

Jeez, that cracked me up sooo much :slight_smile:

2 Likes

HAHAHAHAHA!! That initial sentence I started to compose a reply in my mind then I got to the second sentence, then the bullet points. Brilliant @ben

:rofl:

Imagine the day we could do such things. I mean we wouldn't exactly all be Neo from the Matrix, just imagine it. My wife says I buffer and act more like a computer than a human. For fifteen years now I just answer her with a one or a zero.

Are you hungry?

One.

Do you fancy liver?

ZERO ZERO ZERO

...... Syntax error.

:disguised_face:

3 Likes