4 ms·
Legality aside I’d love how many people you could serve with $2000 worth of hardware (used or new) and a 1gbit up/down home internet connection With max p99 lat
by endisneigh 3y ago
Legality aside I’d love how many people you could serve with $2000 worth of hardware (used or new) and a 1gbit up/down home internet connection With max p99 latency of 500ms.
It is strange that they didn’t at least use a Mac mini, but I assume they already had the hardware.
- deleted 3y ago[deleted]
- hot_gril 3y agoBuilt-in UPS and peripherals are nice advantages of a laptop as a server.
- sedatk 3y agoThe problem with a laptop is terrible cooling that you can't sustain high performance. They say new Macbooks are better in that aspect but didn't have a chance to try one.
- hot_gril 3y agoYeah. M1/2 ones are a lottt better than Intel in this regard but still slower than the M1/2 MBP or mini.
- euroderf 3y agoGood point.
- thequadehunter 3y agoI wonder if it's because the laptop sorta has its own built in UPS.
- sedatk 3y agoI ran one of the popular web sites in Turkey on a AMD Duron 600Mhz 512MB RAM server until 2003. It used to serve 70 million pages per month on a Windows Server when it was retired. Because the site is a social platform, most of the content had to be dynamically generated too. I believe the PC had cost me around $500 when I bought it in 2000 or so, obviously a lower spec than even a Raspberry Pi4 today.
- joiqj 3y agoAnd then people started writing code in Python.
- deterministic 3y agoExactly. Developers seems to be hell bent on making software as slow as possible and/or maximising the cost of running servers. I bet that 99% of businesses out there could comfortable run on a single server with lots of RAM. With another servers on warm stand-by.
- CSMastermind 3y agoIt's more fun to try and figure out where the bottleneck would be. Back in the early 00s I hosted websites on my local off the shelf Dell desktop on a cable internet connection. Cloud computing wasn't really a thing and I didn't know better / have much better options (eventually I did migrate to some webhost bundled with the DNS registar). For the longest time network bandwidth was my limiting factor. I remember finally upgrading my connection, NIC, etc. to the point where it was actually harddrive write speed that was the bottleneck. Probably depends on your application but harddrive I/O does seem like a likely limiting factor to me today.
- throwaway742 3y agoSSDs are pretty fast.
- kodah 3y agoHardware wise, kinda depending on the characteristics of the app. Network wise, I've seen this tried. Commercial internet, even if it is symmetrical 1Gibps has nearly no SLA tied to it and is subject to traffic shaping. Not only could you be turned off at the companies whim if you began to saturate the points up to your demarcation point, but they could also traffic shape you for a time (or indefinitely). This all largely has to do with how internet telephone companies and cable companies categorize and pool traffic in their regions up to backbones. Also save for the fact that commodity hardware lacks a lot of the hardware safeties a server does. For instance, your m.2 under sustained load would not perform at the same rate that an enterprise server hard drive can; we're talking on an order of 180MiB/s vs 550MiB/s per drive. Once the m.2's cache is exhausted it will be comparable to a spinning disk in performance.
- barbazoo 3y agoIt seems that you might be assuming the entire stack ran on that laptop which is probably not the case.
- endisneigh 3y agoI’m assuming it’s a service, so I’m curious how many people the Mac is responsible for serving. Of course more likely to be innocuous and maybe not in the serving path at all