Re:Ask HN: How to setup own server hosting a service with AP...
by ameliaquining on Sunday January 02, 2022 @05:05PM
(#29774499)
Which APIs do you want to use? I'd be really surprised if there wasn't a way to do whatever-it-is in the cloud on Linux, with comparable speed and ease-of-development to macOS, at dramatically less cost and operational overhead. The M1 might be the only consumer device that has the relevant kind of hardware, but you don't particularly want a consumer device; you want a server. Macs aren't designed to be used as servers and come with a lot of onerous restrictions that make them difficult and expensive to use that way (designed to prevent cannibalization of Apple's consumer business). Media processing isn't an uncommon use case for cloud services, so it'd be surprising if accelerator hardware for that use case were available only in consumer devices—unless it's a use case that doesn't really benefit from specialized accelerator hardware, which would suggest that you don't need such hardware either.
[ Parent
| on HN ]
Re:Ask HN: How to setup own server hosting a service with AP...
by rsp1984 on Sunday January 02, 2022 @06:16PM
(#29775187)
I definitely need to use Monterey, as it offers simple APIs for certain tasks that would be possible, but very time consuming, to recreate on other OS. The M1 is optional, theoretically, but in practice makes things go much faster due to its accelerator cores, which the Monterey APIs are taking advantage of.
Re:Ask HN: How to setup own server hosting a service with AP...
by ameliaquining on Sunday January 02, 2022 @06:46PM
(#29775435)
I am having a really hard time thinking of cloud-relevant macOS APIs that don't have comparably-easy-to-use Linux equivalents, other than for building and testing macOS and iOS apps. Which ones do you want to use? Core ML?
Re:Ask HN: How to setup own server hosting a service with AP...
by andrewf on Sunday January 02, 2022 @08:30PM
(#29776256)
I agree with everything you've said about it being most practical to run services on Linux. If OP's business grows I think they'd be wise to pivot away from macOS to avoid future pain.
But also, if OP sees a business opportunity today, and they've already solved it on top of macOS, I think they should strike while the iron is hot, with the code that exists. Most businesses die because they can't get enough users and keep them. IMO it makes sense to take on tech debt.
Re:Ask HN: How to setup own server hosting a service with AP...
by ameliaquining on Sunday January 02, 2022 @08:47PM
(#29776395)
I am not convinced that getting this set up on macOS in a way that can handle real user traffic with sufficient reliability (especially given an apparent lack of relevant experience) will take less time than porting it to Linux and then productionizing that. But I suppose anything's possible.