1. 10 Jul, 2015 2 commits
  2. 09 Jul, 2015 1 commit
  3. 18 Mar, 2015 1 commit
  4. 24 Oct, 2014 1 commit
    • Petr Pudlak's avatar
      Expose results of asynchronous actions using a data type · b28464c0
      Petr Pudlak authored
      Previously waiting for the result of a call to an asynchronous worker
      was tied to triggering the action. This patch adds a data type that
      allows waiting and retrieving the result any time later (or never).
      
      In particular, this allows functions that modify the lock set or the
      configuration to return the Async data type, letting the caller trigger
      different workers in parallel and decide if for what results to wait and
      when.
      
      This separation also slightly cleans the internal implementation.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      b28464c0
  5. 15 Oct, 2014 1 commit
  6. 14 Oct, 2014 1 commit
  7. 13 Oct, 2014 1 commit
  8. 17 Sep, 2014 3 commits
  9. 15 Sep, 2014 1 commit
  10. 28 Jul, 2014 2 commits
  11. 25 Jul, 2014 1 commit
    • Petr Pudlak's avatar
      Add 'yield' statements in Haskell code · 7fa3fffe
      Petr Pudlak authored
      - After a message is sent over the network (even UDS), it takes a
        non-trivial amount of time for a client to parse the message, reply
        and encode a new one. Therefore reading immediately from the network
        just wastes system calls. It has been observed that 'yield'-ing at
        this point saves these system calls, yielding to overall better
        performance.
        See http://www.yesodweb.com/blog/2014/02/new-warp
      - Similarly, when an asynchronous writer finishes its job, it makes
        sense to give priority to other threads. This allows the other tasks
        to proceed, resulting in bigger batches of work for the asynchronous
        writer under higher loads.
      Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
      7fa3fffe
  12. 07 Jul, 2014 5 commits
  13. 25 Jun, 2014 1 commit
  14. 05 Jun, 2014 1 commit
  15. 04 Jun, 2014 2 commits
  16. 29 May, 2014 2 commits
  17. 27 May, 2014 1 commit
  18. 26 May, 2014 1 commit
  19. 19 May, 2014 1 commit
  20. 16 May, 2014 1 commit
  21. 12 May, 2014 2 commits
  22. 29 Apr, 2014 1 commit
  23. 17 Apr, 2014 3 commits
  24. 26 Feb, 2014 2 commits