Estatísticas do vídeo
Contagens públicas da última atualização.
- Visualizações
- 1.052
- Curtidas
- 16
- Comentários
- 0
- Compartilhamentos
- 2
- Salvamentos
- 5
- Engajamento
- 1,71%
- Duração
- 140s
- Publicado
- 12 de out. de 2026
Análise do vídeo
O vídeo do TikTok “Comment LOCK and I'll send you the cheat sheet comparing locks, atomic updates, and constraints. One ticket left. Two people click Buy at the same time. Both your screens say you got it. ⚡ The bug isn't in your checkout code, it's the gap between checking and writing. Your server reads the seat, sees available, and then, before it writes sold, does something else entirely ⚡ In that gap Leo's request runs the exact same read. It also sees available. Then both writes land, and you send two confirmation emails for one chair ⚡ This is a race condition: not a rare crash, but the ordinary outcome of two requests arriving at once. Nothing threw. Nothing warned. The database did exactly what it was asked, twice ⚡ The first fix is pessimistic locking. SELECT ... FOR UPDATE takes a row lock, and Leo's request can't even read that row until Maya's transaction commits. The queue behind it stops being optional ⚡ The second fix is better because it removes the gap entirely: fold the check into the write. UPDATE seats SET status='sold' WHERE seat='F12' AND status='available', one statement, one decision ⚡ That runs as a single atomic operation. The check and the update either both succeed or neither happens. There is no "between" left for a second request to stand in Even buggy code can't break that rule, because the constraint lives in the database, not in your code. A unique key on the event-and-seat pair means two confirmed tickets for the same seat can't physically exist in the table. The engine refuses the second insert no matter what your application does. The database never really picks a winner by magic. It forces the two requests into a line. One goes first. The other sees the result. Two rules that outlive this specific example: keep your checks inside the write, and keep the final guarantee in the schema. Which has cost you more time, the bug or the incident review after it? Comment LOCK for the full cheat sheet. #databases #concurrency #postgresql #backend #programming” de @entrepreneurship93 tem 1.052 visualizações, 16 curtidas, 0 comentários e 2 compartilhamentos nas métricas públicas captadas por este índice. Isso dá uma taxa de engajamento de 1,71% (curtidas, comentários e compartilhamentos sobre visualizações). Foi publicado há mais de duas semanas e tem duração de 2 minutos 20 segundos. Total de salvamentos: 5.
Dados de 26 de out. de 2026 (UTC), da última atualização pública captada por este índice.
- Seguidores
- 11.564
- Seguindo
- 12
- Curtidas
- 646.906
- Vídeos
- 41
Vídeos recentes
503visualizações31curtidas0comentáriosmês passado@entrepreneurship93 757visualizações44curtidas0comentáriosmês passado@entrepreneurship93 357visualizações7curtidas0comentáriosmês passado@entrepreneurship93 1 milvisualizações46curtidas2comentáriosmês passado@entrepreneurship93 144visualizações0curtidas0comentáriosmês passado@entrepreneurship93 599visualizações21curtidas0comentárioshá 2 meses@entrepreneurship93 542visualizações29curtidas0comentárioshá 2 meses@entrepreneurship93 1,5 milvisualizações55curtidas0comentárioshá 2 meses@entrepreneurship93 1 milvisualizações36curtidas2comentárioshá 2 meses@entrepreneurship93 6,6 milvisualizações66curtidas2comentárioshá 3 meses@entrepreneurship93
Hashtags neste vídeo
Os links permanecem dentro deste índice.
Perguntas frequentes
- Quantas visualizações este vídeo do TikTok tem?
- A captura indexada aqui registra 1.052 visualizações, 16 curtidas e 0 comentários.
- Quem publicou este vídeo do TikTok?
- Foi publicado por @entrepreneurship93, que tem link nesta página.
- Qual é a taxa de engajamento deste vídeo do TikTok?
- Considerando as métricas captadas, a taxa de engajamento é de 1,71% (curtidas + comentários + compartilhamentos sobre visualizações).
- Quando este vídeo do TikTok foi publicado?
- Foi publicado em 2026-10-12, há mais de duas semanas.
- Quais hashtags são usadas neste vídeo?
- A captura traz 1 hashtag, começando por #programming.
- Qual é a duração deste vídeo do TikTok?
- O vídeo captado tem duração de 2 minutos 20 segundos.