mitogen | Mosh | |
---|---|---|
11 | 152 | |
2,259 | 12,216 | |
1.0% | 0.4% | |
8.2 | 4.6 | |
3 days ago | 28 days ago | |
Python | C++ | |
BSD 3-clause "New" or "Revised" License | 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.
mitogen
-
Two File Descriptors for Sockets
Ran into a variant of this when working on an IO loop, ended up with a little "Side" abstraction to wrap bidirectional/unidirectional descriptors to behave identically for the rest of the library. It's an annoying wart but pretty easy to avoid in userspace.. https://github.com/mitogen-hq/mitogen/blob/798032b9/mitogen/...
-
Mitogen speedup (the actual value)
It's an odd piece of code for 'self-replicating', and I'd say is a bit of obscure project, but it has something amazing: alternative strategies for Ansible to speedup playbooks. It's rough, badly supported, requires patching to run on modern Ansible versions, and you are on your own if you use it, but it's so fast, that's it's impossible to drop. https://mitogen.networkgenomics.com/
-
Benchmarking ansible-core 2.11 vs 2.14 and python 3.9 vs 3.11 along with ara's database backends
I'm not sure how to interpret running 100 debug messages (https://github.com/ansible-community/ara/blob/master/tests/integration/benchmark_tasks.yaml) into real life performance. Mitogen's Benchmark used either 100 times a "hostname" command on the target machine (https://github.com/mitogen-hq/mitogen/blob/master/tests/ansible/bench/loop-100-items.yml) or running the DebOps project (https://github.com/debops/debops-playbooks/blob/master/playbooks/common.yml) for some sorta real-world module usage.
- Mitogen is a Python library for writing distributed self-replicating programs
-
Summary unreachable Hosts at end of Playbook
You can try to decrease the amount of failed connections w mitogen: https://github.com/mitogen-hq/mitogen/tags
-
Surprisingly Slow
It could use a Queue of some kind rather than just pushing onto a deque between threads [1]? Then it would idly wait for the results_thread_main to push results.
I guess that might be what Mitogen does, a faster Ansible strategy. https://github.com/mitogen-hq/mitogen/blob/master/docs/ansib...
[1] https://github.com/ansible/ansible/blob/becf9416736dc911d341...
-
Ansible, Mitogen, Collections/Plugins
Yes, I use ansible-base + manually installed collections and mitogen works with both fully qualified module names as well as the short version. Should work since last year actually: https://github.com/mitogen-hq/mitogen/releases/tag/v0.3.0-rc.0
- RFC Sustainability of Mitogen project · Issue #773 · dw/mitogen
-
RFC: Sustainability of Mitogen, an Ansible accelerator
dw did make a comment there, but its definitely got a disgruntled attitude.
Mosh
-
The IDEs we had 30 years ago and we lost
If you haven’t already, and I know this doesn’t hold up for GUI emacs or vim, but consider running them through https://mosh.org/
- mosh: Mobile Shell
-
Write Your Own Terminal
FWIW, I wouldn't try to parse escape sequences "directly" from the input bytestream -- it's easy to end up with annoying bugs. Longer-term it's probably better to separate the logic e.g.:
- First step (for a UTF-8-input terminal emulator) means "lexing" the input bytestream as UTF-8 into a stream of USVs, which involves some subtleties (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- Second step is to run the DEC parser/FSM logic on the sequence of USVs, which is independent of the escape sequences (https://vt100.net/emu/dec_ansi_parser ; https://github.com/mobile-shell/mosh/blob/master/src/termina...).
- And then the third step is for the terminal to execute the "dispatch"/"execute"/etc. actions coming from the FSM, which is where the escape sequences and control chars get implemented (https://github.com/mobile-shell/mosh/blob/master/src/termina...).
Without this separation, it's easier to end up with bugs where, e.g., a UTF-8 sequence or an ANSI escape sequence is treated differently when it's split between multiple read() calls vs. all in one call.
-
Typing Fast Is About Latency, Not Throughput
Btw, you can use mosh to hide the latency of SSH. https://mosh.org/
-
How do I enable new pane/tab with CWD while using mosh?
I've been using Kitty's SSH features for as long as I can remember but I recently setup Mosh and I really like how it doesn't drop connections and supports roaming.
-
Buying an iPad Pro for coding was a mistake
I am surprised many people write about ssh into a server. Mosh[1] feels more responsive and it also supports longer sessions.
[1] - https://mosh.org/
-
Prompt2, heads up; they are readying up another version Prompt2 has been abandoned by devs since iOS 14 / 1y ago in a crashing state - Now they want to make another money-heist cash-grab from its users by forcing them to upgrade one of the most expensive apps of all time.
Also they support Mosh which I install on my servers. It's way better than plain ssh when you're on mobile networks and wifi, especially with connections that are unreliable or bandwidth-constrained.
- Zellij New WASM Plugin System
-
networkingStarterPack
I’ve recently been experimenting with MoSH (Mobile Shell). Basically think SSH but with UDP - so more resilient to shoddy network conditions, roaming access points, etc.
-
How can I get a lisp image to run in the background?
If it is not for production (e.g. running as a daemon or a server) and you only care about the development, another ad-hoc way is using screen/tmus-like software incl. byobu, and combine it with mosh.
What are some alternatives?
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
Eternal Terminal - Re-Connectable secure remote shell
ceph-cm-ansible - Ansible configurations for Ceph.com infrastructure
tmux - tmux source code
javaslang-circuitbreaker - Resilience4j is a fault tolerance library designed for Java8 and functional programming
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.
crustaceans - Travis / GitHub Pages powered lobste.rs community planet instance
Advanced SSH config - :computer: make your ssh client smarter
volkswagen - :see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass.
Code-Server - VS Code in the browser
Comcast - Simulating shitty network connections so you can build better systems.
PowerShell - PowerShell for every system!