Better HN
topnewbestaskshowjobs
Log inSign up

seanw265

233 karma · joined Sep 29, 2022 (4y ago) · 80 submissions

building Easel @ https://easel.sh

bsky.app/profile/seandubb.com

Submissions

1.

Building the Infrastructure Underneath Next.js(easel.sh ↗)

1 points · by seanw265 · 4d ago · discuss

comment 1w ago · link · parent

Yes, the sample was two cold starts. The warm request benchmarks used 100 samples per route.

You raise a good point about the hardware generations. I would like to do a larger sample, though I'm not so concerned about benchmarking each cpu separately since deployers can't control the hardware their functions run on.

IMO your thought about the idle lifetime is plausible. But the distinction between how Event and Web functions handle idle time (outside of billing) is that Event functions are frozen after the invocation completes. No code can execute while frozen. Whereas Web functions stay alive during that entire period. They can do anything they want after the invocation completes and before they are shut down.

I confirmed this by logging heartbeats during the idle period.

Thanks for your thoughtful comment.

comment 1w ago · link · parent

Yes, that's exactly what we did.

https://www.easel.sh runs on it.

comment 1w ago · link · parent

That is true for traditional Lambda Event Functions, but this post concerns the newly released Lambda Web Functions.

And you can exit Web Functions early, but AWS records it as a failure and I can’t say what would happen to requests in flight but haven’t reached your function yet. It’s not something I was comfortable relying on.

comment 1w ago · link · parent

In general I think the answer to your question is yes. If you have sustained load, the environment will often be reused. When that happens, there is little “idle” time that you’re billed for.

I don’t mean to imply that Lambda Web Functions are a bad fit for every workload, just that they are a bad fit for our workload as a result of this behavior.

Edit: I made an update to the post to hopefully clarify this.

comment 1w ago · link · parent

Yes for sure, if your web function is very active this is less of an issue. But not every workload fits that mold.

Also: afaict idle time before teardown is not configurable.

comment 1w ago · link · parent

What's documented is that memory is billed for as long as the environment is active. What's not documented is how long those environments actually remain alive after their last request, and there's no configurable idle timeout.

And for context, Easel.sh is an alternative to Vercel, not AWS. Easel actually uses traditional Lambda as part of its core infrastructure. I was hoping Web Functions could replace some of the custom infrastructure we'd built on top of it, but the idle-memory billing made it a poor fit for our workload.

I thought the findings were worth sharing.

comment 1w ago · link · parent

Not as far as I can tell. Web Functions let you configure concurrency, maximum environment count, and request rate limits, but there's no setting for how long an environment stays alive after its last request. The configurable timeout applies to individual requests, not the environment itself.

I measured between 5 and 7 minutes of idle time (after the last request had ended) across six environments. I was able to cut this short by exiting the process myself, but AWS records this as a runtime error so IMO it's not suitable to rely on in production.

Here's the AWS scaling documentation. I'm happy to be corrected if I missed anything.

https://docs.aws.amazon.com/lambda/latest/dg/web-functions-s...

9.

AWS Lambda Web Functions keep billing memory ~7 minutes after the last request(easel.sh ↗)

83 points · by seanw265 · 1w ago · 31 comments

comment 2w ago · link · parent

Following up here with the migration guides I promised:

https://www.easel.sh/val-town

https://www.easel.sh/docs/migration/val-town

comment 2w ago · link · parent

This is sad to see. I know what it's like to shut down a project that you've spent years on. It's really heartbreaking. I feel for Steve and the rest of the team.

I fear this is the reality of anything built around Deno after the Cloudflare acquisition. Thankfully agents are capable of handling most of the migration of the apps that everyone has built on top of it.

For anyone looking for a new home for their projects, I'm the founder of Easel.sh [0], an app hosting platform. I've been putting together migration guides covering how to move workloads from Val Town onto Easel. It's not a drop-in replacement for everything Val Town offered, but I think we can be a good fit for quite a few use cases.

I'm happy to personally help anyone who is looking to migrate.

[0]: https://www.easel.sh

comment 3w ago · link · parent

I don't see bespoke software as a viable alternative because probing for vulnerabilities is both getting cheaper by the day, and also massively parallelizable.

Someone will inevitably spin up a large swath of agents running an abliterated pareto curve model and point them at the internet.

Not to mention your bespoke tool is likely way less hardened than the existing player in the space.

comment 3w ago · link · parent

The tradeoff is that you become your own ops team and need to monitor and respond to cves in real time.

comment 3w ago · link · parent

Thanks for checking out Easel! And congrats on your app's success.

Out of curiosity, would a $10/month plan with $10 in included usage make Easel more attractive for you? This is really useful feedback as we're figuring out our pricing.

And yes, we have first-class support for Next.js on Easel. We support App Router, Pages Router, SSR, ISR, Server Actions, etc. natively without an adapter.

I'd love to hear how it goes with your portfolio and side projects. If you run into any issues deploying them, please let me know and I'll be happy to help.

comment 3w ago · link · parent

Make sure you're taking full advantage of the CDN cache. Cache hits should help reduce your active cpu, isr reads, and origin transfer, although they won't reduce CDN requests.

When you say Vercel's paid plan is too expensive, is the $20/month starting price itself the issue, or are you expecting your usage to push the bill higher than that?

For context, this is almost exactly what I'm trying to solve with Easel.sh (https://www.easel.sh). We're building a Vercel-compatible hosting platform, but with a lower cost structure because we operate much of the infrastructure ourselves rather than being built on top of AWS like Vercel.

comment 1mo ago · link · parent

Interesting read. Text rendering techniques have always fascinated me.

I'm a bit confused because at some points it seems like the author is conflating "tessellation" and "Rive". Are they the same thing? As an uneducated reader, my understanding would be that Rive is an implementation of a renderer using the tessellation approach. But surely a generic tessellation approach could support perfect arbitrary transformations even if Rive doesn't?

Maybe there's something I'm missing.

Also, a nitpick: in the "head to head" section, the author highlights Slug's better performance in green for the entries that it wins (or ties). For the sake of fairness, shouldn't we highlight the winners in every category? Surely Rive's "low" memory usage beats Slug's "moderate"?

comment 2mo ago · link · parent

Your browser's network fingerprint has likely already been validated as not-suspicious traffic. Your curl instance has a different fingerprint and reads as more suspicious. This is Cloudflare working as intended.

We have a similar set of checks on https://www.easel.sh.

comment 7mo ago · link · parent

I take some issue with that testing methodology. It seems to me that you're conflating the model's performance with the reliability of whatever provider you're using to run the benchmark.

Many models, especially open weight ones, are served by a variety of providers in their lifetime. Each provider has their own reliability statistics which can vary throughout a model's lifetime, as well as day to day and hour to hour.

Not to mention that there are plenty of gateways that track provider uptime and can intelligently route to the one most likely to complete your request.

comment 7mo ago · link · parent

Kimi K2.6 also released today. I think it's fair to compare the two models.

Qwen appears to be much more expensive:

- Qwen: $1.3 in / $7.8 out

- Kimi: $0.95 in / $4 out

--

The announcement posts only share two overlapping benchmark results. Qwen appears to score slightly lower on SWE-Bench Pro and Terminal-Bench 2.0.

Qwen:

- Teminal-Bench 2.0: 65.4

- SWE-Bench Pro: 57.3

Kimi:

- Terminal-Bench 2.0: 66.8

- SWE-Bench Pro: 58.6

--

Different models have different strong suits, and benchmarks don't cover everything. But from a numbers perspective, Kimi looks much more appealing.

comment 10mo ago · link · parent

I'll piggyback on this to highlight Refactoring UI as well. It's an ebook by Adam and Steve, though I'm not sure if it's technically part of Tailwind Labs or not.

This book taught me so much about modern UI design. If you've ever tried building a component and thought to yourself, "hmm something about this looks off," you might benefit from this book.

These days some of the examples might be a little bit dated (fashions come and go), but the principles it teaches you are rock solid.

comment 11mo ago · link · parent

It's always up to the reader to determine which biases they themself care about.

If you're wondering at what point "we" as a collective will stop caring about a bias or set of biases, I don't think such a time exists.

You'll never get everyone to agree on anything.

comment 11mo ago · link · parent

I’d argue the goalposts have moved substantially over the past decade. The LLMs we casually use in ChatGPT today would have been described as AGI by many people 15, 10, maybe even 5 years ago.

comment 11mo ago · link · parent

This is not what the article says at all.

The article is about the constraints of computation, scaling of current inference architecture, and economics.

It is completely unrelated to your claim that cognition is entirely separate from computation.

comment 11mo ago · link · parent

I tend to agree. Cloudflare and Vercel were able to mitigate in the form of WAF rules, but it's not immediately clear what a user or vendor can do to implement mitigations themselves other than updating their dependencies (quickly!).

IMO the CVE announcement could have been better handled. This was a level 10. If other mitigations can are viable and you know about them, you have a responsibility to disclose them in order to best protect the safety of the billions of users of React applications.

I wonder how many applications are still vulnerable.

comment 11mo ago · link · parent

FWIW it looks like OpenRouter's two providers for this model (one of whom being Deepseek itself) are only running the model around 28tps at the moment.

https://openrouter.ai/deepseek/deepseek-v3.2

This only bolsters your point. Will be interesting to see if this changes as the model is adopted more widely.

comment 11mo ago · link · parent

Thanks for the thoughtful reply. Best of luck!

comment 11mo ago · link · parent

After reading the post I kept thinking about two other pieces, and only later realized it was Taylor who had submitted it. His most recent essay [0] actually led me to the Commoncog piece “Are You Playing to Play, or Playing to Win?” [1], and the idea of sub-games felt directly relevant here.

In this case, running a studio without using or promoting AI becomes a kind of sub-game that can be “won” on principle, even if it means losing the actual game that determines whether the business survives. The studio is turning down all AI-related work, and it’s not surprising that the business is now struggling.

I’m not saying the underlying principle is right or wrong, nor do I know the internal dynamics and opinions of their team. But in this case the cost of holding that stance doesn’t fall just on the owner, it also falls on the people who work there.

Links:

[0] https://taylor.town/iq-not-enough

[1] https://commoncog.com/playing-to-play-playing-to-win/

123