contribsys / faktory

Language-agnostic persistent background job server
https://contribsys.com/faktory/
Other
5.73k stars 227 forks source link

Publish arm64 Enterprise binaries for Linux #366

Closed clarkdave closed 2 years ago

clarkdave commented 3 years ago

Attempting to install Faktory Enterprise on an arm64 Linux fails because the repository does not seem to have an arm64 binary:

$ uname -m
aarch64

$ apt update
W: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository \
  'https://dl.contribsys.com/fent/apt stable InRelease' does not seem to provide it

$ apt install faktory-ent
E: Unable to locate package faktory-ent

This means it's not possible deploy Faktory Enterprise on ARM Linux machines such as AWS Graviton.

As an additional benefit, the availability of arm64 Enterprise binaries for Linux would allow Faktory Enterprise to run inside a Docker container on an Apple Silicon mac, something that isn't currently possible (the published macos.arm64 binaries can't run inside Docker, and trying to run the amd64 Enterprise binaries in Docker via emulation does not work, as noted in https://github.com/contribsys/faktory/issues/342)

mperham commented 3 years ago

Yeah, I was waiting until I picked up an ARM MBP and could test this new platform myself. It seems like I read a new rumor every day that new MBPs are around the corner.

clarkdave commented 3 years ago

If there's any way I can help let me know! I have access to Intel and Apple Silicon macs, and ARM Graviton instances (which I was hoping to deploy Faktory Enterprise on)

mperham commented 3 years ago

Can I email you a private binary next week and you can run it through some acceptance testing on your different platforms? Since I’ve already got ARM support for Faktory, Enterprise shouldn’t be much more work.

sloan-dog commented 3 years ago

As a workaround for local testing you could run a minikube cluster locally (which runs its own vm supported on apple silicon), and run faktory as a stateful set via official docker images and the helm chart.