This is a repository with examples of the new Now Cloud 2.0 infrastructure for Serverless Docker Deployments.
These deployments:
- Automatically scale to zero with no traffic
- Boot from cold in under a second
- Are built reproducibly from
Dockerfile
Demo | Language | Description | Size |
---|---|---|---|
asm-httpd | x86_64 ASM | Deploys asmhttpd which servers a static file |
12.0K |
bash-httpd | Bash | Uses bashttpd to HTTP requests with the output of Bash commands |
4.3M |
c-microhttpd | C | Uses libmicrohttpd to implement a webserver | 8.3M |
crystal-hello | Crystal | Uses the http/server module to implement a webserver |
4.0M |
go-hello | Go | Uses the http package to implement a webserver |
1.8M |
java-spark-graal | Java | Uses the Spark framework and packages with GraalVM native-image |
5.3M |
misc-chat-roulette | Node.js | Implements a WebSocket server with a max concurrency of 2 |
19.3M |