Josh Baker
Josh Baker
I occasionally modify the behavior of the mock server to fit the needs of the current changes to Tile38. If I expose the mockServer type in the `github.com/tidwall/tile38/tests` package, I...
Hi, Here's a high level view of how Tile38 sends events. Each SET command runs atomically. For example, for the SET command: ``` > SET fleet truck POINT 33 -112...
> When analysing the events in Kafka, they are not ordered in time anymore, thus entering and exiting a geofence are not logical. The enter/exit ordering for a specific geofence...
A default value can be ensured by using the `[key,!"default"].0` pattern. This uses a multipath array to put the `key` value into the first position of an array, and a...
``` friends.#.others.#.[k,!null].0 ``` is basically the same as what @volans- used in his example above ``` friends.#.others.#.[{"k":!null},{k}].@join.@values|#.@flatten ``` but it may be is a little easier to disect.
Optionally you can copy the btree before iterating using the Copy function. This will allow for mutating the original btree while iterating over the copy.
It may be worth experimenting. Perhaps a simple sync.Pool for nodes would suffice. > Ensure theres never cross-thread dependencies if multiple maps are used in parallel. (As all memory pooling...
thanks. I bumped it to 1.19.
I looked into this issue. There are two problems. First, when loading a database from disk, entries with an expired timestamp may still find their way to the in-memory database...
I just pushed a fix that addresses the problem.