1. 06 Jul, 2016 3 commits
    • Marek Vavrusa's avatar
      daemon: worker publishes usage information · 93303da5
      Marek Vavrusa authored
      93303da5
    • Marek Vavrusa's avatar
      daemon: workers are interconnected with IPC pipes · de7b3862
      Marek Vavrusa authored
      forks are connected with IPC pipes to process
      group leader and can execute expressions on its
      behalf. so running commands over all workers
      is easy now:
      
      > hostname() -- single
      localhost
      
      > map 'hostname()' -- all
      localhost
      localhost
      localhost
      de7b3862
    • Marek Vavrusa's avatar
      modules/http: graphs, prometheus metrics, websocks · cf2a18b0
      Marek Vavrusa authored
      * http embeds modified lua-http server code that
        reuses single cqueue for all h2 client sockets,
        this is also because the API in upstream is unstable
      * http embeds rickshaw for real-time graphs over
        websockets, it displays latency heatmap by default
        and can show several other metrics
      * http shows a world map with pinned recently contacted
        authoritatives, where diameter represents number
        of queries sent and colour its average RTT, so
        you can see where the queries are going
      * http now exports several endpoints and websockets:
        /stats for statistics in JSON, and /metrics for
        metrics in Prometheus text format
      cf2a18b0
  2. 20 May, 2016 1 commit
    • Marek Vavrusa's avatar
      lib: cache api v2, removed dep on libknot db.h · e68c3a0a
      Marek Vavrusa authored
      this change introduces new API for cache backends,
      that is a subset of knot_db_api_t from libknot
      with several cache-specific operations
      
      major changes are:
      * merged 'cachectl' module into 'cache' as it is
        99% default-on and it simplifies things
      * not transaction oriented, transactions may be
        reused and cached for higher performance
      * scatter/gather API, this is important for
        latency and performance of non-local backends
        like Redis
      * faster and reliable cache clearing
      * cache-specific operations (prefix scan, ...) in
        the API not hacked in
      * simpler code for both backends and caller
      e68c3a0a
  3. 18 Apr, 2016 1 commit
    • Marek Vavrusa's avatar
      daemon: mode(strict|normal|permissive) · e61c48ef
      Marek Vavrusa authored
      the daemon has now three modes of strictness
      checking from strict to permissive.
      it reflects the tradeoff between resolving the
      query in as few steps as possible and security
      for insecure zones
      e61c48ef
  4. 07 Apr, 2016 1 commit
  5. 17 Dec, 2015 1 commit
  6. 24 Nov, 2015 1 commit
  7. 17 Nov, 2015 1 commit
  8. 19 Oct, 2015 1 commit
  9. 18 Oct, 2015 1 commit
  10. 07 Oct, 2015 2 commits
  11. 05 Oct, 2015 1 commit
  12. 01 Oct, 2015 2 commits
  13. 28 Sep, 2015 1 commit
  14. 25 Sep, 2015 1 commit
  15. 24 Sep, 2015 1 commit
  16. 23 Sep, 2015 2 commits
  17. 22 Sep, 2015 1 commit
    • Marek Vavruša's avatar
      daemon: negative trust anchors · 9829167a
      Marek Vavruša authored
      config:
      trust_anchors.negative = { ‘bad.cz’, ‘here.com’ }
      
      all names below these NTA will not be validated
      (unless there is an island of trust below these anchors)
      9829167a
  18. 21 Sep, 2015 1 commit
  19. 13 Jul, 2015 2 commits
  20. 30 Jun, 2015 1 commit
  21. 10 Jun, 2015 1 commit
  22. 27 May, 2015 1 commit
  23. 18 May, 2015 1 commit
  24. 07 May, 2015 2 commits
  25. 29 Apr, 2015 1 commit
  26. 23 Apr, 2015 1 commit
  27. 19 Apr, 2015 1 commit
    • Marek Vavruša's avatar
      daemon/engine: syntactic sugar for module ‘get’, ‘set’ properties · ae7b572d
      Marek Vavruša authored
      if the module declares such properties, they can be accessed
      by treating module as a table, e.g.
      
      hints[‘localhost’] = ‘127.0.0.1’
      hints.hostname = ‘192.168.1.1.
      print(hints.localhost)
      
      equals to:
      hints.set(‘localhost 127.0.0.1’)
      hints.set(‘hostname 192.168.1.1’)
      print(hints.get(‘localhost’))
      ae7b572d
  28. 12 Apr, 2015 2 commits
  29. 08 Apr, 2015 2 commits
  30. 01 Apr, 2015 1 commit
  31. 31 Mar, 2015 1 commit