Skip to content
Snippets Groups Projects
  1. Aug 26, 2015
  2. Aug 25, 2015
    • Daniil Medvedev's avatar
      stat refactoring & unit test for stat · baf772d2
      Daniil Medvedev authored
      * struct stat_counter keeps all statistics data (supports several instances)
      * test sends 100 rps, but this methods count only 80
      * stat counting bug fixed
      * style fixes
      * renamed as stat.c to rmean.c
      baf772d2
  3. Aug 24, 2015
    • Sulverus's avatar
      net.box: speed optimizations · 4e9bde25
      Sulverus authored
      * msgpack encoding with lua c api(call, insert, eval, ping)
      * remove extra hash lookup in net.box
      * review fixes for netbox-write
      * rewrite all encoding fucntions using Lua/C
      * replace channels with fiber.sleep()/fiber.wakeup()
      * review fixes (remove an unnecessary include)
      4e9bde25
  4. Aug 21, 2015
  5. Aug 19, 2015
  6. Aug 18, 2015
    • Konstantin Osipov's avatar
      cfg: new cfg api, without explicit passing of cfg options · a9ea70d8
      Konstantin Osipov authored
      With structured configuration, i.e. a Lua table for a list of
      replication peers, it is difficult to pass a configuration option
      to the hook function as a single C object. Don't pass
      options in, but query them from the hook function with cfg_get*
      API.
      
      As a result, all "change" hooks have the same signature now,
      a step closer to the pluggable configuration API.
      a9ea70d8
  7. Aug 14, 2015
    • Roman Tsisyk's avatar
      Fix #897: Introduce a public C API for stored functions in C and plugins · 316d4e3a
      Roman Tsisyk authored
      Introduce a layer of wrappers for a number of internal box functions,
      dealing with accss to spaces and indexes.
      
      These wrappers:
          * don't throw exceptions
          * have a common prefix box_
          * are exported in the server development headers
      
      Rewrite Lua C bindings to use the public API described above.
      Rewrite Lua FFI bindings to do the same.
      Add test.
      316d4e3a
  8. Aug 12, 2015
  9. Aug 11, 2015
  10. Aug 10, 2015
  11. Aug 04, 2015
    • Konstantin Osipov's avatar
      gh-968: box.slab.info.arena_used_ratio is incorrect · bc912acb
      Konstantin Osipov authored
      Reflect in slab stats the quota size and index memory statistics.
      
      arena_used_ratio - how much of arena is used
      items_used_ratio - how much memory is actualy used for items,
      given that there is some fragmentation. Doesn't reflect index pages
      arena_used - how much of the quota is used (i.e. how much memory
      is used for index and tuple data)
      arena_size  - this is the same as box.cfg.slab_alloc_arena.
      quota_size - how much of the quota is defined (box.cfg.slab_alloc_arena)
      quota_used - how much of the quota is used (reflects the memory taken
      by all slabs, including slabs in caches)
      
      Incompatible change:
      Extract detailed slab statistics to a separate call, box.slab.stats()
      bc912acb
  12. Aug 03, 2015
  13. Jul 27, 2015
  14. Jul 23, 2015
    • Konstantin Osipov's avatar
      iproto: move networking into a separate thread · 518b570c
      Konstantin Osipov authored
      Implement a generic inter-cord communication bus and use it
      in separating network I/O and transaction processor.
      
      Split all request processing work into network thread part
      and transaction processor thread part, and make these
      parts multi-threading safe.
      
      Generalize fiber pool into an own data structure and API.
      
      Misc cleanups.
      518b570c
  15. Jul 22, 2015
  16. Jul 20, 2015
  17. Jul 19, 2015
  18. Jul 17, 2015
  19. Jul 15, 2015
  20. Jul 13, 2015
  21. Jul 10, 2015
  22. Jul 09, 2015
  23. Jul 08, 2015
Loading