Skip to content
Snippets Groups Projects
  1. Feb 28, 2017
  2. Feb 10, 2017
  3. Oct 24, 2016
  4. Jul 06, 2016
    • Marek Vavruša's avatar
      93303da5
    • Marek Vavruša's avatar
      daemon: workers are interconnected with IPC pipes · de7b3862
      Marek Vavruša 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 Vavruša's avatar
      modules/http: graphs, prometheus metrics, websocks · cf2a18b0
      Marek Vavruša 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
  5. May 20, 2016
    • Marek Vavruša's avatar
      lib: cache api v2, removed dep on libknot db.h · e68c3a0a
      Marek Vavruša 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
  6. Apr 18, 2016
    • Marek Vavruša's avatar
      daemon: mode(strict|normal|permissive) · e61c48ef
      Marek Vavruša 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
  7. Apr 07, 2016
  8. Dec 17, 2015
  9. Nov 24, 2015
  10. Nov 17, 2015
  11. Oct 19, 2015
  12. Oct 18, 2015
  13. Oct 07, 2015
  14. Oct 05, 2015
  15. Oct 01, 2015
  16. Sep 28, 2015
  17. Sep 25, 2015
  18. Sep 24, 2015
  19. Sep 23, 2015
  20. Sep 22, 2015
    • 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
  21. Sep 21, 2015
  22. Jul 13, 2015
  23. Jun 30, 2015
  24. Jun 10, 2015
  25. May 27, 2015
  26. May 18, 2015
  27. May 07, 2015
  28. Apr 29, 2015
  29. Apr 23, 2015
  30. Apr 19, 2015
    • 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
  31. Apr 12, 2015