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

perf: Avoid event serialization roundtrip #441

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

patriknw
Copy link
Member

@patriknw patriknw commented Aug 23, 2023

@patriknw patriknw force-pushed the wip-SerializedEvent-patriknw branch from 433fb09 to 3c85cbd Compare August 23, 2023 13:54
Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

Looks good

@patriknw patriknw force-pushed the wip-SerializedEvent-patriknw branch 2 times, most recently from cdd1fbe to ec33272 Compare August 28, 2023 11:43
* journal handles write of SerializedEvent without additional serialization
* SerializedEvent may be published (it can be serialized) and must be
  deserialized on receiving side
@patriknw patriknw force-pushed the wip-SerializedEvent-patriknw branch from ec33272 to 167afc2 Compare August 28, 2023 11:46
@patriknw
Copy link
Member Author

I have reduced this to only handle writes of SerializedEvent

@@ -10,7 +10,7 @@ object Dependencies {
val Scala3 = "3.2.2"
val Scala2Versions = Seq(Scala213, Scala212)
val ScalaVersions = Dependencies.Scala2Versions :+ Dependencies.Scala3
val AkkaVersion = System.getProperty("override.akka.version", "2.8.3")
val AkkaVersion = System.getProperty("override.akka.version", "2.9.0-M1")
Copy link
Member Author

Choose a reason for hiding this comment

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

@johanandren I have updated to Akka 2.9.0-M1. Can you take a final look?

Copy link
Member

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

LGTM!

@johanandren johanandren merged commit cb1610a into main Sep 5, 2023
6 checks passed
@johanandren johanandren deleted the wip-SerializedEvent-patriknw branch September 5, 2023 12:38
@patriknw patriknw added this to the 1.2.0-M5 milestone Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants