I think this is going to be extremely computationally intensive. One of the big performance wins I got when designing the search algorithm[1] was visiting as few nodes in the graph as possible (which I did via a bi-directional breadth-first search). To find the most distant node, I'd need to traverse the entire graph, which consists of almost 6 million nodes. It can be done, but it would take minutes, hours, days, ...
Just quck question, I have found that in Initial setup docs: > Do not use Debian GNU/Linux 9 (stretch) due to degraded performance. Could you elaborate or give some reference about that issue please? Thanks.
Thanks! It's weird, but as soon as I tried upgrading to an identical GCP machine running Debian 9 (stretch) and run my database creation process[1], it took many, many times longer to even download the several GB dumps from Wikipedia via wget than it did on Debian 8 (jessie). As the beefy machine I use for the database creation process costs ~40 cents per hour, I figured it wasn't worth it to upgrade to Debian 9 since the Debian 8 machine finished in one hour and worked fine. After trying it a second time a month later and realizing the same thing happened, I added a note for myself in the README about it. I did find some other reports about it online[2] and just decided it wasn't that critical to upgrade it at the moment.
Yes, Sthephen Dolan's project (along with others) was definitely an inspiration for me! Although, I like to think I made a lot of performance and design improvements over his work. I used to have an acknowledgements section in my README with his name in it, but I seemed to have destroyed that. I'll make sure to give credit where credit is due and list all my inspirations.
Comments (324) 106 threads
Earlier comments[1] https://github.com/jwngr/sdow/blob/a2699dc95d884ec64a4641630...
Challenging part is keeping track of already visited pages to break cycles - some variant of a Bloom filter will help.
Just quck question, I have found that in Initial setup docs:
> Do not use Debian GNU/Linux 9 (stretch) due to degraded performance.
Could you elaborate or give some reference about that issue please? Thanks.
[1] https://github.com/jwngr/sdow#database-creation-process [2] https://lists.debian.org/debian-kernel/2017/12/msg00265.html
Right now it prompts you to enter something if you enter nothing in.
All comments shown.
Couldn't load more comments. Check your connection and try again.