Trolli Schmittlauch schmittlauch
  • Joined on 2017-06-16
schmittlauch pushed to refactorRingMap at schmittlauch/Hash2Pub 2020-07-25 23:59:56 +02:00
0d1551261b adjust code to refactored and parameterisable RingMap
9a20a60222 fix type constraints after RingMap refactor
1ff540fd68 refactor RingMap into own module
d55c2f1f1b define typeclasses for interfacing between PostService and DHT
06ba05d341 adjust code to refactored and parameterisable RingMap
Compare 10 commits »
schmittlauch pushed to refactorRingMap at schmittlauch/Hash2Pub 2020-07-25 23:55:55 +02:00
06ba05d341 adjust code to refactored and parameterisable RingMap
14210b3edf fix type constraints after RingMap refactor
b6e2de7de0 refactor RingMap into own module
5883dff561 fixup! Merge branch 'mainline'
537c73c9b2 Merge branch 'mainline'
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-25 23:55:28 +02:00
da1b8f4b9d define typeclasses for interfacing between PostService and DHT
06ba05d341 adjust code to refactored and parameterisable RingMap
14210b3edf fix type constraints after RingMap refactor
b6e2de7de0 refactor RingMap into own module
5883dff561 fixup! Merge branch 'mainline'
Compare 7 commits »
schmittlauch opened issue schmittlauch/Hash2Pub#62 2020-07-25 23:40:28 +02:00
Simplify class, instance and type hierarchy around RingMap
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-25 23:35:39 +02:00
06ba05d341 adjust code to refactored and parameterisable RingMap
14210b3edf fix type constraints after RingMap refactor
b6e2de7de0 refactor RingMap into own module
5883dff561 fixup! Merge branch 'mainline'
537c73c9b2 Merge branch 'mainline'
Compare 6 commits »
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-24 22:29:52 +02:00
a747da4f75 define typeclasses for interfacing between PostService and DHT
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-23 18:30:08 +02:00
c05544aa5b able to start a web server and run the mock API handlers
f1697e5fd7 re-structure post API, placeholder handlers
Compare 2 commits »
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-23 00:10:08 +02:00
5fedd9f87c specify post relay API endpoints
e2ecf0739d maybeEmpty can be replaced by Data.List.listToMaybe
Compare 2 commits »
schmittlauch opened issue schmittlauch/Hash2Pub#61 2020-07-16 02:12:15 +02:00
verify instance IP address
schmittlauch closed issue schmittlauch/Hash2Pub#24 2020-07-16 00:24:55 +02:00
Caching layer for DHT node responsibility resolution
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-16 00:24:55 +02:00
ebc0d54ddc periodically purge lookup cache of expired entries
0ea5402231 improve documentation exports
Compare 2 commits »
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-15 01:45:01 +02:00
c37fe88b35 store and initialise lookup cache
42af6afb86 generalise CacheEntry type
Compare 2 commits »
schmittlauch commented on issue schmittlauch/Hash2Pub#24 2020-07-15 01:02:05 +02:00
Caching layer for DHT node responsibility resolution
  • input: key ID to look up

  • output: hostname, servicePort

    • returning the whole RemoteNodeState would be more future proof in case some other information like node ID were needed
    • but this helps providing a clean interface cut and enforce connection via hostname only
  • caching behaviour:

    • for concurrency: similar to NodeCache handling
    • data structure: tree map (Data.Map.Strict)
    • cache hit: check age, if expired trigger new lookup in DHT (requestQueryID) and schedule update, else return cached entry
    • cache miss: trigger new lookup (requestQueryID) and insert result into cache
    • cleaning: periodic cleaning is needed against atttacker triggering a cache fill up by requesting a large number of random hashtags just once
      • check on each access vs. short cleaning duration
schmittlauch closed issue schmittlauch/Hash2Pub#31 2020-07-14 18:56:55 +02:00
planning of experiments
schmittlauch opened issue schmittlauch/Hash2Pub#60 2020-07-14 18:55:25 +02:00
proper measurement logging
schmittlauch opened issue schmittlauch/Hash2Pub#59 2020-07-14 18:54:04 +02:00
instrumentation script
schmittlauch opened issue schmittlauch/Hash2Pub#58 2020-07-14 18:53:29 +02:00
select, plan and sample test data
schmittlauch commented on issue schmittlauch/Hash2Pub#11 2020-07-14 18:52:47 +02:00
testbed
  • first only do a test run with 3 hardcoded nodes
  • on success select random nodes, autogenerate testbed configuration and run tests
schmittlauch closed issue schmittlauch/Hash2Pub#3 2020-07-14 18:49:27 +02:00
write a concurrent test program
schmittlauch pushed to mainline at schmittlauch/Hash2Pub 2020-07-14 13:40:25 +02:00
8ade04e48d disable online package fetching, only starts to work with cabal 3.4 and needs to be renamed then