Coder Social home page Coder Social logo

moon_trace's Introduction

Hi there 👋

moon_trace's People

Contributors

zzy2210 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

moon_trace's Issues

修复url深度爬取无法中止等问题

目前的url爬取是深度无限爬取,存在无法中止以及可能的重复爬取问题
需要更改后做到

  1. 深度有限制
  2. 超时解决
  3. 无重复爬取问题

增加cmake文件

增加cmake文件,目标

  • 支持 编译protobuf 文件 api
  • 支持 规范代码
  • 支持 编译二进制
  • 支持 安装部分编译工具

引入kratos框架

结合 #9 与目前个人技术发展的一些情况,项目引入kratos框架

目标:

  • 服务接入kratos框架
  • orm更改为ent
  • 使用recover模块预防panic
  • 使用 log 模块 丰富日志

子域名收集配置文件化

子域名收集url与正则为个人整理,或许可以单独做一个模块从配置文件里面读列数,假设有10个k-v,分别对应url与正则,则启用十个协程来爬取对应网站并分析。
如果采用这种方式,后续应该是通过apiserver的配置文件读取,由它向节点发送配置内容

完善注册机制,取消配置文件注册的方法

原注册机制为通过配置文件写入服务节点ip来完成注册,该方式过于粗暴。
现在为server端提供新服务,使节点服务器可以向服务端发送注册请求来完成注册。

服务端应维护路由表,路由表内容包含:节点名、节点ip、节点当前连接数

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.