API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

maximum allowed size of the client request body for APIc

  • 1.  maximum allowed size of the client request body for APIc

    Posted Thu January 12, 2023 02:22 PM
    What is the recommended maximum allowed size we can configure of the client request body for APIC including attachments?  by default it is 8 MB but What is the max limit we can go up to without impacting the performance?

    ------------------------------
    sravan vendikonda
    ------------------------------


  • 2.  RE: maximum allowed size of the client request body for APIc

    Posted Fri January 13, 2023 07:04 AM
    Hi there isn't any specific number that can be recommended; it all depends on the workload.
    8mb was chosen as a reasonable default for many customers but it is often increased according to the specific business needs.  The max is often driven by what usecases are served by the APIs.
    Larger attachments of course use more memory but if the overall rate is low then that is not a problem.
    As the multiple of the doc size & rate increase, then rate limiting can be used to prevent an OoM issue.
    It would really need to be something that your team analyzes and tests to fit best your own environment.

    ------------------------------
    Matthias Siebler
    MA
    ------------------------------