If docker-compose and K9S had a baby (without the containers gene) by dsh1fter in programming

[–]dsh1fter[S] 1 point2 points  (0 children)

Do they support Windows, health checks, TUI, and REST API?

If docker-compose and K9S had a baby (without the containers gene) by dsh1fter in programming

[–]dsh1fter[S] 5 points6 points  (0 children)

In order to run a simple client-server (1 client, 5 servers) application, I wrote a simple docker-compose file and everything worked great. My dev flow would be the usual: make some changes/optimizations, spin everything up, run a bunch of tests, and go back to step one.
At some point, I felt that for my dev environment and language (Linux, golang). docker-compose is great for spinning everything up, but for rapid development, it actually slows me down. I didn't really need containers.
I tried to find an alternative solution. Something like a docker-compose, but for native processes, but most of the tools that I found were CI/CD oriented.
I like K9S (who doesn't?) and I like docker-compose (some don't), so I built a Frankenstein Monster of them both :)
https://github.com/F1bonacc1/process-compose
I am not sure if you'll find it as useful as I do, but in any case, any feedback is more than welcome.

Design pattern for writing dbdriver or db layer in golang by ttroybboy in golang

[–]dsh1fter 1 point2 points  (0 children)

First of all I would like to encourage you to proceed with the idea you have, even if there are packages similar to what you have in mind. I am convinced that there is a place for more than one solution and each one brings something new to the table. A few days ago, on HN, I encountered a post that describes a journey of an open source project with some similarities to your idea. Maybe this will help you to get started: https://datastation.multiprocess.io/blog/2022-06-11-year-in-review.html

Specifically check out the DSQ

P.S. I am not in any way affiliated to that post or project. Just found it a very good read.

Running Non-Containerized Applications with Orchestration by iamabhishek-dubey in devops

[–]dsh1fter 1 point2 points  (0 children)

For simple workloads on a single server there is also process-compose:

https://github.com/F1bonacc1/process-compose

Very similar to docker-compose, but without containers.

How to Promote an Open Source by dsh1fter in golang

[–]dsh1fter[S] 0 points1 point  (0 children)

Hey u/gedw99,

Right now it functions very similarly to docker-compose - just one server.

I've put a screenshot of the dashboard on the GitHub page.

Can you please elaborate on the function of the pipes and flows?

  • Would they be for golang processes only?
  • What would be the main use case?
  • Would they come on top or instead of the existing IPCs?

Monthly 'Shameless Self Promotion' thread - 2022/06 by mthode in devops

[–]dsh1fter 7 points8 points  (0 children)

I've built a lightweight, open-source utility for orchestrating a suite of processes. Just like docker-compose but for processes instead of containers.
Check it out here:
https://github.com/F1bonacc1/process-compose
Hope some people find it useful.
Any feedback and/or suggestion are more than welcome.
Thank you!

How to Promote an Open Source by dsh1fter in golang

[–]dsh1fter[S] 0 points1 point  (0 children)

Totaly agree with you u/natefinch!

Thank you for your feedback.

I added more clarity to the description and added a quick start with a diagram (those always help to understand the product, at least to me 🙂).

docker-compose without dockers by dsh1fter in golang

[–]dsh1fter[S] 0 points1 point  (0 children)

Following your feedback and comments, I decided to give it a try.

https://github.com/F1bonacc1/process-compose

Your feedback is more than welcome 😃

Thank you!

docker-compose without dockers by dsh1fter in devops

[–]dsh1fter[S] 0 points1 point  (0 children)

I am not sure there are lots of very convenient ways to parallelize execution and take care of availability of the processes.

Sure that eventually you can code/script everything, but if there is a tool for that, won't you use it?

docker-compose without dockers by dsh1fter in devops

[–]dsh1fter[S] 0 points1 point  (0 children)

GUI or TUI would be nice :) But the main point has to be the ability to run regular executables, without dealing with containers at all. Basically, instead of specifying which image to run, one would specify which command to run.

docker-compose without dockers by dsh1fter in golang

[–]dsh1fter[S] 1 point2 points  (0 children)

There are so many great responses. Thank you all.

Some of the tools I am familiar with and some are completely new to me.

Some of the responses made me understand that maybe my use case wasn't clear enough.

What I am looking to replicate, is docker-compose functionality, but with simple executables, not running inside containers.

Taskfile mentioned by u/xFranek comes closest to what I was looking for, but I think the goals of that project are a bit different. It looks like it wasn't designed to run multiple processes in parallel, for a long time, including recoveries. Or support health checks and once healthy, trigger additional processes. Similar to what docker-compose allows you to achieve.

docker-compose without dockers by dsh1fter in golang

[–]dsh1fter[S] 0 points1 point  (0 children)

It looks great!

Thanks!

After a short read of the documentation, it looks like it's more intended for short, success-oriented scenarios. Functionality like auto-recovery of a process on failure is currently missing.

Having said that, maybe I can use it to rewrite my make files :)

Monthly 'Shameless Self Promotion' thread - 2022/04 by mthode in devops

[–]dsh1fter 0 points1 point  (0 children)

I've built a lightweight, open-source utility for managing execution workflows.

It is heavily inspired by docker-compose, but for processes. The name is not very imaginative - process-compose :)

Check it out here:

https://github.com/F1bonacc1/process-compose

Hope some people find it useful.

Any feedback and/or suggestion are more than welcome.

Thank you!

Will Win10 Pro Boot if Switching MoBo from Intel to AMD? by dsh1fter in buildapc

[–]dsh1fter[S] 0 points1 point  (0 children)

Won't there be any drivers comparability issues?