<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Connection-Pooling on Меланхоличный блог</title><link>https://notes.melancholic.tech/tags/connection-pooling/</link><description>Recent content in Connection-Pooling on Меланхоличный блог</description><generator>Hugo</generator><language>ru-RU</language><lastBuildDate>Thu, 30 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://notes.melancholic.tech/tags/connection-pooling/index.xml" rel="self" type="application/rss+xml"/><item><title>Подключения к базе данных и Connection Pooling</title><link>https://notes.melancholic.tech/posts/%D0%BF%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F-%D0%BA-%D0%B1%D0%B0%D0%B7%D0%B5-%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85-%D0%B8-connection-pooling/</link><pubDate>Thu, 30 Apr 2026 00:00:00 +0000</pubDate><guid>https://notes.melancholic.tech/posts/%D0%BF%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D1%8F-%D0%BA-%D0%B1%D0%B0%D0%B7%D0%B5-%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85-%D0%B8-connection-pooling/</guid><description>&lt;blockquote
 class="border-primary bg-muted/30 hover:bg-muted/40 my-6 rounded-r-lg border-l-4 py-4 pr-4 pl-6 italic transition-all duration-200 ease-out hover:translate-x-1"&gt;
 &lt;div class="prose prose-sm max-w-none"&gt;
 &lt;p&gt;Перевод: &lt;a href="https://sagarshiroya.dev/posts/database-connection-and-pooling/"target="_blank"
 class="inline-flex items-center gap-1"
&gt;Database Connections &amp;amp; Connection Pooling&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;
&lt;/a&gt; — Sagar Shiroya, 18 апреля 2026.&lt;/p&gt;
 &lt;/div&gt;
 &lt;/blockquote&gt;&lt;script&gt;
function toggleAlert(alertId) {
 const content = document.getElementById(alertId + '-content');
 const chevron = document.getElementById(alertId + '-chevron');
 const header = content.previousElementSibling;
 
 if (content.classList.contains('hidden')) {
 content.classList.remove('hidden');
 chevron.style.transform = 'rotate(0deg)';
 header.setAttribute('aria-expanded', 'true');
 } else {
 content.classList.add('hidden');
 chevron.style.transform = 'rotate(-90deg)';
 header.setAttribute('aria-expanded', 'false');
 }
}


document.addEventListener('DOMContentLoaded', function() {
 const collapsedAlerts = document.querySelectorAll('.alert-content.hidden');
 collapsedAlerts.forEach(function(content) {
 const alertId = content.id.replace('-content', '');
 const chevron = document.getElementById(alertId + '-chevron');
 if (chevron) {
 chevron.style.transform = 'rotate(-90deg)';
 }
 });
});
&lt;/script&gt;

&lt;h2 id="что-такое-соединение-connection"&gt;Что такое соединение (connection)?&lt;/h2&gt;
&lt;p&gt;Когда приложение хочет общаться с базой данных, оно не может просто отправить запрос «в воздух». Нужно установить &lt;strong&gt;соединение&lt;/strong&gt; — выделенный канал связи между приложением и сервером БД. После установки соединения можно отправлять SQL-запросы и получать результаты.&lt;/p&gt;</description></item></channel></rss>