Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General cache stats #291

Open
vladopaets opened this issue Jun 27, 2022 · 1 comment
Open

General cache stats #291

vladopaets opened this issue Jun 27, 2022 · 1 comment

Comments

@vladopaets
Copy link

Let imagine I have multiple cache instances. Is it possible to get cache stats for all available instances?

@charlesgardyn
Copy link

charlesgardyn commented Apr 18, 2023

The chapter 5 of Designing Data-Intensive Applications discuss a little about it. For that you need a couple of things:

  1. Authentication for obvious security reasons.
  2. Is there going to be a leader who gathers & merges all stats and return it back to the client/caller?
  3. If not, how are the instances finding each other? For that you need a service discovery, you could argue that they can be in the same machine. Still complicated, because Nodejs doesn't have a standard way of cross program communication, you could use a library like Messenger.js, but it seems overkill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants