Skip to content

[RFE] Implement Generic API Batching System #171

@pfeifferj

Description

@pfeifferj

Description

The IBM provider lacks the sophisticated batching system found in the AWS provider, leading to potential API rate limiting and inefficient cloud operations.

Current State: Individual API calls for each operation
Recommended Solution:

  • Implement generic batcher pattern similar to AWS provider's Batcher[T input, U output]
  • Target VPC instance creation, pricing queries, and load balancer updates
  • Include configurable batching windows (idle timeout, max timeout, max items)
  • Add request hashing for intelligent grouping by zone/resource group

Benefits:

  • Reduced IBM Cloud API rate limiting
  • Improved provisioning throughput
  • Better resource utilization
  • Enhanced observability through batch metrics

we need to research if the IBM cloud API would support this pattern

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions