News for hackers. Stuff that matters.
Re:Ask HN: Techwise, how did TikTok get so good? by TechnicolorByte on Tuesday January 17, 2023 @09:37PM (#34422776)
For someone who doesn’t know much about this stuff, what does that mean?
Re:Ask HN: Techwise, how did TikTok get so good? by europeanguy on Tuesday January 17, 2023 @09:47PM (#34422844)
It means it has no server.
Re:Ask HN: Techwise, how did TikTok get so good? by catfishx on Wednesday January 18, 2023 @04:49AM (#34425001)
Yes, no server. It runs somewhere up in the clouds!
Re:Ask HN: Techwise, how did TikTok get so good? by not_kurt_godel on Tuesday January 17, 2023 @09:49PM (#34422863)
Ignore them, it's unlikely they know what they're talking about at multiple levels
Re:Ask HN: Techwise, how did TikTok get so good? by hot_gril on Tuesday January 17, 2023 @10:14PM (#34423008)
I took it as a joke about cloud marketing speak.
Re:Ask HN: Techwise, how did TikTok get so good? by jawr on Sunday January 22, 2023 @05:08PM (#34482746)
It’s my understanding that Reddit video was PoC’d by one person using aws lambda.

Severless often gets touted as being the best way of doing things rather than just a way. My comment was a dig at that.

But it seems like my comment somehow exposes multiple levels of ignorance, would love to know what they all are!

Re:Ask HN: Techwise, how did TikTok get so good? by not_kurt_godel on Wednesday January 25, 2023 @04:26PM (#34524429)
It was unclear to me that you were being tongue-in-cheek. Were you serious, I'd point out for starters that A. You probably don't know whether it's serverless currently and B. Even if it were it's not a particularly uniquely likely explanation for consistent latency at scale
Re:Ask HN: Techwise, how did TikTok get so good? by syrrim on Tuesday January 17, 2023 @09:51PM (#34422875)
Usually that it works via "functions" like aws lambda that don't maintain a long running process, but instead start a new process for every request.
Re:Ask HN: Techwise, how did TikTok get so good? by penjelly on Wednesday January 18, 2023 @07:31AM (#34425925)
my understanding is that in a serverless architecture the dev does not manage the server, there still is one but its managed via third party cloud services who expose basic server or database functions which your app can plug into.

think a "like count" database, it needs to increment and persist. Both very simple, and its implementation is entirely decoupled from the client implementation. Firebase would manage that for you, youd just call firebase functions instead of updating a database yourself.

note: i dont know if this is how tiktok works