abpframework / abpframework/abp

Infrastructure to simplify client-side entity caching pattern

Open
#12,351 0 comments 2 reactions 1 assignee View on GitHub

@hikalkan is already working on this.

Since Apr 25, 2022.

abp-framework effort-md feature
Dominant language
C#
Stars
14.4k
Forks
3.7k
Avg merge
15h 32m
Merged PRs (30d)
106

Description

Consider the following scenario:

Order module (or microservice) queries a customer from the customer module (or microservice) and caches the result in the distributed cache. Then the customer module invalidates (simply removes) the cache item when the original customer changes.

The following figure shows it in a monolith modular application:

image

We typically write such a code in the order module:

image

This can be automated if we somehow enable client-side caching to dynamic/static client proxies and also application services with a simple attributed.

This is another typical code to invalidate the cached item:

image

We may also automate this with a simple configuration.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.