-
Notifications
You must be signed in to change notification settings - Fork 91
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
ref(actix): Update Store Actor #1397
Conversation
@@ -30,7 +30,9 @@ | |||
- Spawn more threads for CPU intensive work. ([#1378](https://github.com/getsentry/relay/pull/1378)) | |||
- Add missing fields to DeviceContext ([#1383](https://github.com/getsentry/relay/pull/1383)) | |||
- Improve performance of Redis accesses by not running `PING` everytime a connection is reused. ([#1394](https://github.com/getsentry/relay/pull/1394)) | |||
- Change to the internals of the store actor. ([#1397](https://github.com/getsentry/relay/pull/1397)) | |||
- Distinguish between various discard reasons for profiles. ([#1395](https://github.com/getsentry/relay/pull/1395)) | |||
- Add missing fields to GPUContext ([#1391](https://github.com/getsentry/relay/pull/1391)) |
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.
this accidentally moved to the wrong section?
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 mean, the line below 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 think it should be in the Internal section? (At least that is where the entry for the change of the Healthcheck actor is as well)
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.
Awesome!
- This PR updates the Store service to use the generic Addr introduced in #1405, to avoid duplicate code, it moves the shared code out to its own module in relay-system called service. - Some minor changes have been made to address the comments of Jan on #1397. ### Future Steps - With the generic Addr in place the time has come to make a new registry for the services, that replaces the hardcoded current solution.
General
As part of the effort to future-proof Relay, this PR updates the
Store
actor to work with standard Futuresinstead of the former
futures
crate. It also moves away fromactix
internally.The bulk of the changes are in the store.rs file with minor changes
to the envelope.rs file for compatibility with the remaining system
Design Choices
ref(actix): Update Healthcheck Actor [INGEST-1481] #1349
Future Steps