- Aug 03, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
this is a first step of leaning towards LuaJIT. the FFI bindings are much faster, simpler and don’t abort traces daemon core scripting engine is still going to support interpreted Lua, but modules requiring library bindings (such as ‘block’) will require LuaJIT for FFI
-
Marek Vavruša authored
previously the pointer for C layer API was stored in Lua, it is stored directly in module data now for fast access. this doesn’t disturb VM when processing requests.
-
Marek Vavruša authored
this provides a useful callback for per-request operations that can’t wait until the query is completed (e.g. blocking or logging started queries)
-
- Aug 01, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
the memory could go through the roof with sufficiently high pps, GC now runs at 4x the speed of allocations and doesn’t wait for increase, some callbacks also perform full collection cycle on completion
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
if the configured modules name is prefixed with ‘<‘ it takes precedence before all others, e.g. modules = { ‘hints’, ‘<block’ } means that the ‘hints’ module will be executed in-order (last), and ‘block’ module layer will be called as first in query processing
-
- Jul 31, 2015
-
-
Marek Vavruša authored
calling a Lua layer now takes only O(1) registry lookup and pushing the right parameters
-
- Jul 22, 2015
-
-
Marek Vavruša authored
this is a saner default for large answers. instead of waiting for probably lost/thrown away fragmented packet, do the query over TCP instead
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Jul 21, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
fixed CID#125374
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
this fixes a problem when a module was removed, but pending queries referenced it, causing a crash. usually when the server was busy and a module was unloaded. as we don’t need to copy layers at all, they’re just iterated from the array of modules using a macro
-
- Jul 19, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Jul 18, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Jul 17, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
before only current I/O handle was tracked for each subrequest, but the requests may have outlived it (connect request isn't cancelable for example), if such request terminated after the request was finished, it checked the address of potentially stale task
-
Ondřej Surý authored
-
-
- Jul 16, 2015
-
-
Ondřej Surý authored
-