diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-11-16 20:17:15 +0100 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-11-16 20:17:15 +0100 |
commit | 7b590b725eb2ab31526c69b4e399ffad92118ff6 (patch) | |
tree | 0885563be8fe94c194402db7ec27210432e1d4bf | |
parent | c258d0107091b941b556d5e31923430cc1b9e50f (diff) | |
download | UnspecifiedGarbage-7b590b725eb2ab31526c69b4e399ffad92118ff6.zip UnspecifiedGarbage-7b590b725eb2ab31526c69b4e399ffad92118ff6.tar.gz |
Update some notes
-rw-r--r-- | doc/note/links/links.txt | 6 | ||||
-rw-r--r-- | doc/note/tcpdump/tcpdump.txt | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/doc/note/links/links.txt b/doc/note/links/links.txt index 77ae20d..477e02a 100644 --- a/doc/note/links/links.txt +++ b/doc/note/links/links.txt @@ -218,7 +218,7 @@ Links (Aka argument amplifiers) - "https://stackoverflow.com/a/20177092/4415884" - "https://github.com/swisspush/gateleen/pull/426#discussion_r813752075" - "https://github.com/swisspush/gateleen/blob/v1.1.61/gateleen-kafka/src/main/java/org/swisspush/gateleen/kafka/KafkaMessageSender.java#L21" -- performance long "https://m.youtube.com/watch?v=x5akmCWgGY0" +- [How to use java fancy streams](https://m.youtube.com/watch?v=x5akmCWgGY0) - think please ... "https://m.youtube.com/watch?v=hSfylUXhpkA" ## The Only way to Format Dates ISO 8601 @@ -235,8 +235,8 @@ Links (Aka argument amplifiers) ## Performance DOES matter - "https://github.com/swisspush/gateleen/pull/456#discussion_r844865066" - [Performance Excuses Debunked](https://m.youtube.com/watch?v=x2EOOJg8FkA) -- [Is writing performant code too expensive?](https://m.youtube.com/watch?v=EpYr3T5VP6w) -- [Simple Code, High Performance](https://m.youtube.com/watch?v=Ge3aKEmZcqY) +- [Frameworks & clusters do not solve it](https://www.youtube.com/watch?v=EpYr3T5VP6w&t=1109) +- [Simple Code, High Performance](https://m.youtube.com/watch?v=Ge3aKEmZcqY&t=78) - [Houston Last führt zu Neustart](https://wikit.post.ch/x/HDV8T) - [Houston storage request timed out large json](https://jira.post.ch/browse/SDCISA-11294) - [Preflux Garbage Collection issues](https://jira.post.ch/browse/SDCISA-4714) diff --git a/doc/note/tcpdump/tcpdump.txt b/doc/note/tcpdump/tcpdump.txt index d19c36b..7df4335 100644 --- a/doc/note/tcpdump/tcpdump.txt +++ b/doc/note/tcpdump/tcpdump.txt @@ -16,8 +16,13 @@ Tcpdump redis=6379, brox=7022, fluentd=7099 - cd /tmp && timeout --foreground -s INT 180 tcpdump -ni any -C 50M -W 999 -w houston-STAGE-tcp-`date -u +%Y%m%d-%H%M%S`.pcap "not port 443 and not port 6379 and not port 7022 and not port 7099" -z gzip + cd /usr/local/vertx/houston-storage-file && timeout --foreground -s INT 180 tcpdump -ni any -C 50M -W 999 -w houston-STAGE-tcp-`date -u +%Y%m%d-%H%M%S`.pcap "not port 443 and not port 6379 and not port 7022 and not port 7099" -z gzip + cd /tmp && timeout --foreground -s INT 180 tcpdump -ni any -C 50M -W 999 -w houston-prod-tcp-`date -u +%Y%m%d-%H%M%S`.pcap "not port 443 and not port 6379 and not port 7022 and not port 7099" -z gzip + + ocprod exec -i "$(ocprod get pods|egrep ston-[1-9]|cut -f1 -d' ')" -- sh -c 'cd /tmp && tar c "houston-prod-tcp-20231114-165243.pcap*.gz"' > houston-prod-tcp-20231114-165243.pcap.gz.tar + + ocprod exec -ti "$(ocprod get pods|egrep ston-[1-9]|cut -f1 -d' ')" -- sh -c 'cd /tmp && watch ls -Ahl' ## pcap cli PreProcessing |