-
Notifications
You must be signed in to change notification settings - Fork 67
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
Server side caching #193
Server side caching #193
Conversation
41986a3
to
7a37628
Compare
Codecov Report
@@ Coverage Diff @@
## master #193 +/- ##
==========================================
+ Coverage 73.07% 73.19% +0.11%
==========================================
Files 57 61 +4
Lines 3332 3652 +320
==========================================
+ Hits 2435 2673 +238
- Misses 835 904 +69
- Partials 62 75 +13
Continue to review full report at Codecov.
|
Signed-off-by: Vangelis Katikaridis <[email protected]>
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.
The changes are a lot and we probably need more than one session the review this.
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.
Since we have examples in this project it would be nice to see how the end-user will actually use the cache introduced.
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Stanislav Afanasev <[email protected]>
Signed-off-by: Giuseppe Mazzotta <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
Signed-off-by: Vangelis Katikaridis <[email protected]>
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 really great work mate, I'm on my second pass-through to really understand how it's all pieced together but 🚀
Since it already has one approval, and I don't think I'll have much to add, do you mind rebasing with master?
Signed-off-by: Vangelis Katikaridis <[email protected]>
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.
There are linting errors, can you fix them?
Signed-off-by: Vangelis Katikaridis <[email protected]>
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!
* beatlabs#128 cache wip implementation Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 adjust to patron new version Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 refine requirements Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 first iteration of server cache functionality Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 server route cache implementation Signed-off-by: Vangelis Katikaridis <[email protected]> * Add validation for brokers in kafka.NewBuilder (beatlabs#191) Signed-off-by: Stanislav Afanasev <[email protected]> * Add ActiveBrokers() method to Kafka AsyncProducer (beatlabs#192) Signed-off-by: Giuseppe Mazzotta <[email protected]> * beatlabs#128 revert sixth example main Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 update readme Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix linting Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix more linting Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix tests Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix tests Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 add vendor file Signed-off-by: Vangelis Katikaridis <[email protected]> * Add Route struct getters (beatlabs#195) Signed-off-by: Alex Demin <[email protected]> * Introduce dockertest to integration tests (beatlabs#182) Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 wrap up implementation Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix tests Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 add readme details on cache metrics Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 readme adjustments Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 finalise implementation Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 increase test timeout Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 decouple tests Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix tests Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#193 fix tests Signed-off-by: Vangelis Katikaridis <[email protected]> * Update tracing and metrics dependencies (beatlabs#190) Signed-off-by: Paschalis Tsilias <[email protected]> * beatlabs#128 implement review comments Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 implement review comments Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix linting Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 update vendors Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 implement review comments Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 implement review comments Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 implement review comments Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 implement review comments Signed-off-by: Vangelis Katikaridis <[email protected]> * Upgraded github actions v2 (beatlabs#198) Signed-off-by: Sotirios Mantziaris <[email protected]> * beatlabs#128 make abstraction simpler and easier to use Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 add comment Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix linting Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 trigger the build Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 unexport response read writer Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 check for min < max Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 update vendor Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 remove timeinstant and make use of ttl cache only for route caching Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 update readme after latest changes Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix redis cache interaction and create cached route example Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 remove the processor specific logic for the cache Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 use the patron header alias instead of a raw map Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix linting Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 expose cache functionality as a middleware Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix linting Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 refactor cache logic to separate package Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 remove timeinstant abstraction Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 avoid defining the prometheus registerer Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix linting and exported objects Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 make middleware cache abstraction more concrete Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 make the naming conventions and structure more go like Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix imports Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 move timing request example to user service Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 fix typo Signed-off-by: Vangelis Katikaridis <[email protected]> * beatlabs#128 add package doc Signed-off-by: Vangelis Katikaridis <[email protected]> Co-authored-by: Stanislav Afanasev <[email protected]> Co-authored-by: Giuseppe <[email protected]> Co-authored-by: Alexander Demin <[email protected]> Co-authored-by: Paschalis Tsilias <[email protected]> Co-authored-by: Sotirios Mantziaris <[email protected]>
Description
Create server side http cache, closes #128.
Changes