Giter Site home page Giter Site logo

Comments (4)

kjvarga avatar kjvarga commented on July 16, 2024

That is a warning only, your sitemaps have generated fine. It looks like you are using an old version. Please update to latest (0.3.2 i think).

In newer versions we are enforcing the < 10Mb rule properly, so no sitemap should go over this limit.

Wow, that's a big sitemap! Would you mind pasting the output after you run with the new version so if there's any improvement in the speed.

Thanks,
Karl

from sitemap_generator.

ghazel avatar ghazel commented on July 16, 2024

Well, they generated fine in than they exist on my webserver, but the Google Webmaster Tools say that file failed. They probably have a similar size check.

I'll upgrade, that's easy :)

The speed is certainly largely due to all the work I have to do with third-party RPCs and the database. So, don't worry that your code might be that slow.

from sitemap_generator.

kjvarga avatar kjvarga commented on July 16, 2024

Thanks for the report. The old version had a very crude method of checking the size. In the new version we know exactly how big everything is that goes into the file, so it's very easy to check that something can fit.

It's such a simple task it makes me want to optimize it. I haven't even had the chance to run a profiler yet. In Ruby 1.9.2 (?) there are Fibers for synchronous IO...imagine getting a record, and writing another to file happening simultaneously, so maybe a 50% boost in speed.

from sitemap_generator.

ghazel avatar ghazel commented on July 16, 2024

The RPC calls are limited by the other end, actually. I've tried parallelization, but I believe they limit it to so many request per second per IP.

from sitemap_generator.

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.