Hackable HTTP proxy to simulate server failure scenarios, resiliency and unexpected network conditions, built for node.js.It was mainly designed for failure resistance testing, when toxy becomes particularly useful in order to cover fault tolerance and resiliency capabilities of a system, especially in disruption-tolerant networks and service-oriented architectures, where toxy may act as MitM proxy among services in order to inject failure.
http-proxy proxy reactive failure simulation network resiliency failover testing retry http toxic fault tolerant resilient fuzz evil unexpected backoff latency jitter distributed soaI recommend reading the Polly wiki for more information for details and mechanics around the patterns we provide. There are two events, onSuccess/onFailure, that are called when a call succeeds or fails. Note that onFailure only is called if a handled error is thrown.
nodejs typescript circuit-breaker cancellation bulkhead cancellationtoken fault-handling bulkhead-isolation backoffs retry backoff jitter resilience timeout fallback fluent pollyA 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 fibonacciRuns fn within the specified bounds. If no third parameter is specified, attempts to run the function within 0.7 * the input. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
jitter jitThis method use and exponential function E(attempt) = (2**attempt - 1) to calculate backoff time. Exponential backoff has one disadvantage. In high concurrence, we can have multiples calls with the same backoff time due the time is highly bound to the current attempt, different calls could be in the same attempt.
backoff-algorithms jitter backoff retry-library retryThe little simulator that could. ksim is a simulator for Intel Skylake GPUs. It grew out of two tools I wrote a while back for capturing and decoding the output of the Intel open source drivers. Once you're capturing and decoding the command stream output by the driver it's a small step to start interpreting the stream. Initially, it was exciting to see it fetch vertices, but it has now snowballed into a fairly competent and efficient software rasterizer. As of March 22nd, ksim runs all major GL/Vulkan shader stages (vertex, hull, domain, geometry and fragment shaders) as well as compute shaders. It JIT compiles the Intel GPU ISA to AVX2 code on-the-fly using its own IR and compiler.
3d-graphics gpu simulator skylake avx2 jitter rasterizerThis library provides sane defaults so you can hopefully just jump in for most of your use cases. By default the backoff is quadratic with a 100ms base time (attempt^2 * 100), a max of 5 retries, and no jitter.
jitter retry backoffIn the past I've spent weeks painstakingly hunting down jitter issues - visible stutter in games. I decided to document the lessons and techniques I picked up along the way in the hope that it might help others. If some element of your game is jittering, the first thing to check is if you are updating the element (or the camera!) in fixed time steps? This is a specific type of jitter related to fixed time steps that is a subset of general jitter issues, but happen frequently enough that they are worth calling out specifically (if you have a camera moving in Update() chasing a moving rigidbody in Unity, it will jitter by default). There are notes and links in the Misc Notes section below about this specific case.
jitter physics game frame camera game-loopSyphon is a system for sending video between applications. You can use it to send high resolution and high frame rate video, 3D textures and synthesized content between Max 5 / Jitter and other applications. Syphon for Jitter includes two externals, jit.gl.syphonclient & jit.gl.syphonserver.
syphon jitter maxIRTT measures round-trip time, one-way delay and other metrics using UDP packets sent on a fixed period, and produces both user and machine parseable output. IRTT has reached version 0.9.0, and is usable today, but needs more work until version 1.0.0 can be released. I would appreciate any feedback, which you can send under Issues. However, it could be useful to first review the Roadmap section of the documentation before submitting a new bug or feature request.
ping jitter packet-loss rttThis library exports a retry(...) function that can be used to invoke a function that returns a Promise multiple times until returned Promise is resolved or the max number of attempts is reached. The delay between each attempt is configurable and allows multiple retry strategies.
retry attempt await async promise backoff exponential-backoff retry-strategies nodejs typescript try delay jitterJitterbug provides functionality similar to time.Ticker, but with a configurable random jitter. Jitterbug has no external dependencies, has a stable API, and is production-ready.
time random jitter stochastic ticker gonum
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.