!BNzCLICNIgvxBJqcKM:nixos.dev

nixos.dev meta discussions

47 Members
Make sure your GitHub Organisation membership is public as otherwise the login will not work.6 Servers

Load older messages


SenderMessageTime
16 Aug 2021
@nixinator:nixos.devnixinatorah.16:39:17
@nixinator:nixos.devnixinatorwhat is the synapse db?16:39:32
@andi:kack.itandi-A database :D16:39:47
@nixinator:nixos.devnixinatorask a silly question....16:40:02
@nixinator:nixos.devnixinator:)16:40:06
@nixinator:nixos.devnixinatorget a well thought answer. :-)16:40:14
@andi:kack.itandi-Is postgresql the answer you were looking for?16:40:35
@nixinator:nixos.devnixinatorapparenty there is a script to do this.16:40:48
@nixinator:nixos.devnixinatormy friends a bit of pro matrix hoster.16:40:55
@andi:kack.itandi-Yeah there are a bunch but they are not really complete.16:41:04
@andi:kack.itandi-There is purging of empty rooms etc..16:41:14
@nixinator:nixos.devnixinatorhttps://levans.fr/shrink-synapse-database.html16:43:44
@nixinator:nixos.devnixinatori just asked him about this, and he had a meltdown about how crufty the db gets with matrix16:44:14
@nixinator:nixos.devnixinatorand how slow it can become.16:44:19
@nixinator:nixos.devnixinatorstorage is the problem!!!! :-) too much state! :-)16:44:32
@andi:kack.itandi-So, it is a bit different with this server than with the usual homeserver. As this server is also serving logs for all the NixOS channels I can't just go ahead and purge history that is old.16:49:27
@andi:kack.itandi-Also purging the history of channels with no members (what happens on room version upgrades?) might not be a good idea for archiving purposes.16:49:58
@nixinator:nixos.devnixinatorsure.......16:51:21
@nixinator:nixos.devnixinatorwell thanks for your services! 16:51:31
@nixinator:nixos.devnixinatormuch appeciated.16:51:36
@nixinator:nixos.devnixinatorwhere are the logs for the nixos channels, i used to use samualsdr's ones...16:52:13
@nixinator:nixos.devnixinatorbut they were only for irc.16:52:23
@nixinator:nixos.devnixinatorwe need to bring (^-^) back!! :-)16:52:34
@andi:kack.itandi-on https://nixos.dev/ you can find a list of channels that it provides logs for. The list is incomplete as I have to manually update it..16:53:57
@andi:kack.itandi- invited @stigtsp:nixos.devstigo.16:56:33
@nixinator:nixos.devnixinatornixos.dev, nice piece of code.16:59:26
21 Aug 2021
@andi:kack.itandi-I'll do some state compaction work on the server tonight. Usually that shouldn't impact anything but who knows...18:11:09
@andi:kack.itandi-Also while at it I'll switch the memory allocator from jemalloc to mimalloc. Have been testing that on my private server for a few weeks now. For both borg backups and synapse. Really seems to help with the memory spikes that happen when you join larger channels.18:38:07
@andi:kack.itandi-

The promise of that tool was to compress data...

Number of rows after compression: 847 (123.11%)

19:14:48
@andi:kack.itandi-

on the other extreme:

Number of rows after compression: 944793 (20.07%)

19:15:36

Show newer messages


Back to Room ListRoom Version: 6