llrt
h3
llrt | h3 | |
---|---|---|
15 | 10 | |
8,207 | 3,809 | |
0.7% | 2.6% | |
9.7 | 9.2 | |
4 days ago | 3 days ago | |
JavaScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llrt
-
Building Static HTML Pages with JSX Server-Side Rendering
AWS LLRT Modules
-
Show HN: Self-Host Next.js in Production
Any plans to add support for? https://github.com/awslabs/llrt
It would also be nice to have a V8/deno/bun based edge hosting option that supports the Next.js edge and middleware code splitting. That's the missing piece for most homebrew "edge" setups. Production CDNs like Clouflare and Supabase all offer this.
-
Everything Suffers from Cold Starts
Vlad Ionescu: Scaling containers on AWS in 2022 GitHub: awslabs/llrt AWS Documentation: Understanding the Lambda execution environment Amazon Science: How AWS's Firecracker virtual machines work Lumigo GitHub: MiddyJS
-
Porffor: A from-scratch experimental ahead-of-time JS engine
Its refreshing to see all the various JS engines that are out there for various usecases.
I have been working on providing quickjs with more node compatible API through llrt [1] for embedding into applications for plugins.
[1] https://github.com/awslabs/llrt
-
[Lab] AWS Lambda LLRT vs Node.js
AWS has open-sourced its JavaScript runtime, called LLRT (Low Latency Runtime), an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
-
Unlocking Next-Gen Serverless Performance: A Deep Dive into AWS LLRT
FROM --platform=arm64 busybox WORKDIR /var/task/ COPY app.mjs ./ ADD https://github.com/awslabs/llrt/releases/latest/download/llrt-container-arm64 /usr/bin/llrt RUN chmod +x /usr/bin/llrt ENV LAMBDA_HANDLER "app.handler" CMD [ "llrt" ]
-
Is AWS Lambda Cold Start Still an Issue?
Let’s get the simplest use case out of the way: cases where the cold starts are so fast that it’s not an issue for you. That’s usually the case for function that use runtimes such as C++, Go, Rust, and LLRT. However, you must follow the best practices and optimizations in every runtime to maintain a low impact cold start.
-
JavaScript News, Updates, and Tutorials: February 2024 Edition
But compared to other runtimes, LLRT is not so good in terms of performance when it comes to dealing with large data processing, Monte Carlo simulations, or performing tasks with a large number of iterations. The AWS team says that it is best suited for working with smaller Serverless functions dedicated to tasks such as data transformation, real-time processing, AWS service integrations, authorization, validation, etc. Visit the GitHub repository of this project to learn more information.
- FLaNK Stack 26 February 2024
-
People Matter more than Technology when Building Serverless Applications
And lastly, lean into your cloud vendor. Stop trying to build a better mouse trap. Advances in technology are happening all the time. The speed of AWS' Lambda has been rapidly improving over the past couple of years with the launch of things like SnapStart and LLRT
h3
-
Nitro.js: Revolutionizing server-side JavaScript
Nitro is used to power the server engine for Nuxt v3, which is popular with the JavaScript community. Nitro is built on top of the h3 engine, which is a light and performant JavaScript framework.
-
Oh CommonJS! Why are you mESMing with me?! Reasons to ditch CommonJS
If your code breaks, you may have legacy issues. Consider using different tooling or packages. For example, you can migrate from Jest to vitest or from ExpressJS to h3. The syntax remains the same; the only difference is the import statement.
-
Why I keep an eye on the Vue ecosystem and you should too
H3 is a small and delightful webserver. It honestly won me over the second I saw how simple the server side implementation of websockets was. It's actually so good, it even has bindings for uploadthing
-
Hono v4.0.0
Same, I'll probably move to https://github.com/unjs/h3 since it's used anyway in Nuxt (which I use for other projects)
-
File Upload Security and Malware Protection
import formidable from 'formidable'; /* global defineEventHandler, getRequestHeaders, readBody */ /** * @see https://nuxt.com/docs/guide/concepts/server-engine * @see https://github.com/unjs/h3 */ export default defineEventHandler(async (event) => { let body; const headers = getRequestHeaders(event); if (headers['content-type']?.includes('multipart/form-data')) { body = await parseMultipartNodeRequest(event.node.req); } else { body = await readBody(event); } console.log(body); return { ok: true }; });
-
File Uploads for the Web (3): File Uploads in Node & Nuxt
import formidable from 'formidable'; /** * @see https://nuxt.com/docs/guide/concepts/server-engine * @see https://github.com/unjs/h3 */ export default defineEventHandler(async (event) => { let body; const headers = getRequestHeaders(event); if (headers['content-type']?.includes('multipart/form-data')) { body = await parseMultipartNodeRequest(event.node.req); } else { body = await readBody(event); } console.log(body); return { ok: true }; }); /** * @param {import('http').IncomingMessage} req */ function parseMultipartNodeRequest(req) { return new Promise((resolve, reject) => { /** @see https://github.com/node-formidable/formidable/ */ const form = formidable({ multiples: true }) form.parse(req, (error, fields, files) => { if (error) { reject(error); return; } resolve({ ...fields, ...files }); }); }); }
-
How do you implement Middleware using an httpOnly cookie?
You could probably do all that in Nuxt with building a backend in the server folder. (More info here: https://nuxt.com/docs/guide/directory-structure/server) But, I understand that the official Nuxt 3 Auth module is being worked on which should make life a lot easier. For now, there's something new you can look into, namely the session support in the newest Nitro version (which is the backend part of Nuxt 3). There's some info here: https://github.com/unjs/h3/pull/315. I should not that I have not looked at this yet, though.
-
Build a SSR App with React, React Router and Vite
h3 - a minimalistic and simple node.js framework
- How can I use Express JS on Nuxt3
-
a first look at nuxt 3
Nuxt 3 is powered by a new server engine called Nitro. Nitro is used in development and production. It includes cross-platform support for Node.js, Browsers, and service-workers and serverless support out-of-the-box. Other features include API routes, automatic code-splitting, async-loaded chunks, and hybrid static/serverless modes. Server API endpoints and Middleware that internally uses h3 are added by Nitro.
What are some alternatives?
winterjs - Winter is coming... ❄️
Nuxt 3 - Old repo of Nuxt 3 framework, now on nuxt/nuxt
mud-pi - A simple MUD server in Python, for teaching purposes, which could be run on a Raspberry Pi
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]
pljs - PLJS - Javascript Language Plugin for PostreSQL
ofetch - 😱 A better fetch API. Works on node, browser and workers.
workerd - The JavaScript / Wasm runtime that powers Cloudflare Workers
ajcwebdev-nuxt3 - An example Nuxt 3 application deployed on Netlify and Vercel
hermes - A JavaScript engine optimized for running React Native.
Laravel - The Laravel Framework.
hono - Web framework built on Web Standards
nitro - Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.