Skip to content

grule didn't match correctly some of the rules in high demand service !! #221

Discussion options

You must be logged in to vote

The results from the engine should be consistent regardless of your level of concurrency.

Are you able to provide us with a minimal example which demonstrates the issue? There is not much inside of the engine which could be affected by race conditions caused by high concurrency, however, if you are using externally defined variables in your own structs or external functions there could be a race condition in those.

If you aren't able to provide a minimal example, you could try building your service with the -race option to enable the race detector and run it with the 1200 req/sec data flow. This should highlight many cases of possible data races in the code.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ManouchehrRasoulli
Comment options

@niallnsec
Comment options

@ManouchehrRasoulli
Comment options

@niallnsec
Comment options

@ManouchehrRasoulli
Comment options

Answer selected by niallnsec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants