From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; dkim=pass header.d=lassitu.de header.i=@lassitu.de header.a=rsa-sha256 header.s=dkim header.b="nZYW5y/x"; arc=none (Message is not ARC signed); dmarc=none Received: from jan.hanse.de (jan.hanse.de [IPv6:2a00:14b0:f001:100::fc]) by mail.toke.dk (Postfix) with ESMTPS id 5768419344BD for ; Thu, 29 Oct 2026 19:45:02 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D0E98EE9D01; Thu, 29 Oct 2026 19:44:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassitu.de; s=dkim; t=1793299500; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=KeBwy89ZKE7anqKB09zZEe+tqKfS2dgGT+PtEQPB7BQ=; b=nZYW5y/xzpO9UaAMDdVuBkbFlf1jgdso5XJ/iDsEiUtro102wNtfTIFgsIfbl+XRmpnLVH LbuaDQYCI02oC9EBN/jO+LE/Exmm942mS6o6FJVpfIjM+4esixv7T+2zkX6G4OCsoHQ+62 bQN/QrkYM7EVnvUow6Asa8NjSq2obWmNPC+oeiUAlHGsdyCquCHPF3esM6OzSzXlTEVlj2 3AqqlwQ6cuePvYewHWZwFQ7jBqcOwXob+5Y/ivxaWdR5OaeKsBZ9Y2NTEVrbfq/4Uo3kWH 6dgqjzhS3jFZSqF5c9BjeasPW7QGnKea3ufAcJ4++LO2+ssMYiV/beM0Ir9W9w== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3901.200.71.1.16\)) From: Stefan Bethke In-Reply-To: <87qzhkmpa4.wl-jch@irif.fr> Date: Thu, 29 Oct 2026 19:44:58 +0100 Cc: galene@lists.galene.org Content-Transfer-Encoding: quoted-printable Message-Id: <121CCD01-E105-4A60-8BAA-1FDC7865F5C6@lassitu.de> References: <988C59EA-3721-46A7-A301-908CC8BCB960@lassitu.de> <87qzhkmpa4.wl-jch@irif.fr> To: Juliusz Chroboczek X-Mailer: Apple Mail (2.3901.200.71.1.16) X-Last-TLS-Session-Version: TLSv1.2 Message-ID-Hash: 6RTNYNL6R7F2POUVO3WW5D7RWND4CTCS X-Message-ID-Hash: 6RTNYNL6R7F2POUVO3WW5D7RWND4CTCS X-MailFrom: stb@lassitu.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Subject: [Galene] Re: Additional stats List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi there, here is my proposal: https://github.com/jech/galene/pull/349 I will be running this code and testing it with Prometheus and Grafana = for the next weeks, and eventually at our event on Dec 27th to 30th, so = I will be able to report any practical findings from running it. Let me know what you think. Thanks, Stefan > On 20. Oct 2026, at 16:15, Juliusz Chroboczek wrote: >=20 > Hi Stefan, >=20 >> I would be interested in making that endpoint an optional feature in = Gal=C3=A9ne, and I would additionally be interested in collecting ICE = information. >>=20 >> Is there interest in such features, and would it be OK for me to use = GenAI (Claude) for the implementation? >=20 > Extra statistics would be useful. However two caveats: >=20 > 1. Respect user privacy. For example, the current endpoint does not > expose IP addresses or user names. This is important: people are = using > galene.org for intimate couple chat (I know because the group names = are > exposed), and there is at least one priest using Galene for online > confession (he's using his own instance, thankfully). >=20 > 2. Don't harm performance, at least when the admin is not monitoring. > Galene is very carefully constructed to scale across many cores. = For > example, we avoid locking whenever possible, and we try to avoid = atomic > variables that are shared between more than a few threads. >=20 > Note in particular that the Go Prometheus library uses global = atomics, > which is a bad idea, since it causes cacheline bouncing. (The right > solution would be to have per-thread or per-CPU counters, together = with > periodic reconciliation.) >=20 > I guess what I'm saying is that I'd love you to experiment, but please > don't be discouraged if I don't accept your first attempt. >=20 > -- Juliusz --=20 Stefan Bethke Fon +49 175 3288861