[
https://issues.apache.org/jira/browse/SOLR-9684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joel Bernstein updated SOLR-9684:
---------------------------------
Description:
SOLR-9559 adds a general purpose *parallel task executor* for streaming
expressions. The executor() function executes a stream of tasks and doesn't
have any concept of task priority.
The scheduler() function wraps two streams, a high priority stream and a low
priority stream. The scheduler function emits tuples from the higher priority
stream first, and then the lower priority stream.
The executor() function can then wrap the scheduler function to see tasks in
priority order.
Pseudo syntax:
{code}
daemon(executor(scheduler(topic(tasks, q="priority:high"), topic(tasks,
"priority:low"))))
{code}
was:
SOLR-9559 adds a general purpose *parallel task executor* for streaming
expressions. The executor() function executes a stream of tasks and doesn't
have any concept of task priority.
The scheduler() function wraps a list of streams and *prioritizes* the
iteration of the streams. This allows there to be different task queues with
different priorities.
The executor() function can then wrap the scheduler function to see tasks in
priority order.
Pseudo syntax:
{code}
daemon(executor(scheduler(topic(), topic(), topic())))
{code}
> Add scheduler Streaming Expression
> ----------------------------------
>
> Key: SOLR-9684
> URL: https://issues.apache.org/jira/browse/SOLR-9684
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Attachments: SOLR-9684.patch
>
>
> SOLR-9559 adds a general purpose *parallel task executor* for streaming
> expressions. The executor() function executes a stream of tasks and doesn't
> have any concept of task priority.
> The scheduler() function wraps two streams, a high priority stream and a low
> priority stream. The scheduler function emits tuples from the higher priority
> stream first, and then the lower priority stream.
> The executor() function can then wrap the scheduler function to see tasks in
> priority order.
> Pseudo syntax:
> {code}
> daemon(executor(scheduler(topic(tasks, q="priority:high"), topic(tasks,
> "priority:low"))))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]