Can I have a shared object between executors on the same worker?
For example, I have some data in files. This data should be compiled before I can use it. After compilation it is not-serializable Java object. But unfortunately compilation takes a lot of time. I want to compile it once on each worker and use this object in all tasks on the worker.
Could you give me some advice how I can achieve this?
Thanks.