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

Optimize rate limit hash calculation #7198

Merged
merged 10 commits into from
Sep 23, 2022
Merged

Optimize rate limit hash calculation #7198

merged 10 commits into from
Sep 23, 2022

Conversation

yuval-k
Copy link
Member

@yuval-k yuval-k commented Sep 20, 2022

No description provided.

@github-actions github-actions bot added the keep pr updated signals bulldozer to keep pr up to date with base branch label Sep 20, 2022
@kdorosh kdorosh removed the keep pr updated signals bulldozer to keep pr up to date with base branch label Sep 20, 2022
@solo-changelog-bot
Copy link

Issues linked to changelog:
#7169

@yuval-k yuval-k changed the title gencode with unrelease solokit - ci won't pass till sk is released Optimize rate limit hash calculation Sep 21, 2022
@yuval-k yuval-k marked this pull request as ready for review September 21, 2022 14:38
@github-actions
Copy link

github-actions bot commented Sep 21, 2022

Visit the preview URL for this PR (updated for commit 7ad218d):

https://gloo-edge--pr7198-hash-ratelimits-10mhp7dn.web.app

(expires Fri, 30 Sep 2022 19:14:44 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@yuval-k
Copy link
Member Author

yuval-k commented Sep 21, 2022

note: the test fail is due to data race that is fixed in a different PR

yuval-k added a commit that referenced this pull request Sep 21, 2022
Copy link
Contributor

@sam-heilbron sam-heilbron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kdorosh kdorosh added the keep pr updated signals bulldozer to keep pr up to date with base branch label Sep 23, 2022
@soloio-bulldozer soloio-bulldozer bot merged commit e2d40ea into master Sep 23, 2022
@soloio-bulldozer soloio-bulldozer bot deleted the hash-ratelimits branch September 23, 2022 19:33
kdorosh pushed a commit that referenced this pull request Sep 23, 2022
* gencode with unrelease solokit

* update solokit

* codegen

* changelog

* empty

* Adding changelog file to new location

* Deleting changelog file from old location

Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: changelog-bot <changelog-bot>
Co-authored-by: Kevin Dorosh <kevin.dorosh@solo.io>
soloio-bulldozer bot added a commit that referenced this pull request Sep 23, 2022
* Resolve various data races in translation and validation (#7207)

* Add lock for translation

* Share translator to reuse caches

* Add lock for sanitizers

* Add note for devs

* No need to be too safe before we need it

* No need for RWMutex

* Add changelog

* Avoid global scheme in broken skv2 function

* Need to use global scheme, but register it before race can happen

* Import the right scheme

* Fix data race in with serving xds

* Fix data race with status reporter

* Adding changelog file to new location

* Deleting changelog file from old location

* Lock on validator sync

* Remove extra lock

* Add more locks

* Need write lock

* Copy write namespaces to avoid race

* Update changelog

* Revert "Fix data race with status reporter"

This reverts commit 256767e.

* Revert "Fix data race in with serving xds"

This reverts commit 7df16e1.

Co-authored-by: changelog-bot <changelog-bot>

* Fix merge

* Optimize rate limit hash calculation (#7198)

* gencode with unrelease solokit

* update solokit

* codegen

* changelog

* empty

* Adding changelog file to new location

* Deleting changelog file from old location

Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: changelog-bot <changelog-bot>
Co-authored-by: Kevin Dorosh <kevin.dorosh@solo.io>

* Use new hashstructure (#7227)

* update protoc-gen-ext

* code gen

* remove remaining usages

* make update-licenses

* changelog

* update solo-apis 9746539fc625fed45d1d146c4e0c1359e70f8036 - gloo-edge-safe-hasher

* go mod tidy

* fix merge solo kit v0.30.4

* Go mod tidy

Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Kevin Dorosh <kevin.dorosh@solo.io>

* Codegen

* Consolidate changelogs

* Prefer fix changelog type

Co-authored-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep pr updated signals bulldozer to keep pr up to date with base branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants