-
Hi, I want to replace the atomspace-rpc code I wrote a while ago where I used it for executing pattern matching queries on a remote atomspace using gRPC? I was wondering if something similar has been implemented in the atomspace and if it has |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Remote Atomspace pattern matching works, I think. I think there are unit tests, I think they pass. If there are bugs, I'll fix them. gRPC is not needed. There are even plug-ins for automatically distributing; but the plug-ins is more like proof-of-concept, they just show how, but are not all that powerful. All this is formally documented on the wiki and in assorted READMEs. I will attempt to sketch this out here.
The next level of detail is this: suppose you have a local atomspace, and you are connected to a remote atomspace (using the StorageNode) and you now want to have that remote AtomSpace connected to N other servers, somewhere else. This can be done by opening N StorageNodes to each server. But how to distribute queries? Ah! Well, I do have an answer for that: there are several plug-ins, that distribute queries and replies. Next post will review this.
|
Beta Was this translation helpful? Give feedback.
Remote Atomspace pattern matching works, I think. I think there are unit tests, I think they pass. If there are bugs, I'll fix them. gRPC is not needed. There are even plug-ins for automatically distributing; but the plug-ins is more like proof-of-concept, they just show how, but are not all that powerful.
All this is formally documented on the wiki and in assorted READMEs. I will attempt to sketch this out here.
fetch-query
callback. In scheme, you'd say(fetch-query (BindLink, etc.))
and it will run the query on the remote storage node (remote server) and return results to the local server.