summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-05-04Extract the expire metric outJesper Jensen
2025-05-04Add metric to track next hash expireJesper Jensen
2025-05-04Add some check for expiry timeJesper Jensen
2025-05-04Support for longer transaction IDsJesper Jensen
2025-05-04Remove unused metricJesper Jensen
2025-05-04Remove some noisy debug tracingJesper Jensen
2025-05-04Add some code to assert that there are no dupesJesper Jensen
2025-05-04Drop duplicated peer entriesJesper Jensen
Apparently it's somehow possible for us to duplicate the peer entry. While we figure out how, let's just drop them instead of crashing.
2025-05-04Set the metrics AFTER initializing SMHJesper Jensen
2025-05-04Refactor lookup init and add routing table metricJesper Jensen
I think it would be nice to see the detailed routing table occupancy. I've added a metric that exposes the current occupancy of each bucket. That should provide me some insight into the current distribution of nodes and if we need to find a way to keep the closer buckets alive.
2025-04-26Add end timeout to lookup functionJesper Jensen
2025-04-16Add a first approximation of a lookup algorithmJesper Jensen
This isn't really "correct" but it's probably going to work. It's a rough implementation of the Kademlia lookup algorithm, with the modification that we don't keep track of anything behind the frontier. We are therefore counting on peers being ok with us potentially sending them the "same" request multiple times. If they respond in a reasonable time, the double request rate _should_ be minimal, but that of course carries the risk that an already overloaded peer would get even more queries. I don't know. It's a first try at something. I need to see it work before I write it off completely.
2025-04-15Reformat target generationJesper Jensen
I think this reads nicer
2025-04-15Expose the number of keepalive pings we sendJesper Jensen
2025-04-14Don't crash on invalid dictionaryJesper Jensen
2025-04-14Flush config more often to recover from crashesJesper Jensen
We sometimes crash on bad input. While I fix that, it makes sense to at least be able to recover
2025-04-14Add current hash metricJesper Jensen
It seems like it would be nice to know how many infohashes we actually know about. Let's add a guage that tells us that directly.
2025-04-13Use a real root routerJesper Jensen
2025-04-13Use the normal dht port and rename some metricsJesper Jensen
2025-04-13Expose the query type as a metric labelJesper Jensen
2025-04-12Separate the master build from whatever elsetest-stagingJesper Jensen
2025-04-12WhateverJesper Jensen
2025-04-12We need to login to the registryJesper Jensen
2025-04-12Make the tag handling more annoying againJesper Jensen
The nicer push handling is apparently a podman only thing
2025-04-12Simplify the tag usage a littleJesper Jensen
2025-04-12Set a label to link the docker containerJesper Jensen
2025-04-12Add package write permissionJesper Jensen
2025-04-12Multiline without foldingJesper Jensen
2025-04-12Add crypto-algo back but with a urlJesper Jensen
2025-04-12Remove the crypto-algoJesper Jensen
2025-04-12Checkout submodule in actionsJesper Jensen
2025-04-12Add dockerfileJesper Jensen
2025-04-12Add a docker containerJesper Jensen
2025-04-12Add docker image github actionJesper Jensen
2025-04-12fixup! Add prometheus monitoringJesper Jensen
2025-04-12Add prometheus monitoringJesper Jensen
2025-04-12I don't knowJesper Jensen
2025-04-12I don't rememberJesper Jensen
2025-04-12Add gitignoreJesper Jensen
2021-10-27Merge pull request #1 from DelusionalLogic/mainflushJesper Jensen
Mainflush
2021-10-27Increase payload sizemainflushJesper Jensen
2021-10-16Flush in mainJesper Jensen
2021-10-16Add find_node queryJesper Jensen
2021-10-05Add comment for hacky stuffJesper Jensen
2021-10-05Actually abort on bad testJesper Jensen
2021-10-05Respond correctly no unknown query methodJesper Jensen
2021-10-05Add getclient timeoutJesper Jensen
2021-10-02Add timeout handlingJesper Jensen
2021-09-25Add timeoutJesper Jensen
2021-09-19Add general testsJesper Jensen