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

Performance bottleneck in the spatial abstraction: getting the neighbourhood is extremely expensive #15

Open
metaphori opened this issue Aug 2, 2017 · 2 comments

Comments

@metaphori
Copy link
Contributor

Originally reported by: Roberto Casadei (Bitbucket: metaphori, GitHub: metaphori)


Simulation configuration:

  • 1000 nodes
  • Communication radius: 0.05 (only a handful of neighbours for each node)
  • Program: classic gradient

The GUI is largely freezing, losing substantial reactiveness and almost any capability to show progress in the computation.

Screenshots from CPU sampling in VisualVM clearly points out the reason:

Screen Shot 2017-08-02 at 12.17.48.png

Screen Shot 2017-08-02 at 12.19.16.png


@metaphori
Copy link
Contributor Author

Original comment by Roberto Casadei (Bitbucket: metaphori, GitHub: metaphori):


We may take a look at the following

@metaphori
Copy link
Contributor Author

Also, take a look at: http://tile38.com/

  • Tile38 is an open source (MIT licensed), in-memory geolocation data store, spatial index, and realtime geofence. It supports a variety of object types including lat/lon points, bounding boxes, XYZ tiles, Geohashes, and GeoJSON.
  • Tile38 uses the Redis RESP protocol natively. Therefore all clients that support basic Redis commands will in turn support Tile38

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

1 participant