Git Product home page Git Product logo

weibo1.0-api's Introduction

weibo1.0-API

微博数据展示与舆情监控系统后台API


项目定位

  • 该项目初期定位是数据展示和集群监控系统,最终希望在此基础上形成舆论监控系统
  • 目前该项目处于数据展示和集群监控阶段
  • 当前该项目的功能包括几个方面:
    • 监测集群中大数据的数据量,并实时动态地在前端上展示出来
    • 监测数据收集速率,即对爬虫进行监控,实时监控爬虫的速率,IP池状况等多方面内容,并对每天爬虫的速率都进行持久化

项目结构

架构说明

  • 使用前后分离的REST架构风格构建系统
  • 使用MySQL数据库进行持久化
  • 使用Hadoop生态系统进行大数据的处理
  • 使用HBase,MongoDB进行大数据的存储
  • 使用TOMCAT8.x作为应用服务器

技术应用

  • 后端使用框架Spring进行事务管理和层次间的解耦
  • 使用SpringMVC作为控制层框架
  • 使用MyBatis作为持久层框架
  • 使用Quartz进行定时任务的调度
  • 使用SSH2和mongoDB包分别对操作系统和MongoDB进行监控

开发工具

  • 使用SpringBoot协助开发
  • 使用Maven进行包管理
  • 使用GIT进行版本控制
  • 使用IntelJ IDEA作为后台开发使用的IDE
  • 使用POSTMAN进行后端的模拟请求

其他说明

  • 后端API端口号8081

开发说明

数据访问部分

  • MySQL数据库的访问使用了C3P0连接池
  • 对操作系统、MongoDB、Redis的访问使用了自己构筑的多个连接池

定时器部分

项目中多处用到了定时器工具,主要用于爬虫速率统计和数据定时记录

  • 每秒都会更新单秒的爬虫平均速率和五分钟内的爬虫平均速率
  • 每天23:59:59会自动计算和保存当天的数据量到mysql数据库中

weibo1.0-api's People

Contributors

cor-right avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

cmy1997

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.