Stream: implementers
Topic: Is FHIRPathEngine threadsafe?
Vadim Peretokin (Dec 22 2017 at 13:41):
Is the FHIRPathEngine thread-save? @Richard Ettema Looking to make use of it in the server context
Richard Ettema (Dec 22 2017 at 18:17):
@Vadim Peretokin The Java FHIRPathEngine class is not explicitly coded to be thread-safe; however, I am using it within my server and it's behaving very well in that regard.
Grahame Grieve (Dec 22 2017 at 19:59):
the engine itself is completely thread safe - if, that is, you create one per thread. But it depends on the context worker which must also be thread safe, and all the caching etc is on the context (that's why the engine is a create & use per thread - creating it is very light weight)
Last updated: Apr 12 2022 at 19:14 UTC