# Increase your throughput

Source: https://developer.avalara.com/products/communications/integration-guides/communications-integration/njx1301357521588/

Guide: Communications

# Increase your throughput

Learn strategies to optimize performance and throughput for tax calculations.

-   Limit your line item count per transaction.

    -   Make more `CalculateTaxes` requests and fewer line items in each request to increase performance throughput.
    -   It is better to send 300 `CalculateTaxes` requests containing 1,000 line items in each call than to send 30 `CalculateTaxes` requests with 10,000 line items.
    -   Use the Sandbox environment to try out different scenarios and find your ideal line item count.
-   Use **multithreading** to perform multiple tax calculations asynchronously.

    -   Use multiple threads instead of a single thread.
    -   Consider the performance of your application servers when determining the number of threads to use.
    -   Use the Sandbox environment to identify your ideal thread count.
-   Summarize Call Detail Record (CDR) data.

    -   Consider summarizing CDR data over a period of time when volume is high.
    -   Submit the summarized CDR data for taxation.