GithubHelp home page GithubHelp logo

maximsamokhval / outgoingrequestslimiter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vkostyanetsky/requestrheostat

1.0 1.0 0.0 114 KB

An example of outgoing requests limitation for 1C:Enterprise

1C Enterprise 100.00%

outgoingrequestslimiter's Introduction

⏱️ ✖️ ⚙️ Outgoing Requests Limiter

Sometimes you need to limit the number of requests which your application makes to an external resource per second. It's obviously how to deal with it if you have only one place where you make requests (a scheduled job, for instance), but there can be many of them: for instance, a lot of background jobs.

There is example how the task can be solved. The implementation is in a RequestsServer common module; have a look at procedure StickToMaximumRequestsNumberPerSecond(). The other part of the configuration is a sort of user interface to test that limitation works fine.

Usage

The configuration doesn't really make requests, but it writes every attempt to do it to the Requests information register. You can play with parameters on the right part of the form and see how many requests the application is going to make per second according to what you choose.

The "Exceedings" list down below is intended to warn you if there are moments when a number of requests made trespasses the limitation you set.

Interface

outgoingrequestslimiter's People

Contributors

vkostyanetsky avatar

Stargazers

Maxim Samokhval  avatar

Watchers

James Cloos 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.