Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream back answers to work at scale #46

Open
jmsfltchr opened this issue Feb 28, 2020 · 2 comments
Open

Stream back answers to work at scale #46

jmsfltchr opened this issue Feb 28, 2020 · 2 comments

Comments

@jmsfltchr
Copy link
Contributor

jmsfltchr commented Feb 28, 2020

Description

In the simulation's agents it is common to make match queries in order to find concepts already present in the graph. This is typically when wishing to insert a new relation between those concepts.
At present the results are simply retrieved into a list, but this will cease to be performant as we run the simulation a lot of iterations. Streaming back the concepts doesn't fully solve the issue alone, if we wish to relate them together both randomly and deterministically. For this the design isn't necessarily obvious.

Take as an example:
Query 1: Get all single men in a city
Query 2: Get all single women in a city
Then create 50 marriages between random pairs from the results of each query.

@flyingsilverfin
Copy link
Member

@jmsfltchr is this still open/relevant with the new client-java?

@jmsfltchr
Copy link
Contributor Author

Yes it is, I'll update the issue to be more informative!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants