<@U04S8PLJWMT> I am reading from a Kafak topic in ...
# ask-ai
n
@kapa.ai I am reading from a Kafak topic in us west 2, and i an writing to Databricks in eu-west-1, my sync time for roughly 200,000 records has gone from 1-2 minutes now to 2 hours, and now i am seeing lots of 2025-08-22 120007 destination INFO pool-12-thread-1 i.a.c.i.d.a.b.BufferManager(printQueueInfo):94 [ASYNC QUEUE INFO] Global: max: 1.57 GB, allocated: 10 MB (10.0 MB), %% used: 0.00620039682832994 | State Manager memory usage: Allocated: 10 MB, Used: 0 bytes, percentage Used 0.0
k
I'm sorry, but the knowledge sources provided do not contain enough information to directly address your specific scenario of syncing from a Kafka topic in us-west-2 to Databricks in eu-west-1, especially regarding the sudden increase in sync time from 1-2 minutes to 2 hours and the "lots of" (your message was cut off). However, there are several relevant points from similar cases: - Users syncing to Databricks have reported very slow transfer rates (1–2 MB/s for ~200,000 records), even when network, CPU, and memory were not bottlenecks. This was observed both with S3 and Faker as sources, and increasing block size did not help. The Airbyte team acknowledged this and mentioned upcoming performance improvements, but no immediate solution was provided. The bottleneck appears to be in Airbyte's software design, particularly with how data is processed and transferred internally, including conversion to JSON, which can significantly increase data size and slow down transfers, especially across regions [Sync job is very slow](https://discuss.airbyte.io/t/3631) [Databricks destination is able to transfer less than 2MB/s](https://github.com/airbytehq/airbyte/issues/21318). - There are also reports of sync jobs getting stuck or experiencing severe performance degradation after Airbyte upgrades or with certain connector versions, but these are not specific to Kafka or cross-region Databricks syncs [Severe Performance Degradation Mongo Connector](https://discuss.airbyte.io/t/1011). - No knowledge source provides a root cause or a fix for a sudden jump in sync time for your exact setup. If you are seeing "lots of" errors or warnings (your message was incomplete), reviewing the Airbyte logs for network issues, connector errors, or resource constraints is recommended. In summary, slow syncs to Databricks, especially across regions, are a known issue, and there is no documented immediate fix in the knowledge sources. If you can provide the rest of your message or specific error logs, I may be able to help further.
Based on the information in the provided knowledge sources, there are several relevant points regarding slow sync performance and buffer management in Airbyte, especially when writing to Databricks: 1. Slow Sync Performance: Multiple users have reported slow sync speeds when writing to Databricks, with transfer rates as low as 1–2 MB/s for hundreds of thousands of records. This is consistent across different setups and even when using Airbyte Cloud, suggesting that the bottleneck may be related to Airbyte’s internal processing or the connector’s design, rather than your specific infrastructure or network latency. Increasing block size or adjusting resource allocations did not significantly improve speeds for other users either. The internal conversion of data to JSON can also increase the data size, further impacting throughput [[Forum: Sync job is very slow](https://discuss.airbyte.io/t/3631), [Databricks destination is able to transfer less than 2MB/s](https://github.com/airbytehq/airbyte/issues/21318)]. 2. BufferManager Logs: The log line you shared:
Copy code
[ASYNC QUEUE INFO] Global: max: 1.57 GB, allocated: 10 MB (10.0 MB), %% used: 0.00620039682832994 | State Manager memory usage: Allocated: 10 MB, Used: 0 bytes, percentage Used 0.0
indicates that the buffer is barely being used (only 10 MB allocated out of 1.57 GB available). This suggests that the bottleneck is not in buffering or memory allocation, but likely elsewhere—possibly in the network transfer between regions (us-west-2 to eu-west-1), or in the Databricks destination connector’s write throughput. 3. Resource Tuning: Some users have tried increasing memory and CPU allocations for the Databricks destination, but this did not always resolve OutOfMemory errors or improve performance. Adjusting connection-specific resource requirements is possible, but may not address fundamental throughput limitations [[Roadmap: Destination Data Lake Databricks to Certified](https://github.com/airbytehq/airbyte/issues/34874)]. 4. Known Limitations: There are open issues and ongoing work to improve performance for large data loads and high table counts in Databricks destinations. However, as of the latest reports, these performance issues remain a challenge for large-scale or cross-region syncs. Summary: Your experience of sync times increasing from minutes to hours for 200,000 records, despite low buffer usage, aligns with known limitations in Airbyte’s Databricks destination performance. The bottleneck is likely not in memory or buffer management, but in the connector’s throughput or possibly network latency between regions. There is no documented workaround that guarantees a significant speedup, but you may try increasing connector resources and monitoring for any improvements. Otherwise, this appears to be a known area for improvement in Airbyte. If you need further troubleshooting, consider sharing detailed logs with the Airbyte team or following updates on performance improvements for the Databricks destination connector.