luckyframework / luckyframework/lucky_cache

Add pulsar for events

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Crystal
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

If we add in [Pulsar](https://github.com/luckyframework/pulsar), we could listen for special events to CRUD the cache at any time. I'm thinking like maybe a SaveOperation updates a record, and if we had #1 implemented, we could fire an event callback to clear the cache.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the referenced issue #1 and the Pulsar project to understand the proposed event integration. Then trace how SaveOperation would update records and where cache invalidation could be triggered. Done would mean a decided event design that can clear or update cached records during CRUD operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.