Skip to content

Laravel Octane: Token cache not shared across workers #10

Description

@francescobianco

Labels: bug, laravel, octane, concurrency
Context: Laravel Octane with Swoole workers

Description:
The SDK stores the API token in-memory, which is not shared between workers. Each worker requests a new token, triggering 429 rate-limit errors.

Expected:
Allow external cache adapter (e.g. Redis, Memcached) for token persistence across processes.

Impact:
Significant performance drop and increased API costs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions