frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Deploying Temporal on AWS ECS with Terraform

https://papnori.github.io/posts/temporal-ecs-terraform/
25•norapap•1w ago

Comments

DoofWarrior•1w ago
Why go with Fargate instead of EC2?
norapap•1w ago
We went with Fargate because it keeps things lean — no servers to manage, no patching, no scaling headaches. It’s perfect for our bursty workloads, since we only pay when containers actually run . Plus autoscaling just works .

In the github you can find comments to easily switch to EC2 if your workload needs it

leetrout•1h ago
Just as an aside for the fargate convo... we switched from fargate to EC2 auto scaling group so we could run a custom AMI that has our container images (which are larger than I like) pre-baked and we went from a ~3 minute startup in fargate to ~30 seconds with the ASG when it's not triggering a scaling action.

We're using prefect not Temporal and each prefect flow launches in a discrete ECS task so the waiting added up.

jarboot•1h ago
> Autoscaling is configured via CloudWatch alarms on CPU usage: > Scale-out policy adds workers when CPU > 30%. > Scale-in policy removes idle workers when CPU < 20%.

Does this handle the case where there are longer-running activities that have low CPU usage? Couldn't these be canceled during scalein?

Temporal would retry them, but it would make some workflow runs take longer, which could be annoying for some user-interactive workflows.

Otherwise I've seen needing to hit the metrics endpoint to query things like `worker_task_slots_available` to scale up, or query pending activities, pending workflows, etc to scale down per worker.

llmslave•1h ago
Whats funny is in some sense, temporal replaces alot of the AWS stack. You dont really need queues, step functions, lambdas, and the rest. I personally think its a better compute model than the wildly complicated AWS infra. Deploying temporal on compute primitives is simply better, and allows for you to be cloud agnostic.
causal•1h ago
I sometimes suspect AWS deliberately looks for ways to extract low-overhead tasks into dedicated services for the simple reason that many people will pay for the service without thinking about whether they really need it.
llmslave•52m ago
Its very easy to add AWS services, but after building them into a stack over a few years, its basically impossible to remove them
jen20•6m ago
This article is really about hosting Temporal _workers_ in ECS - which is the "easy" part - not running the Temporal service itself. That would be a valuable follow-up!

Show HN: I built a synth for my daughter

https://bitsnpieces.dev/posts/a-synth-for-my-daughter/
576•random_moonwalk•5d ago•123 comments

The Baumol Effect and Jevons paradox are related

https://www.a16z.news/p/why-ac-is-cheap-but-ac-repair-is
23•cubefox•58m ago•23 comments

Replicate is joining Cloudflare

https://replicate.com/blog/replicate-cloudflare
211•bfirsh•4h ago•51 comments

FreeMDU: Open-source Miele appliance diagnostic tools

https://github.com/medusalix/FreeMDU
153•Medusalix•4h ago•33 comments

WebTransport is almost here to allow UDP-like exchange in the browser

https://developer.mozilla.org/en-US/docs/Web/API/WebTransport_API
37•BinaryIgor•1w ago•20 comments

A new book recovers the origins of Effective Altruism

https://newrepublic.com/article/202433/happened-effective-altruism
26•Thevet•56m ago•7 comments

An official atlas of North Korea

https://www.cartographerstale.com/p/an-official-atlas-of-north-korea
5•speckx•27m ago•0 comments

How to escape the Linux networking stack

https://blog.cloudflare.com/so-long-and-thanks-for-all-the-fish-how-to-escape-the-linux-networkin...
16•meysamazad•2h ago•0 comments

Giving C a superpower: custom header file (safe_c.h)

https://hwisnu.bearblog.dev/giving-c-a-superpower-custom-header-file-safe_ch/
181•mithcs•7h ago•145 comments

Project Gemini

https://geminiprotocol.net/
93•andsoitis•2h ago•73 comments

WBlock: A New Ad-Blocker for Safari

https://github.com/0xCUB3/wBlock
47•InfiniteVortex•2h ago•33 comments

WeatherNext 2: Our most advanced weather forecasting model

https://blog.google/technology/google-deepmind/weathernext-2/
52•meetpateltech•3h ago•18 comments

Celtic Code: Drawing Knots with Python

https://2earth.github.io/website/20250202.html
68•HansardExpert•2w ago•14 comments

Google is killing the open web, part 2

https://wok.oblomov.eu/tecnologia/google-killing-open-web-2/
215•akagusu•2h ago•156 comments

The time has finally come for geothermal energy

https://www.newyorker.com/magazine/2025/11/24/why-the-time-has-finally-come-for-geothermal-energy
38•riordan•4h ago•60 comments

Cities Panic over Having to Release Mass Surveillance Recordings

https://www.nakedcapitalism.com/2025/11/cities-panic-over-having-to-release-mass-surveillance-rec...
97•pavel_lishin•1h ago•16 comments

Where do the children play?

https://unpublishablepapers.substack.com/p/where-do-the-children-play
207•casca•1d ago•176 comments

Ned: ImGui Text Editor with GL Shaders

https://github.com/nealmick/ned
65•klaussilveira•6h ago•22 comments

Are you stuck in movie logic?

https://usefulfictions.substack.com/p/are-you-stuck-in-movie-logic
96•eatitraw•6h ago•93 comments

When AWS was down, we were not

https://authress.io/knowledge-base/articles/2025/11/01/how-we-prevent-aws-downtime-impacts
5•mooreds•1h ago•0 comments

People are using iPad OS features on their iPhones

https://idevicecentral.com/ios-customization/how-to-enable-ipad-features-like-multitasking-stage-...
79•K0IN•15h ago•74 comments

An overly aggressive mock can work fine, but break much later

https://nedbatchelder.com/blog/202511/why_your_mock_breaks_later.html
48•ingve•19h ago•49 comments

Living my best Sun Microsystems ecosystem life in 2025

https://www.osnews.com/story/143570/living-my-best-sun-microsystems-ecosystem-life-in-2025/
54•birdculture•2h ago•22 comments

Reselling tickets for profit to be outlawed in UK government crackdown

https://www.theguardian.com/money/2025/nov/17/reselling-tickets-for-profit-to-be-outlawed-in-uk-g...
12•helsinkiandrew•27m ago•4 comments

C++ implementation of SIP, ICE, TURN and related protocols

https://github.com/resiprocate/resiprocate
71•mooreds•1w ago•7 comments

There Has to Be a Better Way to Make Titanium

https://www.orcasciences.com/articles/there-has-to-be-a-better-way-to-make-titanium
9•Armic•1w ago•0 comments

What Did Medieval Peasants Know? (2022)

https://www.theatlantic.com/health/archive/2022/05/medieval-history-peasant-life-work/629783/
40•thinkingemote•1w ago•53 comments

Show HN: Reverse perspective camera for OpenGL (Three.js)

https://github.com/bntre/reverse-perspective-threejs
43•bntr•1w ago•4 comments

Deploying Temporal on AWS ECS with Terraform

https://papnori.github.io/posts/temporal-ecs-terraform/
25•norapap•1w ago•8 comments

Craft Chrome Devtools Protocol (CDP) commands with the new command editor

https://developer.chrome.com/blog/cdp-command-editor
91•keepamovin•1w ago•22 comments