Skip to content

Conversation

delvedor
Copy link
Member

@delvedor delvedor commented Nov 30, 2020

This pr adds two new events, serialization and deserialization.
The event order is described in the following graph, in some edge cases, the order is not guaranteed.
You can find in test/acceptance/events-order.test.js how the order changes based on the situation.

serialization
  │
  │ (serialization and compression happens between those two events)
  │
  └─▶ request
        │
        │ (actual time spent over the wire)
        │
        └─▶ deserialization
              │
              │ (deserialization and decompression happens between those two events)
              │
              └─▶ response

cc @trentm

@EamonnTP
Copy link

@elasticmachine, run elasticsearch-ci/docs

@delvedor delvedor marked this pull request as ready for review December 9, 2020 10:43
@delvedor delvedor merged commit 3303590 into master Dec 9, 2020
@delvedor delvedor deleted the new-events branch December 9, 2020 10:43
github-actions bot pushed a commit that referenced this pull request Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants