HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Ellipsis753

no profile record

Submissions

Scaling up Prime Video monitoring service reduced costs 90% (archive) (2023)

web.archive.org
2 points·by Ellipsis753·8 ay önce·2 comments

comments

Ellipsis753
·27 gün önce·discuss
Yes! JWTs in the browser are a total pain. You need a way to revoke them (when a user is fired, etc). Or you need to make them crazy short lived (5 minutes). Users need to stay logged in without the tab open for a lot longer than 5 minutes, so you need a way to make that work. They tend to be really large, which slows down your load times a lot due to TCP slow-start and people just having weak upload speeds. And they can easily get too large to store as a cookie. Also, people forget that anyone can read the data stored in the JWT. They just cause more problems than they solve and there's a lot of edge-cases and footguns.
Ellipsis753
·7 ay önce·discuss
Old links to your site might still be http - HSTS prevents that request being in the clear. Also, if you have a man-in-the-middle attack, it doesn't matter if you return a redirect or not as the attacker has already replaced your site with a phishing attack instead of a redirect. HSTS prevents this.
Ellipsis753
·7 ay önce·discuss
It should be able to factor 15.
Ellipsis753
·8 ay önce·discuss
I was amused but unsurprised to see that this article was deleted when I looked it up...
Ellipsis753
·9 ay önce·discuss
Looks like you were rate limited at the end. They don't rate-limit britishairways.com which is a SNI that you can always access. Lolz.
Ellipsis753
·9 ay önce·discuss
It does sound like each server is its own process. I think you're correct that it would be a little faster if all games shared a single process. That said, then if one crashed it'd bring the rest down.

This is one of those things that might take weeks just to _test_. Personally I suspect the speedup by merging them would be pretty minor, so I think they've made the right choice just keeping them separate.

I've found context switching to be surprisingly cheap when you only have a few hundred threads. But ultimately, no way to know for sure without testing it. A lot of optimization is just vibes and hypothesize.
Ellipsis753
·10 ay önce·discuss
Great article. Not understanding the hate.

I think the jist of it is, you probably have sufficiently low requests/second (<1000) that using postgres as a cache is totally reasonable - which it is. If your hitting your load tests and hardware spend, no need to optimise more.
Ellipsis753
·geçen yıl·discuss
Is this saying that intel will support _only_ 512 instructions? (And not 256).

Or that it'll support _both_ 256 and 512 instructions going forwards (and stop doing the nonsense where some cores support 512 and others don't?)
Ellipsis753
·2 yıl önce·discuss
This is how most of the top of leaderboard works.
Ellipsis753
·2 yıl önce·discuss
Weirder still, the discounts stack! So blind people can benefit from buying a black-and-white TV for an additional discount.

I've given this a lot of thought in the past. The best I could come up with is that "legally blind" could still allow for someone with _very poor_ (colour) vision...