on master help sign in
UUID generation no longer an issue
fcace7eMichael Xavier
TODO.org+6−1
@@ -29,11 +29,16 @@
29
29
30* katip-elasticsearch
30* katip-elasticsearch
31
31
32−** TODO Efficient UUID generation (don't use system rng)
32+** DONE Efficient UUID generation (don't use system rng)
33+ CLOSED: [2015-03-16 Mon 10:03]
33
34
34 Make RNG once, store it behind an mvar and use it in all uuid
35 Make RNG once, store it behind an mvar and use it in all uuid
35 generation. Use the rng-utils module for this.
36 generation. Use the rng-utils module for this.
36
37
38+ Turns out =uuid= is already doing some clever stuff in their random
39+ instance to make this plenty fast. Benchmarks show we can generate
40+ > 1M ids/sec.
41+
37** TODO Async size-capped buffer for incoming items
42** TODO Async size-capped buffer for incoming items
38 Don't block log requests for server connection, add to buffer and
43 Don't block log requests for server connection, add to buffer and
39 move on. If buffer fills up, drop further logs until there's space.
44 move on. If buffer fills up, drop further logs until there's space.