<@U04S8PLJWMT> I’m running Airbyte locally using `...
# ask-ai
d
@kapa.ai I’m running Airbyte locally using
abctl
on my server, and the service has become very slow after multiple reinstalls using
abctl local uninstall
and
abctl local install
. In contrast, when I run Airbyte on my local laptop environment, it performs much faster—even using the
--low-resource-mode
flag. As part of reinstalling on the server, I updated the values file by editing the MinIO image tag to my desired version:
RELEASE.2023-11-01T01-57-10Z-cpuv1
and reinstalled with:
abctl local install --values values.yaml
I have also tried running Airbyte on the server with the
--low-resource-mode
flag, but this actually makes the service even slower rather than improving performance. So far, I have: • Removed unused Docker images, containers, volumes, and networks • Verified no leftover Airbyte processes running • Monitored resource usage: CPU hovers around 150-200%, memory at ~16%, network usage stable • Experienced occasional
Internal Server Error
responses when triggering syncs via the API Despite these steps, the Airbyte UI and syncs remain very slow on the server. Could anyone please advise on additional checks or recommended steps to fully reset and optimize my Airbyte local environment using
abctl
? Is there a clean reinstall or reset process I might be missing to restore normal performance? Thanks in advance for your help!
k
New message text here
d
Hi @kapa.ai I followed the recommended cleanup and reinstall steps you provided:
Copy code
abctl local uninstall --persisted
rm -rf ~/.airbyte/abctl
# (Optional) rm -rf ~/.airbyte/
abctl local install --values values.yaml
However, after running
abctl local install
with my
values.yaml
, I started seeing this error, which I hadn't encountered before:
Copy code
Cluster 'airbyte-abctl' could not be created
ERROR unable to create kind cluster: failed to init node with kubeadm: command "docker exec --privileged airbyte-abctl-control-plane kubeadm init --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1:
I0729 12:46:31.164103 184 initconfiguration.go:261] loading configuration from "/kind/kubeadm.conf"
W0729 12:46:31.166382 184 common.go:101] your configuration file uses a deprecated API spec: "
kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
I haven’t modified or used any kubeadm config myself; this is coming directly from the
abctl local install
process. I am running this on Debian GNU/Linux 11 with Docker 20.10.5. Docker and Kubernetes dependencies seem to be installed correctly. Could this be related to the kubeadm config using deprecated API versions in the kind cluster managed by abctl? How can I fix or bypass this?
k
A message from kapa.ai
New message text here
d
@kapa.ai I'm using Airbyte OSS in a production environment and noticing very slow sync times (30–60 minutes) for the following sources: • Google Ads • Google Analytics 4 • Facebook Marketing These sources are triggered via a Flask application that uses the Airbyte API to dynamically create connections. From what I can tell, the logs take a long time during the
create connection
and
sync
steps. The sync logs in the Airbyte UI also show long processing times, especially during schema discovery and data extraction. Here’s more context: • Airbyte version: 1.13.0 • Deployment method: abctl • Each source is configured with minimal streams (we’re not syncing all data). • Destination: Google Sheets (also via API) My questions: 1. Is this sync duration normal for these connectors? 2. Are there any best practices to reduce sync time (e.g., slicing, stream filtering, increasing workers)? Any guidance or tips would be appreciated! Thanks!
k
A message from kapa.ai
Based on the knowledge sources, here’s what can be said about your questions: ### 1. Is this sync duration normal for these connectors? Slow sync times are a known issue for several Airbyte connectors, especially for marketing and analytics sources like Google Ads, Facebook Marketing, and others. Users have reported syncs taking hours even for small data volumes. For example: - Facebook Marketing: Users have reported syncs taking hours, even when syncing a single day’s data with a reduced number of fields. The connector and/or the Facebook API may limit the number of fields or requests, and exceeding these can cause errors or slowdowns. Reducing the number of fields can help, but sometimes the sync is still slow due to API or connector limitations [Facebook marketing data sync issue](https://github.com/airbytehq/airbyte/issues/49977), [Improving Connector Speed](https://discuss.airbyte.io/t/2752). - Google Ads: The connector is subject to Google API rate limits (e.g., 60 requests per minute per user, 300 per minute per project), which can result in slow sync speeds. Airbyte batches requests to respect these limits, and this can make syncs slow, especially if you have multiple streams or large data volumes [Google Sheets destination performance](https://docs.airbyte.com/integrations/destinations/google-sheets#step-2-set-up-the-google-sheets-destination-connector-in-airbyte), [Google Sheets source limitations](https://docs.airbyte.com/integrations/sources/google-sheets#limitations--troubleshooting). - General: Even with small data volumes, users have reported long sync times due to overhead, job queuing, or resource contention, especially when running many connections or jobs in parallel [Syncs taking almost an hour for <20kb of data](https://discuss.airbyte.io/t/3780), [Airbyte taking too much resources and Time](https://discuss.airbyte.io/t/995). ### 2. Best practices to reduce sync time a. Reduce the number of fields and streams: For Facebook Marketing and similar connectors, reduce the number of fields requested to the minimum necessary. This can help avoid API errors and reduce sync time [Facebook marketing data sync issue](https://github.com/airbytehq/airbyte/issues/49977). b. Limit the number of connections and parallel jobs: Running too many connections in parallel can exhaust resources and slow down syncs. Consider scaling up your server (CPU/RAM) or reducing the number of concurrent jobs [Airbyte taking too much resources and Time](https://discuss.airbyte.io/t/995). c. Tune worker and submitter counts: Adjust the number of workers and submitters to match your hardware capabilities. Too many can cause failures; too few can slow down processing. Monitor CPU and RAM usage to find the optimal configuration [Airbyte taking too much resources and Time](https://discuss.airbyte.io/t/995). d. Use stream filtering and incremental syncs: Sync only the streams and fields you need, and use incremental syncs where possible to avoid full refreshes. e. Be aware of destination limitations: Google Sheets as a destination is subject to strict API rate limits (60 requests/min/user, 300/min/project), which can significantly slow down syncs. Airbyte batches requests, but this is a bottleneck for large or frequent syncs [Google Sheets destination performance](https://docs.airbyte.com/integrations/destinations/google-sheets#step-2-set-up-the-google-sheets-destination-connector-in-airbyte). f. Monitor and optimize resource allocation: If you’re running Airbyte with abctl, ensure your server has enough resources and that you’re not using restrictive flags like
--low-resource-mode
unless necessary. g. Schema discovery can be slow: Schema discovery and connection creation can take time, especially if the source API is slow or rate-limited. This is a known behavior and may not be easily optimized. --- Summary: Yes, slow syncs are a known issue for these connectors, especially with API rate limits and destination bottlenecks like Google Sheets. To improve performance, reduce the number of fields/streams, optimize worker counts, use incremental syncs, and be mindful of API and destination rate limits. Even with these optimizations, some slowness may persist due to external API constraints and Airbyte’s batching to respect those limits. If you need more granular advice, consider sharing specific sync logs or resource usage details on the [Airbyte forum](https://discuss.airbyte.io/) for community troubleshooting.