Access to multiple instances of SolrInterceptor Pozicija1 #252278
|
There are two use cases for blackboard access: - Fetching Solr documents as they come in. In this case, SolrAgentFramework can maintain direct links to each and, internally, aggregate the results for each agent. It could do that as a matter of course, and provide the equivalent of an iterator to walk through that collection.
- Sharing tuples among agents. This is the case where agents in a cluster associated with either a single SolrAgentFramework, or distributed among many such instances (even over the internet), need to share intermediate results along, say, a workflow of processes. This is a complex use case.
In the complex case, the easiest variant of that entails only agents talking to each other on a single instance of SolrAgentFramework. Ways to imagine satisfying that use case include: - choosing just one of the remove blackboards and using it for trading results
- adding a local blackboard to SolrAgentFramework. It may be that this option should be included in the design simply to generalize the framework's capabilities.
The next level of complexity exists when you want to include agents situated in remote locations, including over the internet. Overall, the issue started with that of accessing collections of SolrInterceptors, as one would anticipate when working with a SolrCloud. Once one starts to think about that issue, the other issue shows up. I'll split that out to another node. |