Index Excecution Server #18
net-cscience-raphael
started this conversation in
Show and tell
Replies: 1 comment
-
I think this is a much better direction. However, the number of simultaneous extractions you can support is a function of your computing resources and not one of the number of independent schemas. In the limit, if you were to have a large number of schemas, adding to each of them simultaneously would again cause the same issues. I'd, therefore, singleton (if that's a verb) it even further and just have one. That mechanism is then free to schedule jobs however it likes, maybe even multiple at the same time if resources allow for it (and one actually wants to go through the trouble of building a proper scheduling mechanism for this). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Commit 3bd8db9 changes the
ExecutionServer
as a Singleton for each instance of aschema
.On instantiate a execution thread gets started and a new extraction can be added with
val uuid = schema.getExecutionServer().enqueueIndexJob(pipeline)
. Further one can get the status of a job withval status = schema.getExecutionServer().isPending(id)
Beta Was this translation helpful? Give feedback.
All reactions