Commit Graph
865 Commits
Author SHA1 Message Date
Mike Hillyer 5e4ce581f7 Adding instructions to start the server. 2023-03-31 15:00:47 -04:00
Mike Hillyer c926d26e2f Update README.md 2023-03-31 14:39:03 -04:00
Wez Furlong 3148934d94 enable stable rpm repo for rocky 2023-03-31 11:14:26 -07:00
Tom Mairs 66b72214a7 Correcting random spelling mistakes 2023-03-31 11:34:58 -06:00
Mike Hillyer 427c74f09d Aligning chapter names. 2023-03-30 18:09:34 -04:00
Mike Hillyer 143436fd26 Reordering install chapter. 2023-03-30 18:04:28 -04:00
Tom Mairs 5b9799b924 mods for systemD control 2023-03-30 21:43:11 +00:00
Wez Furlong d3a5626180 Add log tailer utility
This commit adjusts the logger:

* When a log segment is finised, the `w` permission bits are removed.
  This is used to signal to the tailer that there will be no additional
  data written to that file.

* On startup, kumod will remove the `w` bits from all files in the
  configured log directories so that any that were left on by a prior
  incarnation will be considered closed when the new generation is
  started up.

* Add a `tailer` utility that will essentially `cat` all of the log
  files in a given directory in the appropriate order, then go into
  log tailing mode, where it will wait for new data to show up.

* When reading data, if it hits EOF, the tailer will wait around until
  more data shows up, or until the `w` bit is removed from the file
  that it is reading.

The idea is that, in a later commit, the tailer will be able to persist
a checkpoint file to record where it got to, and be able to dispatch
chunks of data to eg: a webhook push utility, advancing the checkpoint
only when the utility indicates success.

For now, running `cargo run -p tailer -- --tail /var/tmp/kumo-logs` is
a convenient way to tail the logs as they are written.
2023-03-30 14:01:46 -07:00
Wez Furlong 446048ad26 ci: update actions/cache 2023-03-30 08:05:58 -07:00
Wez Furlong b092fb0a95 ci: update cargo install workflow 2023-03-30 07:55:29 -07:00
Wez Furlong d71e0070a6 ci: update centos7 and ubuntu for tagging 2023-03-30 07:52:20 -07:00
Wez Furlong 2764149669 Add script for cutting a release tag 2023-03-30 07:48:49 -07:00
Wez Furlong f35d208bd6 ci: maybe publish the right bits to the right place on tag 2023-03-30 07:15:49 -07:00
Wez Furlong a4109e65e3 ci: fixup fmt 2023-03-30 07:03:02 -07:00
Wez Furlong 963bf99ed2 ci: centos7 is an aging PITA 2023-03-30 07:01:57 -07:00
Wez Furlong 9ddbaeaa08 ci: update fmt workflow to use nightly rust 2023-03-30 07:00:39 -07:00
Wez Furlong 4d5ca8909c ci: switch to actively maintained rust toolchain action 2023-03-30 06:57:14 -07:00
Wez Furlong 0d431d1f8c Take another run at rpm systemd stuff
Not all platforms have the rpmbuild macros, let's just try
inlining the equivalent steps.

This may require manually reloading and registering systemd
on older systems (centos7).
2023-03-29 17:28:03 -07:00
Wez Furlong 29145124d7 maybe fixup rocky rpm systemd bits 2023-03-29 16:59:31 -07:00
Wez Furlong b37aa6dd21 add some blurb to the architecture page 2023-03-29 16:10:24 -07:00
Mike Hillyer 7e162c18f3 Fixing link error. 2023-03-29 16:31:18 -04:00
Mike Hillyer c2302c4fbc Updating structure of User Guide, reformatting Install section. 2023-03-29 16:30:20 -04:00
Mike Hillyer dcec7ce65c Tidy up the user guide a bit, update the copyright. 2023-03-29 14:34:20 -04:00
Wez Furlong 6db2cb5730 maybe fixup centos7 rpm build 2023-03-29 10:43:25 -07:00
Wez Furlong a029b44d1c add systemd service to .deb 2023-03-29 09:23:45 -07:00
Wez Furlong b199db75c8 don't actually need systemd to build the rpm 2023-03-29 09:19:45 -07:00
Mike Hillyer b9ef485a18 Clarifier on the include directive. 2023-03-29 11:48:27 -04:00
Wez Furlong 10a5c7c37f add systemd service to the rpm 2023-03-29 07:03:16 -07:00
Wez Furlong 7c812e8b30 fix a couple more policy paths 2023-03-29 07:02:46 -07:00
Wez Furlong 8f320babeb update for org rename 2023-03-28 16:47:50 -07:00
Tom Mairs 757c0ce7ea added note on performance results 2023-03-28 23:31:30 +00:00
Tom Mairs a009816095 performance updates 2023-03-28 23:24:32 +00:00
Wez Furlong 01f125d8ad docs: show how queue name varies based on meta values 2023-03-27 18:10:01 -07:00
Wez Furlong 010cff1872 docs: fix examples on concepts page 2023-03-27 17:52:33 -07:00
Wez Furlong e1d935c057 docs: streamline docker bits
I've moved the setting-up-docker bits into a separate page,
but have left it out the TOC.  I'm not sure that level of
detail on docker belongs in this section; perhaps it could
move to an appendix?
2023-03-27 17:48:38 -07:00
Wez Furlong 25bf7a28c8 docs: tweak to credits and readme 2023-03-27 17:48:19 -07:00
Wez Furlong 639ba68ac3 Move developer-focused bits of readme to separate file
and streamline the readme itself
2023-03-27 17:36:02 -07:00
Wez Furlong c206ed635d docs: migrate some bug reporting details to bug template 2023-03-27 17:30:57 -07:00
Wez Furlong 9b9a6773c6 docs: fix typo 2023-03-27 17:10:33 -07:00
Wez Furlong 768319574b docs: refine checking_logs section 2023-03-27 17:09:56 -07:00
Cloud User 2f83fc1735 multiple minor doc edits 2023-03-28 00:00:05 +00:00
Wez Furlong 4b9c2f5238 fix default policy and include path to match docs 2023-03-27 09:41:42 -07:00
Wez Furlong e87a5b18bb Improve performance of finding CRLF.CRLF for large messages by 20x
Using a better tuned algorithm for finding a substring match removes
a CPU bottleneck and improves message throughput by 20x at 100Kb
message sizes.
2023-03-27 09:39:51 -07:00
Wez Furlong 308b581a83 fixup etc dir permissions in packaging 2023-03-24 11:52:14 -07:00
Wez Furlong ece1b89b00 add admin HTTP API for changing the log level 2023-03-24 10:04:00 -07:00
Wez Furlong 6740a68fad add kumo.set_diagnostic_log_filter for adjusting log levels via config 2023-03-24 09:02:10 -07:00
Wez Furlong fbf50bc28f adjust debug log levels for the logging thread 2023-03-24 08:00:57 -07:00
Wez Furlong a81d9d19f9 adjust default logging to include INFO logs 2023-03-24 07:59:46 -07:00
Mike Hillyer e404c9e109 Update credits.md
Adding Taguchi to the credits, thanks guys!
2023-03-24 09:56:40 -04:00
Wez Furlong b57126f724 allow STARTTLS to fail without wiping out the connection
This should improve diagnostics around handshake errors
2023-03-23 16:01:47 -07:00