GithubHelp home page GithubHelp logo

golangutil's Introduction

golangUtil


JsonUtil

BeachMark

According to the beachmark,the performance of golangUtil marshal method is better than json.Marshal method.One fifth faster on average

rateLimiterMiddleware

effect

use the slide windows to limit the rate of entering the program,which can avoid the influence of burst flow,but also this middleware can promise the safe of concurrency,and async handler the outdated windows to avoid the performance consume

warning

According to function test and benchmark test,the rate limiting algorithm is valid in that the window size greater than 1ms.

Attribution

the code is still under test,so if the code has any question when you use it,you can connect with the author to correct the coding.Thanks your attribution

golangutil's People

Contributors

jbossbc avatar

Stargazers

 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.