-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Refactoring/aws/elasticache #245
Refactoring/aws/elasticache #245
Conversation
Codecov Report
@@ Coverage Diff @@
## refactoring/resource-configs #245 +/- ##
================================================================
+ Coverage 29.64% 30.02% +0.37%
================================================================
Files 104 111 +7
Lines 5431 5536 +105
================================================================
+ Hits 1610 1662 +52
- Misses 3821 3874 +53
Continue to review full report at Codecov.
|
How well did the new architecture handle these difficulties? Did you have to break any conventions?
Would it be worth documenting this case in the wiki, in case other services might be the same? |
It was a bit hard to make all the pieces fit in the new architecture, but I'd say it's because the previous architecture allowed to make some hacks. If I was to implement this service from scratch, it would have been easier. I did not have to break any conventions.
Good idea, I'll add a sentence or two regarding 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.
I have a feeling like you've ingested a lot of caffeine in the past weeks. Nice work, good job on the comments for the more obscure parts of the code too.
I most certainly did!
Thanks! |
b7063fa
to
1e91971
Compare
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.
Great job @Aboisier! 🥇 I can understand why you had such a hard time migrating this one! Highlight on your cache system which is very neat 💯
This PR migrates ElastiCache to the new architecture, see #183 . I had to work quite a bit to do this one. Here are a few of the difficulties I encountered:
asyncio.Lock
instead ofthreading.Lock
, and doasync with lock: #your critical code
instead of justwith lock: #your critical code
.