5 ms·
The question is: why even care? Use an Arm image. For docker, it makes little to no difference
by raverbashing 6y ago
The question is: why even care?
Use an Arm image. For docker, it makes little to no difference
- mistercorea 6y agothat mean you need to have an arm based server for deployment of your code / services.
- yjftsjthsd-h 6y agoThat requires that ARM images are available, which will take time and always have a disconnect. It also violates the idea of being able to run the exact same image on your laptop (ARM Mac) and in prod (x86 server).
- jrockway 6y agoYou can run on ARM servers in production. They're even cheaper than x86 servers. (Though also slower, at least AWS's version.) Realistically, ARM is probably the future, and just needs something to push society in the direction of the future. A lot of people use Macs, so this forces people to become interested in switching, which has some value. Remember when the original iMac had USB instead of ADB ports? Everyone was mad about it. But USB was the future -- you can plug that iMac's mouse into pretty much any computer you have and it still works. (I've been wanting an ARM desktop for a while, but it seems there is trouble standardizing something like BIOS/UEFI, and the CPUs you can buy are more expensive and slower than x86 alternatives. I'm also not sure if anyone ever decided what the standard "ARM" configuration looks like... binary calling conventions, endianness, supported instructions? But, if Apple can make a competitive ARM chip, so can others, and the standards will follow. We'll see!)
- vbezhenar 6y ago> You can run on ARM servers in production. They're even cheaper than x86 servers. (Though also slower, at least AWS's version.) Where can I buy ARM server comparable with x86 server on performance? I'm not interested with clouds, I want bare metal server. I'm not aware of any server brand like HP or Dell producing ARM servers. I'm also not aware of any CPU manufacturer producing computer desktops with ARM comparable with x86, outside of Apple macs. I'm not convinced that ARM is the future. For me the future is both architectures co-existing.
- viraptor 6y ago> I'm not interested with clouds, I want bare metal server. You can have both. https://aws.amazon.com/blogs/aws/now-available-bare-metal-arm-based-ec2-instances/ https://aws.amazon.com/blogs/aws/now-available-bare-metal-ar...
- yjftsjthsd-h 6y agoI promise that is not what 90% of people mean when they say they want bare metal, and not what 99% of people mean when they say they don't want "cloud"; it's still AWS's machine.
- viraptor 6y agoHonestly, if they mean "owned machine in colo" they should say that rather than "bare metal". Those are orthogonal concepts. (You can have VM instances on a private cloud on owned machines as well) If you're actually interested in buying servers this is not a pedantic difference.
- sitkack 6y agoIt wasn't though, the same Dockerfile, but not the same image. The images are ephemeral and stateless, being only a projection of the Dockerfile.
- tasogare 6y agoRunning the same image on dev machine and prod was an illusion brought by the fact the underlying architecture was the same. It’s not reasonable to expect images to magically be cross-architecture.
- raverbashing 6y ago> It also violates the idea of being able to run the exact same image on your laptop (ARM Mac) and in prod (x86 server). 99% of people are running node/python/RoR/PHP on Ubuntu/Debian/Arch. It works the same for most cases. (possible caveat: I'm not sure if numpy and TensorFlow is supported already but it probably is) But for basic stuff, it's a non-issue
- yjftsjthsd-h 6y agoYou still can't use the same container image across architectures, even if the important parts are interpreted code. You can package the architecture-independent parts for both x86 and ARM, of course, but as you sort of touch on, that still leaves dependency issues and surprise differences in the platform ("oh look, this is so fast on my mac where there's hardware acceleration for the C library used in this hot path" followed 3 weeks later by, "why is this so slow on our x86 servers?").
- ninkendo 6y agoWhat are you going to deploy that ARM image to?
- fiddlerwoaroof 6y agoAws Graviton2 images. It’s exciting to finally have ARM consumer laptops: it’ll encourage people to port applications to ARM which will make it easier to take advantage of cheap ARM servers.
- oplav 6y agoWhile AWS has ARM servers available, GCP currently does not and it doesn’t seem to be on their immediate roadmap.
- viraptor 6y ago> It’s exciting to finally have ARM consumer laptops: Apple may be the loudest and now the fastest available, but the ARM consumer laptops existed for some time already. For example https://www.lenovo.com/au/en/laptops/ideapad/ideapad-s-series/ideapad-5i-15iil05/p/81YK00BWAU https://www.lenovo.com/au/en/laptops/ideapad/ideapad-s-serie...
- fiddlerwoaroof 6y agoSure, historically Apple makes the first device in various categories that achieves wide consumer adoption.
- deleted 6y ago[deleted]