Steve Caldwell
10/13/2025, 2:21 PMkapa.ai
10/13/2025, 2:22 PMyaml worker: replicaCount: 2 # Increase to allow more parallelism extraEnv: - name: MAX_SYNC_WORKERS value: "5" # Set to desired concurrency - name: MAX_CHECK_WORKERS value: "5" [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-sync-limits) If you’re running Airbyte via Docker Compose, you can set these environment variables in your docker-compose.yaml under the worker service. Note: There is no built-in way to limit the number of workers a specific connector uses; these settings apply globally. However, you can adjust resource requests/limits per connection to prevent one sync from monopolizing resources [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). --- Summary: - Increasing VM resources may help if you’re resource-constrained, but Hubspot sync speed is often limited by the API itself. - To run more syncs concurrently, increase MAX_SYNC_WORKERS and worker replicaCount. - Adjust connector resource limits to maintain high performance and avoid resource contention. If you need more detailed steps for your specific deployment method (Kubernetes, Docker Compose, etc.), let me know!Steve Caldwell
10/13/2025, 2:28 PMkapa.ai
10/13/2025, 2:28 PMkapa.ai
10/13/2025, 2:28 PMsh top or sh htop - Look for high CPU usage (close to 100% on all cores) or high memory usage (memory nearly full). - For more detailed memory usage: sh free -h - To check disk usage (less common bottleneck, but can be relevant): sh df -h - What to Look For: - If CPU usage is consistently high (all cores near 100%) or memory is nearly full and swap is being used, this suggests you may benefit from increasing resources. - If resource usage is low but jobs are still slow or stuck, the bottleneck may be elsewhere (e.g., connector/API limits) [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). --- ## 2. Adjusting MAX_SYNC_WORKERS and replicaCount ### MAX_SYNC_WORKERS - Purpose: Controls the maximum number of sync jobs that can run concurrently per worker. - How to Adjust: - Locate your Airbyte deployment’s environment variables. With abctl, this is typically managed via the airbyte-env file or similar configuration. - Add or modify the following line: sh MAX_SYNC_WORKERS=5 # (Set to your desired concurrency) - Restart Airbyte for the changes to take effect. ### replicaCount - Purpose: Controls the number of worker processes (pods/containers) running. More replicas allow more jobs to run in parallel. - How to Adjust: - For abctl-managed deployments, scaling is typically handled by increasing the number of worker processes in your configuration. - If you are not using Kubernetes, you may be limited to a single worker process per VM. In that case, scaling out would require deploying Airbyte on additional VMs. - If you are using Kubernetes, adjust the replicaCount in your `values.yaml`: yaml worker: replicaCount: 2 # Increase as needed - Apply the changes and restart Airbyte. Note: The knowledge sources do not provide abctl-specific commands for scaling, but the environment variable approach for MAX_SYNC_WORKERS and the general concept of increasing worker processes apply [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-sync-limits). --- ## 3. Recommendations - Start with monitoring: Only increase resources if you observe high CPU/memory usage. - Increase MAX_SYNC_WORKERS if you want to run more syncs in parallel and your system has available resources. - Increase replicaCount (if supported by your deployment method) to further scale out parallelism. - Monitor after changes: Continue to observe system metrics to ensure stability and performance. --- If you need abctl-specific commands for scaling workers and the documentation does not cover it, you may need to consult the [official Airbyte documentation](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale) or reach out to Airbyte support for abctl-specific scaling instructions, as the knowledge sources do not provide detailed abctl scaling steps.Steve Caldwell
10/13/2025, 2:43 PMkapa.ai
10/13/2025, 2:47 PMkapa.ai
10/13/2025, 2:52 PMSteve Caldwell
10/13/2025, 2:52 PMkapa.ai
10/13/2025, 2:52 PMkapa.ai
10/13/2025, 2:53 PMtop, free -h, and df -h outputs, here’s how to interpret your Airbyte Self-Managed resource usage in the context of Airbyte’s scaling recommendations: --- ### CPU Usage - Your load average (~1.0) is well below your available 4 vCPUs, and %Cpu(s): 74.1 id means about 74% of CPU is idle. - The highest CPU-consuming process is a Python process at 85% of a single core, but overall, your system is not CPU-bound. - Interpretation: You are not currently CPU-constrained. Airbyte recommends starting with a mid-sized instance (like yours) and scaling up if you see high CPU usage across all cores during syncs. Since you have plenty of idle CPU, increasing CPU is not necessary at this time [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). --- ### Memory Usage - You have 16 GB RAM, with 5.9 GB free and 2.8 GB in buff/cache. No swap is in use. - The largest Java process is using about 1.6 GB (10.4% of RAM), and other Java processes are using less. - Interpretation: You are not memory-constrained. Airbyte recommends monitoring for high memory usage, especially by source workers (which can use a lot of memory for large tables). Since you have significant free and available memory, there is no immediate need to increase RAM [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). --- ### Disk Usage - You have 70 GB free on your main partition, which is well above the recommended minimum of 30 GB per node for Airbyte [Scaling Airbyte](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). - Interpretation: Disk space is not a concern. --- ### Summary & Recommendations - Current resources are sufficient for your current workload. You are not CPU, memory, or disk constrained. - If you want to run more concurrent syncs, you can safely increase MAX_SYNC_WORKERS and (if supported by your deployment) replicaCount, as your system has headroom. - Continue to monitor these metrics during peak sync activity. If you see CPU consistently near 100% or memory nearly full (with swap usage), then consider scaling up. For more details on scaling and what to monitor, see the official Airbyte documentation on [scaling and resource allocation](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale). If you need step-by-step instructions for changing worker settings, let me know your deployment method (Docker Compose, Kubernetes, etc.), as the knowledge sources do not provide abctl-specific steps.Steve Caldwell
10/13/2025, 2:55 PMkapa.ai
10/13/2025, 2:56 PMkapa.ai
10/13/2025, 2:56 PMMAX_SYNC_WORKERS and the number of worker replicas) for an Airbyte deployment installed with abctl (which uses a local Kubernetes cluster managed by kind): --- ## 1. Accessing the Kubernetes Cluster Airbyte installed with abctl runs inside a kind (Kubernetes-in-Docker) cluster. To interact with it, use kubectl with the kubeconfig provided by abctl: sh kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl get pods This command lets you interact with the Airbyte pods and resources directly ([abctl troubleshooting FAQ](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq)). --- ## 2. Adjusting MAX_SYNC_WORKERS - MAX_SYNC_WORKERS controls how many sync jobs each Airbyte Worker pod can run concurrently. - This is set as an environment variable in the worker deployment. Steps: 1. Edit the Airbyte Worker Deployment: sh kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl edit deployment airbyte-worker 2. In the editor that opens: - Find the env section under the container spec. - Add or modify the following entry: yaml - name: MAX_SYNC_WORKERS value: "5" # (Set to your desired concurrency) 3. Save and exit the editor. Kubernetes will automatically restart the pods with the new environment variable. --- ## 3. Adjusting Worker Replicas - The number of worker pods (replicaCount) determines how many Airbyte Worker pods are running in parallel. Steps: 1. Edit the Airbyte Worker Deployment: sh kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig --namespace airbyte-abctl edit deployment airbyte-worker 2. At the top of the YAML, find the spec.replicas field and set it to your desired number: yaml spec: replicas: 2 # (Set to the number of worker pods you want) 3. Save and exit. Kubernetes will scale the worker pods accordingly. --- ## 4. Recommendations - After making these changes, monitor your system’s CPU and memory usage as described previously. - If you notice resource saturation, consider scaling your VM or adjusting the number of workers accordingly. --- Note: The knowledge sources confirm that you can use standard Kubernetes tools (kubectl) to interact with and modify your Airbyte deployment when installed via abctl and kind. However, they do not provide abctl-specific commands for scaling; all changes are made via Kubernetes manifests ([abctl troubleshooting FAQ](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#faq)). If you need to make more advanced changes (such as loading custom Docker images), refer to the [developing locally guide](https://docs.airbyte.com/platform/contributing-to-airbyte/developing-locally#using-abctl-for-airbyte-development). --- Let me know if you need more details or run into any issues!Steve Caldwell
10/13/2025, 2:59 PMkapa.ai
10/13/2025, 2:59 PMkapa.ai
10/13/2025, 2:59 PMMAX_SYNC_WORKERS or the number of worker replicas in your Airbyte deployment. However, based on standard Kubernetes behavior, when you update a deployment (such as changing environment variables or replica count), Kubernetes will perform a rolling update: it will gradually terminate old pods and start new ones with the updated configuration. This means that any running syncs in pods that are terminated during the update will be interrupted and may fail. If you want to avoid interrupting active syncs, you may choose to wait until they complete before applying these changes. Otherwise, be aware that ongoing jobs may be stopped as the pods are replaced during the update process. The knowledge sources do not provide a specific Airbyte recommendation on this point, so this guidance is based on general Kubernetes deployment behavior [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#concurrent-sync-limits).Steve Caldwell
10/13/2025, 3:05 PMkapa.ai
10/13/2025, 3:07 PMkapa.ai
10/13/2025, 3:07 PMSteve Caldwell
10/13/2025, 3:15 PMkapa.ai
10/13/2025, 3:15 PMkapa.ai
10/13/2025, 3:16 PMSteve Caldwell
10/13/2025, 3:16 PMkapa.ai
10/13/2025, 3:16 PMkapa.ai
10/13/2025, 3:16 PM