H2O MOJO thread safe?

328 views Asked by At

I am using Mojo model for scoring my queries. I am using this statement to use mojo model

EasyPredictModelWrapper model = new EasyPredictModelWrapper(MojoModel.load("gbm.zip"));

The question is can i use this model object from different threads? Is it thread safe?

1

There are 1 answers

0
TomKraljevic On

Yes, the GBM MOJO with the Easy Wrapper (i.e. what is shown in the question) is thread-safe.

Here is an example showing a GBM MOJO model being initialized in a static block as part of a java servlet deployment: