Skip to content

Conversation

@cheb0
Copy link
Member

@cheb0 cheb0 commented Oct 27, 2025

Description

Simple concurrency test for an active fraction.

Write path: we create bulks of messages, shuffle them and send them concurrently (8 threads). Each goroutine occasionally issues queries but does not check QPR results.

Read path: we issue queries concurrently (8 threads). A query is picked in a random fashion, as well as timestamp. Fetched docs are matched exact the original docs.

It takes ~2 seconds with race detector enabled to execute the test.

Fixes #218


  • I have read and followed all requirements in CONTRIBUTING.md;
  • I used LLM/AI assistance to make this pull request;

If you have used LLM/AI assistance please provide model name and full prompt:

Model: {{model-name}}
Prompt: {{prompt}}

@eguguchkin eguguchkin added this to the v0.62.5 milestone Oct 31, 2025
@eguguchkin eguguchkin force-pushed the 180-reusable-indexer branch from 53a4581 to 17c35fe Compare October 31, 2025 17:57
Base automatically changed from 180-reusable-indexer to main November 5, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add concurrency tests for active fraction

3 participants