Aleksei Serebriakov 🐍 retweetledi
Aleksei Serebriakov 🐍
4.6K posts

Aleksei Serebriakov 🐍
@slwl_dev
Indie dev, Swift/Rust https://t.co/DBB7V33slH . Building in public from Tbilisi 🇬🇪 Get to 100k$ MMR or die tryin'
Saint-Petersburg :( Tbilisi Katılım Aralık 2014
222 Takip Edilen34 Takipçiler

@Tobby_scraper snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@JacobCounsell snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@CiprianiRanieri snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@yusukelp snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@sickdotdev snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier
English

@sickdotdev snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@mscode07 snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@rxhit05 snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@delveroin snapapi.pics , ultimate web screenshot/video api, with support of scraping, extraction, llm analysys and s3 vault support, 8 sdks, 200calls/mo free tier forever
English

@mscode07 Building snapapi.pics, ultimate screenshot api, happy to connect :)
English

@BuffetDesigns Building snapapi.pics, ultimate screenshot api, happy to connect :)
English

@foundrceo Hey, happy to connect, i'm building snapapi.pics, ultimate screenshot api :)
English

@NaivaidyaY66600 snapapi.pics screenshot api with support of videos, data extraction, llm analysys, s3 vault, proxies etc
English

@heyblake snapapi.pics screenshot api with support of videos, data extraction, llm analysys, s3 vault, proxies etc
English

Day 12: Kubernetes Autoscaling Design.
"How does your k8s cluster scale?" → Most candidates say HPA. Interviewers want all 3 layers.
Layer 1: HPA (Horizontal Pod Autoscaler)
→ Scale pod replicas based on CPU/memory or custom metrics
→ Custom metrics: Prometheus Adapter → KEDA (event-driven)
→ Stabilization window matters — prevent flapping
Layer 2: VPA (Vertical Pod Autoscaler)
→ Right-size pod resource requests/limits automatically
→ Don't run VPA + HPA on same metric simultaneously
Layer 3: Cluster Autoscaler / Karpenter
→ Add/remove nodes based on pending pods
→ Karpenter (AWS) → provisions nodes in seconds vs minutes
→ Spot instance handling: interruption detection + graceful drain
Interview signal: "We use KEDA for queue-based scaling — scale to zero when queues are empty." Cost optimization + scale-to-zero = senior flag.
English

For "charge a card" the answer most candidates miss is the ledger is the source of truth, not the payment gateway — append-only entries with double-entry accounting invariants, then reconcile the gateway state against it via a scheduled sweep job. That framing also solves the webhook out-of-order problem.
English

14/ Company‑specific: Razorpay / Stripe / fintech
Key themes:
- Consistency, correctness, idempotency
- Observability: logs, metrics, alerts
- Security mindset
Prep:
- Know exactly how you’d design “charge a card”, “retry a failed payment”, “webhook with retries + backoff.”
- Have real examples of bugs you prevented / debugged in critical flows.
English

1/ Most people “prepare for interviews”.
If you’re aiming for top spots like @Rippling , @databricks , @stripe , @nvidia , @Razorpay , @JioHotstar etc, you may need to rebuild yourself for that bar.
Here’s the PLAYBOOK for 0–5 YOE folks in India.
Save this. 🔖
English

Unique index on event.id + INSERT first, then catch 23505 and 200 → gives you dedup for free. For out-of-order the trick is reading subscription.status from a Retrieve API call inside the handler rather than trusting the event payload — Stripe has eventual consistency on the object but the API is canonical.
English

@kayintveen @fidexcode stripe webhooks specifically yeah. spent more time on webhook idempotency than the actual checkout flow. events show up out of order, duplicates fire randomly — claude gives you a clean handler that works great until real traffic hits it
English
















