Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Cadence Laravel Package

kodefarmers/laravel-cadence

View on GitHub
Deep Wiki
Context7
v1.1.0

What's New

This release expands Cadence with additional backoff strategies and introduces configurable jitter support, making retry behavior more flexible and better suited for distributed systems.

Added

  • Added Linear backoff strategy.
  • Added Quadratic backoff strategy.
  • Added configurable Jitter support for all backoff strategies.
  • Added Full Jitter (default) algorithm.
  • Added Equal Jitter algorithm.
  • Added fluent ->jitter() API for decorating any backoff strategy.
  • Improved documentation with dedicated jitter usage examples and explanations.

Improvements

  • Refined the README with clearer explanations of backoff strategies and jitter.
  • Improved API documentation and usage examples.

💡 Why Jitter?

When many clients retry at the same time, deterministic backoff can lead to synchronized retry bursts (the "thundering herd" problem).

Jitter introduces controlled randomness to retry delays, helping distribute retries over time while preserving the underlying backoff strategy.

Backwards Compatibility

This release is fully backwards compatible.

Existing applications will continue to behave exactly as before unless jitter is explicitly enabled.

v1.0.0

Initial Stable Release

This is the first stable release of Cadence, a strategy-based progressive backoff engine for Laravel.

Features

  • Progressive backoff engine for throttling repeated failures.
  • Exponential backoff strategy.
  • Fibonacci backoff strategy.
  • Configurable free attempts before backoff is applied.
  • Configurable idle timeout for automatic state reset.
  • Cache-backed state management using Laravel's cache system.
  • Laravel-native integration with service provider, manager, and facade support.
  • Extensible architecture for creating custom backoff strategies.

Documentation

  • Comprehensive README with installation, configuration, usage examples, and API reference.
  • Full test suite covering core functionality.

Installation

composer require kodefarmers/laravel-cadence

Feedback, bug reports, and contributions are always welcome!

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
roundly-consulting/kubernetes-api-for-laravel
roundly-consulting/plausible-for-laravel
gvp/gvp-laravel-template
metasyncsite/laravel-metasync-client
roundly-consulting/onboarding-for-laravel
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo