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
cmd/telemeter-server,pkg/cache: cache auth resps #273
cmd/telemeter-server,pkg/cache: cache auth resps #273
Conversation
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
9951c5c
to
a5af65a
Compare
/retest |
This commit is a follow up to openshift/telemeter#273. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
/retest |
/lgtm Impressed how fast you threw this out there. Nice! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add some end to end tests eventually
and totally agree about the e2e tests. Started getting into the weeds of it last night. We need:
|
/retest Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/test benchmark |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions otherwise LGTM (:
Tests would be nice, but let's have cached auth now straight away.
This commit adds new functionality to Telemeter server to enable it to cache the responses to authentication requests made while handling remote-write requests. The only currently implemented backend is Memcached, because it is so simple, but any shared k-v would serve our purposes. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
This commit adds Jsonnet code to generate Kubernetes manifests for the Memcached instances used by Telemeter server for caching auth responses. Generation of these manifests can be toggled off by setting the replica count to `0`. Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
a118460
to
7d9ae00
Compare
/retest |
4 similar comments
/retest |
/retest |
/retest |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brancz, bwplotka, metalmatze, squat The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This commit adds new functionality to Telemeter server to enable it to
cache the responses to authentication requests made while handling
remote-write requests. The only currently implemented backend is
Memcached, because it is so simple, but any shared k-v would serve our
purposes.
cc @bwplotka @aditya-konarde @brancz @kakkoyun