Originally published at ffmpeg-micro.com You need a thumbnail from a video file. Maybe you're building a video gallery, generating preview images for a CMS, or creating social media cards from uploaded content. The usual advice is to install FFmpeg on your server and write extraction scripts. That works until you need it in production. FFmpeg can extract a single frame from any video using two fla
What if your Kubernetes cluster simply refused to run unsigned images? I spent some time experimenting with enforcing image provenance in a small Kubernetes setup using MicroK8s. The idea was simple: Only container images with valid cryptographic signatures are allowed to run in the cluster. For this I used: GitLab CI/CD (build + signing pipeline) Cosign / Sigstore (image signing) Kyverno (admissi
บทนำ (Introduction) ในฐานะนักพัฒนา เรามักจะหลงใหลในวิธีการที่แพลตฟอร์มระดับโลกจัดการกับการแพร่ภาพมัลติมีเดียจำนวนมหาศาล VKontakte (VK.com) ซึ่งเป็นเครือข่ายโซเชียลที่ใหญ่ที่สุดในยุโรปตะวันออก ไม่ได้เป็นเพียงแค่แอปพลิเคชันโซเชียลทั่วไป แต่ในมุมมองทางวิศวกรรม มันคือหนึ่งในระบบ Content Delivery Network (CDN) ที่ก้าวหน้าที่สุด โดยใช้การสตรีมแบบ Adaptive Bitrate (ABR) และกลยุทธ์ความปลอดภัยที่เข้มงวดเ
Most teams I have worked with have one auth test in their suite. It looks like this: test('valid token verifies', () => { const token = signSync({ sub: 'user-1', aud: 'api://backend' }, secret); const result = verify(token, options); expect(result.valid).toBe(true); }); That test is fine. It is also a smoke test, not a regression suite. It catches the case where verification is completely b
The on-call alert at 02:14 said auth_5xx_rate spiked from 0.01 to 31.4. Not a deploy window. Not a traffic spike. Just thirty-one percent of authenticated requests failing for ~four minutes, then back to baseline. The cause was a JWKS rotation on the issuer side. New keys came in. Old keys went out. Caches in our service didn't refresh fast enough. Tokens signed with the new key were rejected beca