From 7dc178859785264d00245df6a8534a2dc09b1f49 Mon Sep 17 00:00:00 2001 From: gurkenhabicht Date: Mon, 15 Jun 2020 21:03:37 +0200 Subject: [PATCH] grammar n stuff --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd85b79..9299f29 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Process is as follows: - Queried data gets queried in chunks afterwards Currently, ethernet, IPv4, IPV6, TCP, UDP and ARP/RARP network protocols are handled. -Because of testing purposes, layout of the table is serialized json. Only procotols inside the packet are not null inside serialized json data. +Because of testing purposes, layout of the table is serialized json. Table layout is somewhat "dynamic". Procotols inside the parsed packet are not null inside serialized json data, all others are. A query may look like this `select packet from json_dump where packet->>'ipv4_header' is not null;` Speaking of serialization: After profiling it turns out that ~20% of cpu time is used for serialization to json. This, of course, could be saved completely.