-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Adding more vertices to a huge graph is very slow #136
Comments
Thanks for your interesting question @luvicri!
I consider this to be a defect which should be fixed :-) You've already mailed me some details which indicate that this is related to how we allocate the next free vertex ID (which happens to be a naive Your mail also suggested the workaround to explicitly pass vertext IDs to
There's certainly room for improvement in this library and I'm all for addressing any performance issues. However, I'm not sure supporting millions of objects should be our main focus here. This is a PHP library after all, which stores all objects in memory. This also means that there's currently no way to store more objects than what your system (RAM) permits. If you're looking into storing multi gigabytes worth of objects, you might be better off using some full-fledged graph database. I hope this helps. |
I'll keep track of this in #131 and close this ticket for now. |
Yes, i switched on a graph db. But i would like to work with you to improve the library, because is really well done! I can’t work now on the library but maybe between a month… Thank’s for you help!
|
Hi there.
II have a big problem. I need to create a big graph, with more than 1800000 vertices. It takes more than 5 minutes to create just 20k nodes(simple nodes with a simple string attribute). So i realized that the problem is the creation of nodes. When the block of code where nodes are created starts, the system slows down. Anybody can help me to solve this issue?
The text was updated successfully, but these errors were encountered: