3 ms·
Debugging a single-executable container is quite unpleasant. I assume debugging unikernels or thin VMs (with a kernel and a single program) would be a similar e
by rbanffy 7y ago
Debugging a single-executable container is quite unpleasant. I assume debugging unikernels or thin VMs (with a kernel and a single program) would be a similar experience.
- zarkov99 7y agoCould you not do all your debugging and development on a normal host and only deploy on a unikernel when you are stable? There is already a divide between development and production with debug and release builds the later of which are a massive pain to debug.
- rbanffy 7y ago> debugging and development on a normal host and only deploy on a unikernel when you are stable? Sure! And, still, when you deploy, it fails. At least one of your assumptions that led to your conclusion that your development/testing environment is equivalent to the production one are flawed. Find which ones.
- zarkov99 7y agoThat is not a new problem. To some extent it already happens with debug and release builds, with running on a VM vs a real host, running on a different distribution than the one you developed in, etc. If the performance gains are significant in some domains that would be more than enough to pay for the extra pain.
- rbanffy 7y ago> running on a VM vs a real host, running on a different distribution than the one you developed in Except that, in those cases, you can connect to the server and spin up a shell and actually get an idea, from the file system, from logs or from any of the many ways you have to inspect a system. All that you'll need to provide to your unikernel.
- throwaway894345 7y agoNot much of a problem in theory; just include the relevant library.
- MrBuddyCasino 7y agoYep dev tooling matters. Containers are already annoying, but Unikernels are a different universe, and it is not going to be pleasant.
- microcolonel 7y agoDepends on what is meant by debugging. If you're talking about running a debugger on your program, you can attach GDB to your VM any time you want.
- throwaway894345 7y agoYou can compile your debugging utilities into a unikernel for prod or debug builds (or not at all) depending on your development preferences, performance requirements, and security requirements.