Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull out media server and handling into separate container #389

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liamwhite
Copy link
Contributor

@liamwhite liamwhite commented Dec 25, 2024

This PR changes Philomena to call image processing tools with an RPC client and server, to make upgrading them independently of Elixir easier and to allow them to have a separate memory space.

Calling the remote server is directly integrated into the app, replacing System.cmd/2 where it previously appeared for media processing. A standalone client utility is included but not compiled by default; using it, one can call the RPC server with (e.g.) mediaproc_client mediaproc:1500 execute-command -- file --mime-type -b image.png

If you are not deploying using docker, you should compile mediaproc_server and run it as a systemd service.

@liamwhite liamwhite force-pushed the media-server branch 5 times, most recently from 8c33eac to 0aa8ca6 Compare January 12, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant