Coder Social home page Coder Social logo

pixep / crowlet Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 2.0 94 KB

Tiny sitemap crawler for cache warming, and website status monitoring

License: Apache License 2.0

Dockerfile 1.43% Makefile 5.77% Go 92.81%
cache crawler monitoring sitemap test-automation testing

crowlet's Introduction

crowlet's People

Contributors

chris-scentregroup avatar pixep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

crowlet's Issues

memory consumption is not adequate

crawler seem to be using a lot of memory.

I have a website with ~22K URLs that I need to crawl. I was running crawler on AWS EC2 t2.micro, which has ~1 GB of memory.
Crawler was leading this instance to freeze.

I was testing locally with 1GB memory limit, crawler hits it.

I think 1GB of memory is too much for simple crawler.

I'm not a Go expert and I'm not able to identify memory leak in the code.
I assume that it is about not releasing/cleaning the response results for each crawled URL.

ctrl+c Doesn't exit when waiting for wait-intrval

I used this:


docker run -it --rm aleravat/crowlet --forever --crawl-hyperlinks --summary-only  --debug   --wait-interval 1800 https://webapplicationconsultant.com/sitemap.xml

It didn't exit when I pressed Ctrl+c It happens ONLY when it is waiting for 1800 seconds to be over - so when the first crawl is done.

forever not working

hello

docker run -it --rm aleravat/crowlet --forever --wait-interval 5 https://website.com/sitemap.xml

I am running this command, 5 seconds for testing obviously, however the console is not displaying new crawls after the first batch.

Any ideas? Thanks :)

Total Time is always 9223372036854

Not sure if i am doing anything wrong but regardless of any crawl i perform i just get 9223372036854 as a time :-/

using aleravat/crowlet@sha256:1c23f62c5328f5e79c5b347e0eb4bf10223ebca0bbff80bc38d83206ef79141e

Question about recursiveness

I have a quick question, does it, or can it be implemented to recursively crawl sitemaps/xml files? Or is it only first-level links in the Sitemaps? I'd like to create a Public Sitemap of Sitemaps so I only need to update the container once - if that makes sense.

Thanks!

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.