TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How we built JSR

63 点作者 vladev大约 1 年前

12 条评论

danpalmer大约 1 年前
&gt; So how do we make serving modules reliable? We defer the entire problem to Google Cloud. The same infrastructure that serves google.com and YouTube is used to host modules on JSR. None of our custom code sits in this hot path<p>I work at Google and even I do this. Services like the storage backing GCS are incredibly reliable and have teams of SREs supporting them, so I offload as much as possible to services that have more dedicated support than I&#x27;m able to provide.
lucacasonato大约 1 年前
Hey hey, post author here - happy to answer your questions!
vladev大约 1 年前
Interesting that they use Rust for most things, rather than Deno. I would&#x27;ve expected more dog-fooding on their part.
评论 #40014089 未加载
评论 #40013811 未加载
评论 #40014061 未加载
评论 #40013939 未加载
Caitlynmeeks大约 1 年前
Am I the only one here who saw the title and had hoped it was a post-mortem for Jet Set Radio? :)
评论 #40014533 未加载
giovannibonetti大约 1 年前
&gt; Reading a file takes a couple hundred nanoseconds on a modern SSD.<p>According to &quot;Latency Numbers Every Programmer Should Know (2020)&quot; [1] reading even a single page from a modern SSD takes over 10 microseconds.<p>[1] <a href="https:&#x2F;&#x2F;colin-scott.github.io&#x2F;personal_website&#x2F;research&#x2F;interactive_latency.html" rel="nofollow">https:&#x2F;&#x2F;colin-scott.github.io&#x2F;personal_website&#x2F;research&#x2F;inte...</a>
lionkor大约 1 年前
I&#x27;m not sure what 100% uptime is supposed to mean. Zero downtime, thats like saying zero bugs - it&#x27;s not going to happen. Even 99.9999% uptime would be realistic, but 100% is not happening. There are factors out of your control that you cant guarantee will not even be down 1ms per year.<p>How do you manage 100% uptime when your db is only going to be 99.9%? The latter is almost easy, the former, even if we assume 99.99999%, really really hard.<p>Just silly and may show that there are some unrealistic assumptions, maybe? Or maybe the team doesn&#x27;t know much about reliability -- also concerning.<p>Just target six nines and be done with it, or something.<p>In may of last year, NPM was down to 99.8 for the month.
评论 #40014566 未加载
评论 #40014227 未加载
Destiner大约 1 年前
&gt; We use the excellent sqlx Rust package to handle migrations.<p>&gt; The JSR API server is written in Rust, using the Hyper HTTP server. It communicates with the Postgres database via the sqlx Rust crate.<p>Looks like most of the backend is written in Rust. Must be a bummer working on a JS runtime, and not being able to test it out at such a scale.
评论 #40015067 未加载
alexarena大约 1 年前
Curious how you’re implementing the background queue for publishing? Something custom in Rust?
评论 #40014322 未加载
Thaxll大约 1 年前
Just a small point but google.com and YouTube do not run on the same infra as what you see on GCP, especially if you use GKE etc...<p>It&#x27;s trivial to see because when GCP is down somehow Google and Gmail keep working.
评论 #40014611 未加载
it大约 1 年前
I&#x27;m making an app with a Typescript+React front end and a Go back end. While in local development, I serve it with Vite. Could I use Deno in place of Vite+Node?
评论 #40014887 未加载
ivanjermakov大约 1 年前
Deno continues being everything: now additionaly it is package manager, cdn, and package registry.<p>Interop with npm kills any benefit of using it until adoption is high.
mike256大约 1 年前
Why JSR (Java Specification Request)?
评论 #40014402 未加载
评论 #40014469 未加载
评论 #40014164 未加载
评论 #40013930 未加载