Skip to content

Fix streaming throughput - #2

Open
Balatripura587 wants to merge 1 commit into
lightspeed-core:mainfrom
Balatripura587:throughpit
Open

Fix streaming throughput #2
Balatripura587 wants to merge 1 commit into
lightspeed-core:mainfrom
Balatripura587:throughpit

Conversation

@Balatripura587

Copy link
Copy Markdown
Collaborator

Description:

  • For streaming endpoint, Locust fires 3 events per request: one real HTTP POST and two synthetic SSE events (TTFT and full stream duration).

  • Using environment.stats.total aggregated , the throughput and requests are inflated by ~3x in the indexed result document.

Fix

Using only POST event for computing stats

Testing

Tested locally:

Before:
image

After:
image

Signed-off-by: Bala Tripura Kumari Bodapati <bbodapat@redhat.com>
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.

1 participant