gosercomp
tlog
gosercomp | tlog | |
---|---|---|
2 | 4 | |
408 | 295 | |
- | 1.4% | |
0.0 | 5.2 | |
over 1 year ago | 3 months ago | |
Go | C | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gosercomp
-
Optimal dispatcher for json messages ?
Well, instead of using full GRPC, you could use ProtoBuf. Any "binary" protocol will be faster to parse than JSON, if performance is your biggest factor, you can find benchmarks comparing the different formats.
-
Is there an easy way to copy one struct's fields into another?
I like it because it's faster to parse than JSON, takes up less space than JSON, is dynamic, and you can use a generator to generate highly performant readers / writers for it. The library I recommended tinylib/msgp is one of the faster data serialization libraries in general ( https://github.com/smallnest/gosercomp ), and is well written and easy to use.
tlog
-
Help with installing tlog on Debian 10
https://salsa.debian.org/ascii/tlog/-/tree/debian/latest https://github.com/Scribery/tlog
- How to log bash commands in some simple way?
- Tlog: Terminal I/O Logger
-
Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
Enterprises that requires logging of user actions will very likely not being doing it at the shell level, either through compiled in options, or shell history.
Instead, the Kernel has built in functionality called Auditd[0], which is capable of logging any and all executions, file or socket accesses, and much more. Along with included tooling for quickly finding and alerting on events[3].
Further, if terminal logging or playback is really required (usually not), it's generally done through pam with tlog[1]. Red Hat 8 and above come with built-in tlog support[2].
[0] https://access.redhat.com/documentation/en-us/red_hat_enterp...
[1] https://github.com/Scribery/tlog/blob/main/README.md
[2] https://access.redhat.com/documentation/en-us/red_hat_enterp...
[3] https://wiki.archlinux.org/title/Audit_framework
What are some alternatives?
thriftgo - An implementation of thrift compiler in go language.
trice - 🟢 super fast 🚀 and tiny 🐥 embedded device 𝘾 printf-like trace ✍ code, works also inside ⚡ interrupts ⚡ and real-time PC 💻 logging (trace ID visualization 👀)
sijsop - A simple JSON-based protocol for Go, easy to implement for other languages
snoopy - Snoopy Command Logger is a small library that logs all program executions on your Linux/BSD system.
fgprof - 🚀 fgprof is a sampling Go profiler that allows you to analyze On-CPU as well as Off-CPU (e.g. I/O) time together.
bash-preexec - ⚡ preexec and precmd functions for Bash just like Zsh.
cassette_deck - 🖭 CLI gif recorder, simplified
vscode-bash-debug - Bash shell debugger extension for VSCode (based on bashdb)
logswan - Fast Web log analyzer using probabilistic data structures
uftrace - Function graph tracer for C/C++/Rust/Python
sneller - World's fastest log analysis: λ + SQL + JSON + S3
glog - Leveled execution logs for Go