Skip to content

sse_connection_manager.cpp

GitHub Actions edited this page Jan 2, 2026 · 1 revision

sse_connection_manager.cpp

Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Src


Path: src/server/sse_connection_manager.cpp

Purpose: Manages Server‑Sent Events connections for streaming endpoints (changefeed SSE, etc.).

Public functions / symbols:

  • if (poll_timer_) {
  • if (config_.max_events_per_second > 0) {
  • if (elapsed_ms >= 1000) {
  • if (conn->sent_in_window < config_.max_events_per_second) {
  • if (budget == 0) {
  • if (count == 0) {
  • ``
  • for (auto& [id, conn] : connections_) {
  • if (!running_) {
  • if (!conn->active) {
  • for (const auto& event : events) {
  • if (config_.drop_oldest_on_overflow) {
  • if (running_) {
  • if (!ec && running_) {
  • shutdown();
  • std::lock_guard<std::mutex> lock(connections_mutex_);
  • backgroundPollTask();
  • THEMIS_INFO("SSE Connection Manager shutting down...");
  • THEMIS_WARN("SSE connection {} buffer full, skipping poll", id);

ThemisDB Dokumentation

Version: 1.3.0 | Stand: Dezember 2025


📋 Schnellstart


🏗️ Architektur


🗄️ Basismodell


💾 Storage & MVCC


📇 Indexe & Statistiken


🔍 Query & AQL


💰 Caching


📦 Content Pipeline


🔎 Suche


⚡ Performance & Benchmarks


🏢 Enterprise Features


✅ Qualitätssicherung


🧮 Vektor & GNN


🌍 Geo Features


🛡️ Sicherheit & Governance

Authentication

Schlüsselverwaltung

Verschlüsselung

TLS & Certificates

PKI & Signatures

PII Detection

Vault & HSM

Audit & Compliance

Security Audits

Gap Analysis


🚀 Deployment & Betrieb

Docker

Observability

Change Data Capture

Operations


💻 Entwicklung

API Implementations

Changefeed

Security Development

Development Overviews


📄 Publikation & Ablage


🔧 Admin-Tools


🔌 APIs


📚 Client SDKs


📊 Implementierungs-Zusammenfassungen


📅 Planung & Reports


📖 Dokumentation


📝 Release Notes


📖 Styleguide & Glossar


🗺️ Roadmap & Changelog


💾 Source Code Documentation

Main Programs

Source Code Module


🗄️ Archive


🤝 Community & Support


Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/

Clone this wiki locally