this series changes the 'journal' api call to stream the journal to the
client, which reduces the memory footprint of the worker processes

for very big logs, the web ui may struggle (depending on browser/cpu/etc.).
if that turns out to be a common problem, we can further optimize
to pagination if necessary

proxmox-mini-journalreader:

Dominik Csapak (1):
  add '-j' flag to output json

 src/mini-journalreader.c | 66 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 63 insertions(+), 3 deletions(-)

http-server:

Dominik Csapak (1):
  http-server: let the api call decide the content-encoding

 src/PVE/APIServer/AnyEvent.pm | 3 +++
 1 file changed, 3 insertions(+)

pve-manager:

Dominik Csapak (1):
  api: journal: stream the journal data to the client

 PVE/API2/Nodes.pm | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to