Giter Site home page Giter Site logo

Comments (3)

csaeum avatar csaeum commented on May 30, 2024 1

YES, that's what I mean.

from seomacroscope.

nazuke avatar nazuke commented on May 30, 2024

Many thanks for this feedback @csaeum.

Essentially, you mean something like:

  1. save the session and quit
  2. start the program again the next day
  3. reload the saved session and continue from where it left off?

Initially, I did not build any form of persistence into this application; which in hindsight would be very nice.

I've done some experimentation, and it does look like it is simple enough to use C#'s serialization features to dump out the state of a current crawl, and then reload it again.

However, there are also a lot of other details that need to be fixed up when a saved crawl is reloaded; so I'm going to have to out this to one side for a while, and come back to it.

If I eventually build a version 2.0 of this, I would probably build this using something like SQLite to store the crawl data, instead of simply having everything in memory.

from seomacroscope.

nazuke avatar nazuke commented on May 30, 2024

Many thanks @csaeum,

The most recent v1.7.6 release that came out yesterday now includes an experimental "Save Session" feature.

This uses C#'s serialization functionality, and basically dumps out the current session to a file.

For example, unless something goes wrong, a crawl can be started, paused, the session saved and the program exited. Then, the program can be started up back, the session loaded, and the crawl resumed.

Some of the Task Parameters should also be saved/restored; but if these are used, then it is worth double-checking each time.

Please note that the session files can be VERY LARGE, and can take an indeterminate amount of time to save and reload. For example, an 11,000 page crawl will produce a 300MB session file. So be patient if it looks like it's taking a very long time to save and load later; it hopefully hasn't crashed.

In practice, this feature seems to be quite useful for generating reports on a crawl at a later date.

The saved session files are not guaranteed to work with earlier/later versions of SEO Macroscope, because some of the internal details can/will change between versions.

from seomacroscope.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.