adamkewley / jobson

A platform for transforming command-line applications into a job service.
Apache License 2.0
256 stars 20 forks source link

Browse for files / paths? #66

Closed spooknik closed 2 years ago

spooknik commented 3 years ago

Great piece of software I just stumbled upon.

I'd like to make an interface for video_transcoding and the one missing piece of the puzzle seems to be choosing a file on the server. If there an interface option for this? I couldn't seem to find anything in the documentation (might be more poor searching)

Of course the path can always be manually input but it's nicer to have a file picker interface.

Cheers!

adamkewley commented 3 years ago

Hi @spooknik .

There isn't currently a control for doing this, no :cry: .

It's a great feature idea - although I probably do not have the time to implement it because I'm currently working on a bunch of incredibly unrelated projects (so I'd need to spin up on the Java/javascript again).

Just so I can scope the work, though, or if someone is reading this and wants to hop into the lovecraftian horror that is Jobson's sourcecode, a rough rundown of the work required is:

Out of (completely unrelated) interest @spooknik , what kind of size of deployment are you running? A previous request from a researcher ran into scalability problems on file uploads (Jobson's implementation of this is fairly bad) and the filesystem-based backend might have a rough time scaling to thousands of jobs (it was developed for a small team that would only occasionally run a job here or there).

Knowing user's perf requirements is handy because--in some heavenly alternate universe--I would like to rewrite this whole thing in Rust/C++ with an SQLite backend. Unfortunately, I only get an hour here or there to maintain Jobson :(

spooknik commented 3 years ago

Wow, a huge reply in 15 minutes, thank you.

Looking forward to seeing it a feature one day, totally understand about being busy. I'm just happy this project exists. 👍

At the moment only planning on running one maybe 2 jobs at once. It's transcoding video and my target is to make really good quality encodes of blu-rays. So the fewer the jobs the better.

adamkewley commented 2 years ago

Closing this because it isn't under active development (although it was a great suggestion).

If I manage to get the time/resources, I'll skim the open+closed issues and create a feature issue based on this.