News for hackers. Stuff that matters.
Re:Hyper.sh: Container-native Cloud by lucideer on Thursday August 10, 2017 @06:26AM (#14978261)
There are countless examples of overlaps in software naming. I'm sure this isn't even the word with the most duplicates.

Also, the .sh does make this particular example at least slightly distinctive.

Re:Hyper.sh: Container-native Cloud by OJFord on Thursday August 10, 2017 @06:55AM (#14978402)
Hyper.is is a Mac terminal. I used it for a time, and would always go to hyper.sh looking for docs or whatever.
Re:Hyper.sh: Container-native Cloud by alauda on Wednesday August 09, 2017 @10:48PM (#14975907)
Re:Hyper.sh: Container-native Cloud by mjmein on Thursday August 10, 2017 @01:39AM (#14976770)
I'm interested - what type of app can you run on 64mb of ram? What languages are suitable for building these types of microservices?
Re:Hyper.sh: Container-native Cloud by curun1r on Thursday August 10, 2017 @03:44AM (#14977338)
I'd just like to say how dispiriting I find this question considering I how envious of my friends $4k+ computer I was because it had 64mb of RAM and could play C&C Red Alert with absolutely no slowdown. Let that sink in...in the mid 90s, we comfortably fit a Windows GUI and a somewhat sophisticated game into 64mb of RAM and 20 years of "progress" later, we're asking what kind of special accommodations are necessary to handle HTTP requests with the same resources.

Note: It's an entirely reasonable question to ask, which makes it all the sadder.

Re:Hyper.sh: Container-native Cloud by provost on Thursday August 10, 2017 @04:09AM (#14977474)
My favorite comparison is the Apollo guidance computer's memory (though completely different comparison from your GUI and game description). But the AGC is absolutely fascinating.

> 16-bit wordlength, 2048 words RAM (magnetic core memory), 36,864 words ROM (core rope memory)

Source: https://en.wikipedia.org/wiki/Apollo_Guidance_Computer

Re:Hyper.sh: Container-native Cloud by ceronman on Thursday August 10, 2017 @10:18AM (#14979896)
The original PlayStation had only 2MB of RAM and 1MB of video memory. Still you could play games such as Metal Gear Solid on it :D
Re:Hyper.sh: Container-native Cloud by meddlepal on Thursday August 10, 2017 @10:04AM (#14979766)
Thousands of HTTP requests per second. Not just "a handful".
Re:Hyper.sh: Container-native Cloud by NathanKP on Thursday August 10, 2017 @12:11PM (#14981120)
A Node.js REST API can handle a significant volume of incoming requests with only 50mb-75mb of RAM. For reference here is a load test of handling around 75k-80k reqs/min using node.js containers deployed using Amazon ECS. Each node.js process is basically just doing CRUD operations, accepting incoming JSON, storing it in a database, fetching values back out of a database, and sending JSON back to clients. There is a bit of extra overhead from microservice HTTP fanout to other backend microservices, but the whole stack is very lightweight and 99% of requests are served in under 30ms.

As you can see this workload is only using about 6% of the available memory. For event loop driven systems like Node.js or Nginx, or Go the workload is almost always CPU bound not memory bound:

http://i.imgur.com/VCN5e21.png

Re:Hyper.sh: Container-native Cloud by Gaelan on Thursday August 10, 2017 @01:45AM (#14976802)
I’m pretty sure most languages, even interpreted, can run at least small programs in 64MB. If you want to minimize memory usage at all costs, I think you’d want a non-GC compiled language (C(++), Swift and Rust come to mind).
Re:Hyper.sh: Container-native Cloud by lobster_johnson on Thursday August 10, 2017 @12:09PM (#14981087)
You can forget about Node.js, Python or Ruby for any meaningful app, like a web API. Erlang/Elixir is also iffy, I'm pretty sure. Java, last I check, had a default heap size of 64MB, and does badly on less.

I've written small Go programs that can consume around 15-20MB on low traffic. But they also have huge spikes in memory usage when you have concurrent requests hitting them.

Re:Hyper.sh: Container-native Cloud by solatic on Thursday August 10, 2017 @05:34AM (#14978008)
It's rather common for managers to want simple, human-readable reports for information which is already exposed through a REST API.

Setting up a container with a cronjob that, once per day, executes a simple shell script which curls a REST endpoint, parses the relevant information, and sends an email out to a pre-defined mailing list or puts it to a slack channel... Yeah, that's pretty simple to pull off within that memory footprint.

Re:Hyper.sh: Container-native Cloud by deforciant on Thursday August 10, 2017 @06:52AM (#14978381)
Go is a good example - I have several services that consume ~20MB of RAM so no need for beefy boxes. Although that's why I also chose to use Kubernetes - extremely easy to pack a bunch of services.
Re:Hyper.sh: Container-native Cloud by sawantuday on Thursday August 10, 2017 @09:23AM (#14979358)
I have a PHP based crawler scripts that range from 30 to 55 MB
Re:Hyper.sh: Container-native Cloud by drej on Thursday August 10, 2017 @06:04AM (#14978144)
nginx
Re:Hyper.sh: Container-native Cloud by voiper1 on Thursday August 10, 2017 @12:15AM (#14976284)
https://www.hyper.sh/pricing.html

  Cheapest single container with a publicly accessible IP (FIP) assuming a 1GB Docker image size.
  S1 container: 1.03/month
  FIP: $1/month
  RootFS Container Volume (10GB@$0.1/GB/month): $1/month
  Container Image (1GB@$0.1/GB/month): $0.1
  Total monthly price: $3.13/month
Re:Hyper.sh: Container-native Cloud by e12e on Thursday August 10, 2017 @02:14AM (#14976937)
I'm intrigued by network usage being "unlimited". Does this mean unlimited streaming of 10GB of video for a little over 3 USD/month?
Re:Hyper.sh: Container-native Cloud by initdaemon on Thursday August 10, 2017 @01:09AM (#14976610)
They have per-second billing. Use it as serverless.
Re:Hyper.sh: Container-native Cloud by tyingq on Thursday August 10, 2017 @01:29AM (#14976721)
5 second boot time though. Better than a normal VM, but maybe not great for user facing serverless.
Re:Hyper.sh: Container-native Cloud by initdaemon on Thursday August 10, 2017 @01:51AM (#14976829)
Yeah, batch job, cron are the better fit. I also think serverless != FaaS.
Re:Hyper.sh: Container-native Cloud by tannhaeuser on Thursday August 10, 2017 @05:18AM (#14977915)
How is it better than a normal VM (or have I misunderstood)? You can get a full VPS with dedicated IP on OVH, Hetzner & co. for EUR 3.50/month.
Re:Hyper.sh: Container-native Cloud by tyingq on Thursday August 10, 2017 @08:17AM (#14978858)
Just pointing out that the 5 second boot time is better than a regular VPS. Which (combined with per second billing) makes this good for batch/cron oriented serverless functionality. But is too slow for "function as a service" type serverless where the end user is waiting for it to fire in a browser.
Re:Hyper.sh: Container-native Cloud by shawabawa3 on Thursday August 10, 2017 @05:30AM (#14977983)
Boot time is better than a normal VM.

OVH servers you're lucky if you get it in 5 minutes, not 5 seconds.

AWS is more like 60 seconds

Re:Hyper.sh: Container-native Cloud by nogox on Thursday August 10, 2017 @06:21AM (#14978227)
5 seconds boot + per-second billing is the killer feature.
Re:Hyper.sh: Container-native Cloud by gizzlon on Thursday August 10, 2017 @10:53AM (#14980293)
So.. it's like AppEngine Flexible? A PaaS for Docker containers..

https://cloud.google.com/appengine/docs/flexible/

Re:Hyper.sh: Container-native Cloud by meddlepal on Thursday August 10, 2017 @10:05AM (#14979781)
Having a hard time understanding what this brings to the table that Kubernetes doesn't?
Re:Hyper.sh: Container-native Cloud by IanCal on Thursday August 10, 2017 @10:09AM (#14979829)
Kubernetes is not a provider, hyper.sh is.
Re:Hyper.sh: Container-native Cloud by the_common_man on Thursday August 10, 2017 @11:12AM (#14980482)
Why is heroku not addressed?