Skip to content

Do grule engine is thread safe #193

Answered by newm4n
ManouchehrRasoulli asked this question in Q&A
Discussion options

You must be logged in to vote

@ManouchehrRasoulli

Yes, you can see how grule run engines in goroutine concurrently.
https://github.com/hyperjumptech/grule-rule-engine/blob/master/examples/Concurrency_test.go

As long as the context (and the data there in) are not shared, or thread safe.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ManouchehrRasoulli
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