Feature #286

Feature #328: Enduro/X Version 6.0 master task

async logger and latent command framwork (LCF)

Added by Madars Vitolins 9 months ago. Updated 3 months ago.

Status:NewStart date:02/10/2018
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


We shall enable new flag for debug string, which is async. This means that at init we spawn new thread which will be busy with writting data to log files. While the "clients" to logger, will just put the strings in linked lists and send for thread to write to files.

Also at periodical intervals, async logger shall check some shared memory block where there will be rotating list of commands which shall be executed by all LCFs. The command shall be command_id, and 3x arguments (something like 32 byte chars). custom commands shall be configurable to receive callback. The xadmin shall support custom command registration.

built in commands:
- change debug levels of Enduro/X logger
- re-parse cache data (requires cache thread safety on objects)

This will allow to change configuration of the binaries "on the fly" with out restart.

Binaries shall keep some pointers to last executed command, and loop over to next. And what the list by timestamps (monotonic should be fine). When command is processed, thread should remember that, and also it should update the counter in command block - how much processes are executed that command. So that admin have some overview of status.


#1 Updated by Madars Vitolins 9 months ago

it shall be possible to send command to exe name or server id.
Also there shall be some header info, to point where commands start/stops?

#2 Updated by Madars Vitolins 8 months ago

  • Subject changed from async logger and latenet command framwork (LCF) to async logger and latent command framwork (LCF)

#3 Updated by Madars Vitolins 4 months ago

scheduled for 5.4 a.k.a 6.0

#4 Updated by Madars Vitolins 4 months ago

  • Parent task set to #328

#5 Updated by Madars Vitolins 3 months ago

Also it would be nice to have dump encryption facility. Something like public key loaded on disk, then in memory we generate some AES key, and then each dump consists of AES key under PUB key and dump encrypted under AES.

Also need a utility for log file decryption. The encoded dump segments must be marked specifically.

Also available in: Atom PDF