1. 20 Sep, 2019 1 commit
  2. 06 Mar, 2019 1 commit
  3. 08 Jan, 2019 1 commit
  4. 26 Nov, 2018 2 commits
  5. 21 Nov, 2018 1 commit
  6. 02 Nov, 2018 3 commits
  7. 14 Aug, 2018 7 commits
  8. 16 May, 2018 1 commit
  9. 23 Apr, 2018 1 commit
  10. 12 Apr, 2018 1 commit
  11. 06 Apr, 2018 3 commits
  12. 01 Mar, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · f821e688
      Vladimír Čunát authored
      We use the knot style everywhere else; this was very similar and yet
      different, so really annoying to me.  In the long term we might better
      migrate to qp-tries from knot, but the API differs, so it's delayed...
      f821e688
  13. 22 Feb, 2018 1 commit
    • Vladimír Čunát's avatar
      map_t, set_t: unify memory allocation to mm_* · a159bab9
      Vladimír Čunát authored
      We use the knot style everywhere else; this was very similar and yet
      different, so really annoying to me.  In the long term we might better
      migrate to qp-tries from knot, but the API differs, so it's delayed...
      
      (cherry picked from map-alloc - commit b1b8157b94fb41)
      a159bab9
  14. 20 Feb, 2018 2 commits
  15. 25 Jan, 2018 2 commits
  16. 18 Jan, 2018 1 commit
  17. 15 Jan, 2018 1 commit
  18. 10 Nov, 2017 2 commits
  19. 26 Oct, 2017 1 commit
  20. 17 Oct, 2017 1 commit
    • Vladimír Čunát's avatar
      . · 595f4a14
      Vladimír Čunát authored
      Positive caching seems usable now. (No xNAME, wildcards, etc.)
      Problem around zone cuts:
       - clear cache
       - kdig fubar
       - kdig DNSKEY cz
      595f4a14
  21. 13 Oct, 2017 1 commit
  22. 21 Sep, 2017 1 commit
  23. 07 Sep, 2017 1 commit
  24. 01 Sep, 2017 1 commit
    • Vladimír Čunát's avatar
      cache: rework reusing transactions (LMDB) · e2621d92
      Vladimír Čunát authored
      Previously a read transaction could be held open by each fork
      indefinitely.  That was done for better speed, but it had a downside
      of keeping old pages alive and potentially reading only old data,
      until some writes were attempted by that fork.
      
      Now kr_cache_ provides explicit API for suitable points where to break
      transactions, reusing the _sync command.  On LMDB side the read-only
      transaction is only reset and later renewed, supposedly giving better
      performance than aborting (see LMDB docs on reset+renew).
      
      Performance: preliminary testing with two forks, resperf on comcast
      query-set shows no noticeable difference in peak QPS.
      e2621d92
  25. 01 Aug, 2017 1 commit
    • Vladimír Čunát's avatar
      qflags: WIP refactor - regex replacements · 57d48522
      Vladimír Čunát authored
      sed -e 's/flags |= QUERY_\([A-Z0-9_]*\);/flags.\1 = true;/g' \
              -e 's/flags &= ~QUERY_\([A-Z0-9_]*\);/flags.\1 = false;/g' \
              -e 's/\(flags\|options\|opts\) & QUERY_\([A-Z0-9_]*\)\()\| ||\)/\1.\2\3/g' \
              -i $(git grep -l QUERY_)
      57d48522
  26. 12 Jul, 2017 1 commit