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

Improve performance by adding Redis cache for message auth #382

Closed
drasko opened this issue Sep 3, 2018 · 0 comments · Fixed by #383
Closed

Improve performance by adding Redis cache for message auth #382

drasko opened this issue Sep 3, 2018 · 0 comments · Fixed by #383
Assignees
Milestone

Comments

@drasko
Copy link
Contributor

drasko commented Sep 3, 2018

In Mainflux every publish/subscribe on the channel must be authenticated. For this to happen, adapter service sends gRPC request to things service, which does a lookup in the PostgreSQL DB.

Reading from unclustered Postgres is slow, so it is needed to add a Redis cache in the middle to improve the performance (throughput).

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

Successfully merging a pull request may close this issue.

2 participants