SShortSingh.
Back to feed

Connection Pools Starve When AI Agents Hold Leases During Slow External Calls

0
·5 views

An article on DEV Community argues that outages can occur even when database CPU is nearly idle, because connections are held open while waiting on external systems. The author notes that AI agent runtimes, which leave a pooled connection leased during slow LLM or API streams, are a common cause. Using Little's Law, the piece shows that a 20-connection pool handling 2ms queries can sustain about 10,000 requests per second, but drops to roughly 0.7 requests per second when each connection is held for 28 seconds. The result is queuing, timeouts, and HTTP 500 or 503 errors despite low resource utilization. The article argues that vertical scaling does not solve the problem, and that the same pattern affects Redis, HTTP clients, Kafka, and CRM API quotas. It also states that single-threaded unit tests and staging environments typically fail to surface this issue.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

GPT-6 Astra edit lifts small model's math score, but weight-reading claim fails audit

MIT CSAIL researchers reported that GPT-6 Astra edited about 0.016% of Qwen3.5-0.8B's weights without training, raising MATH-500 accuracy from 7.9% to 48.1%. The edit changed a rank-1 component in 64 columns of two down_proj tensors, and an independent re-run reported 51.0% on MATH-500. Much of the gain appears to come from removing a repetition loop that caused the base model to hit token limits, rather than from new mathematical ability. A broader claim that the model could read weights to infer training data did not survive an independent audit published on 5 November 2026. The edited checkpoint is released under Apache 2.0 and is small enough to run on a 12 GB GPU.

0
ProgrammingDEV Community ·

Arete 27B Cuts Propaganda in Qwen3.8-27B Fine-Tune, Scores Higher on Fact Accuracy

Nous Research released Arete 27B on 6 November 2026, an Apache 2.0 supervised fine-tune of Alibaba's Qwen3.8-27B aimed at reinforcing Western values. On the company's 803-prompt values evaluation, the share of answers containing propaganda fell from 22% to 0.9%, and the mean fact score rose from 2.32 to 2.98 out of 5. The model still trails the teacher model Inkling and Mistral Large 4 on fact scores, while general benchmark results were essentially unchanged. The training used roughly 52.8 million tokens of text-only data, with no reinforcement learning or architectural changes. Nous Research published the weights, training pairs and evaluation set, though no hosted provider serves the model yet.

0
ProgrammingDEV Community ·

DeepMind AI Agents Find Weaknesses in 1024-bit RSA, Urging Key Retirement

On 6 November 2026, Google DeepMind announced that AI agents working under human supervision identified two weaknesses in 1024-bit RSA encryption. One method reportedly lowers the cost of forging signatures by about 1,600 times compared with the previous best, while another reduces the average cost of factoring each additional key in a large batch by roughly 30 times. These figures come from theoretical estimates, and no live production keys were broken. Keys of 2048 bits or larger, which modern protocols almost universally use, are not affected. Organizations are advised to inventory their 1024-bit keys and replace them with 2048-bit or larger RSA, ECDSA, or Ed25519.

0
ProgrammingDEV Community ·

GitHub Copilot Now Available in Apple's Xcode 27.3 Beta

Apple released Xcode 27.3 beta on November 3, 2026, and GitHub confirmed on November 4 that Copilot now runs inside the built-in coding assistant. The beta requires macOS Tahoe 26.6 or later, with a public release expected in December 2026 alongside macOS 27.3. Users sign in with a GitHub account, and any Copilot plan is supported. The integration is in public preview and coexists with the existing GitHub Copilot extension for Xcode, which Apple and GitHub both confirm. Apple warns that the feature may share project files with its model, so users are advised to review its privacy documentation first.