Displaying 1 to 19 from 19 results

A simple, stateless, functional mechanism to perform actions repetitively until successful. This project is currently in "pre-release". While the code is heavily tested, the API may change. Vendor (commit or lock) this dependency if you plan on using it.

retry backoff functional stateless jitter delay limit wait linear incremental exponential fibonacciFibonacci and exponential backoffs for Node.js. The usual way to instantiate a new Backoff object is to use one predefined factory method: backoff.fibonacci([options]), backoff.exponential([options]).

backoff retry fibonacci exponentialThis module provides function decorators which can be used to wrap a function such that it will be retried until some condition is met. It is meant to be of use when accessing unreliable resources with the potential for intermittent failures i.e. network resources and external APIs. Somewhat more generally, it may also be of use for dynamically polling resources for externally generated content.Decorators support both regular functions for synchronous code and asyncio's coroutines for asynchronous code.

retry backoff asyncio asynchronous synchronous exceptions retrying decorators exponentialRecovery provides randomized exponential back off for reconnection attempts. It allows you to recover the connection in the most optimal way (for both server and client). The exponential back off is randomized to prevent a DDoS like attack on your server when it's restarted, spreading the reconnection attempts instead of having all your connections attempt to reconnect at exactly the same time.The code base of this module was originally written for Primus but has been extracted as separate module. It has been thoroughly tested and it's written with love <3.

random exponential backoff reconnect retry recovery failure network recon connection connect disconnectThe generator below, seeded with "Example" will produce the same values as below for each of these random number distributions across all browsers. The underlying algorithm is RC4 and uniform number generation is about 10x slower than Math.random in V8. What you get in exchange for that is a seedable generator and additional random distributions (see example). You can still get speed and these additional distributions by using Math.random as the core uniform number generator.

random seed poisson gamma rc4 exponentialIt does exponential backoff and supports custom retry strategies for failed operations.Returns a Promise that is fulfilled when calling input returns a fulfilled promise. If calling input returns a rejected promise, input is called again until the max retries are reached, it then rejects with the last rejection reason.

promise retry retries operation failed rejected try exponential backoff attempt async await promises concurrently concurrency parallel bluebirdWARNING: This module merely seems to work given all the catastrophic regular expressions I could find scouring the internet, but I don't have enough of a background in automata to be absolutely sure that this module will catch all exponential-time cases.Return a boolean ok whether or not the regex re is safe and not possibly catastrophic.

catastrophic exponential regex safe sandboxAll easing functions support in, out and in-out. Create a new instance of Easer. Easers on their own don't do very much.

animation easing penner functional callback abstract generic cubic sinusoidal circular exponential bounce elastic back quad quart quint browserA simple module to be used for creating exponentially weighted backoff attempts. Originally extracted from Primus. NOTICE If you were a pre-1.0.0 back user, the API has changed to what is found below. If you do not like this slightly different abstraction and would prefer the former, slightly simpler API, it is still available with require('back/reconnect').

random exponential backoffAn Ember addon that adds retry strategies and a task modifier for automatically retrying ember-concurrency tasks. For more information on using ember-cli, visit https://ember-cli.com/.

ember-concurrency retry-policy sometimes-computers-suck ember-addon concurrency task tasks retry retryable delay backoff exponentialBecause everyone loves a tryer! Conditional and repeated function invocation for node and browser. Sometimes, you want to defer calling a function until a certain pre-requisite condition is met. Other times, you want to call a function repeatedly until some post-requisite condition is satisfied. Occasionally, you might even want to do both for the same function.

functional-programming iteration retry-intervals repeat retry predicate conditional invocation execution loop condition termination exponential backoffCalculate an exponential moving average from an array of numbers. Options may be passed as an object or as a number to specify only the range to use.

exponential-moving-average moving-average average math array numbers calculate exponential movingCalculates the delay values for various backoff mechanisms. Like backoff, except it doesn't wrap everything up in an arbitrary API. Like backo/backo2, except it provides three choices of algorithm. The values shown above are the defaults.

backoff linear fibonacci exponentialGenerate random numbers from different probability distributions. Demo. Internally Prob.js uses Mersenne Twister provided by random-js. This can be overridden by providing the src argument when generating a number. src is expected to be a function that when called returns a signed integer uniformly in the range [-2^31,2^31).

random probability-distributions probability distributions normal lognormal exponential zipfintervalBackoff works similiarly to interval except that it doubles the delay between emissions every time.

rxjs backoff exponentialHello! I'm Xb, a tiny backoff library for javascript. Suppose you want to poll a server for info. You could do a setTimeout and ask the server if there is something new every N seconds or milliseconds.

backoff xb callback exponentialSeedable random number generator supporting many common distributions. All distribution methods return a thunk (function with no params), which will return a series of independent, identically distributed random variables from the specified distribution.

random random-number-generator random-numbers prng normal-distribution number generator rng stats d3-random seedrandom distribution pseudorandom uniform normal gaussian lognormal poisson exponential irwinhall batesLightweight module to convert number from exponential notation to a human readable string.

convert notation exponential number scientific format from pretty human readable stringLightweight module to convert number to a pretty human readable string. Number of decimal digits to keep when rounding. Pass falsey value to not change precision.

string format human exponential number pretty precision readable thousands big text separator significant round decimal fixed decrease
We have large collection of open source products. Follow the tags from
Tag Cloud >>

Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
**Add Projects.**