Giter VIP home page Giter VIP logo

springboot_log's Introduction

项目介绍:

本项目主要是日志处理实现多线程进行处理:

  1. 接口日志异步池化入库: 将接口中的日志内容直接放入到队列中,不需要进行日志入库了,减少了一次数据库操作,可以提升接口的响应速度 。

  2. 库中日志多线程清理: 当日志表中的数据量过多时,会占用很多的磁盘空间,进而可能导致磁盘空间不足的告警,此时就需要进行日志的清理,但是此时在清理时,还需要将最新多少天的数据保留,将之前的日志数据清理掉 ;日志清理是 定时 进行清理的,一般在凌晨访问量最少的时候进行日志的清理。

项目结构:

项目结构展示:

点击查看结构图

启动测试:

springboot_log's People

Contributors

leishen6 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.