Skip to content
Snippets Groups Projects
  1. Mar 21, 2015
    • Konstantin Osipov's avatar
      Merge remote-tracking branch 'origin/stable' · 0896a39e
      Konstantin Osipov authored
      Conflicts:
      	src/CMakeLists.txt
      	src/lua/init.cc
      	src/lua/log.lua
      0896a39e
    • Konstantin Osipov's avatar
      net.box: avoid unnecessary syscalls when socket is ready most of the time · bcd13810
      Konstantin Osipov authored
      Don't run event loop if socket is ready to write. *Always* write
      optimistically. With fiber.channel(), channel push  wakes up the waiter
      without in the same event loop iteration. This means that whenever we have
      data on an incoming connection, we can push messages to outgoing connections
      in the same iteration, without epoll_ctl syscalls or unnecessary
      epoll_wait.
      With 1 incoming and 5 outgoing connections, for example, this saves
      ~10 syscalls per each incoming request.
      bcd13810
  2. Mar 20, 2015
    • Konstantin Osipov's avatar
      fiber scheduling: schedule ready fibers more aggressively · 4fe85243
      Konstantin Osipov authored
      If a fiber becomes ready on a user-defined event, schedule it
      in the same event loop, not in the next loop, to save one epoll_wait()
      invocation in cases when something is added to a fiber channel,
      and there is a fiber ready for execution waiting on the channel.
      
      Add a micro-bench to the unit test suite.
      4fe85243
  3. Mar 19, 2015
  4. Mar 18, 2015
  5. Mar 17, 2015
  6. Mar 16, 2015
  7. Mar 13, 2015
  8. Mar 12, 2015
  9. Mar 11, 2015
  10. Mar 10, 2015
Loading