HangfireIO / HangfireIO/Hangfire

How can different modules running on same server access same in-memory provider?

Open
#715 0 comments 0 reactions 0 assignees View on GitHub
t: question
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

On the same server, we have APIs website, API server and multiple background jobs.

How can they all use same Cache?

Calling the following in each case seems to be creating its own Cache instance although they all have same exact configuration in their respective app.config

`var CacheManager = CacheFactory.FromConfiguration($"MyAppCacheManager");`

Contributor guide

Open the contributing guide

Research direction

Start with CacheFactory.FromConfiguration("MyAppCacheManager") and compare how each API, website, and background job loads its app.config. Determine whether the in-memory provider can be shared across these separate modules, and document or validate a supported approach that lets them use the same cache.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.