The Konstantin (@barskykd) profile picture

Internationally recognized JSON expert

Уфа
Joined August 2009
Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)Photo by The Konstantin (@barskykd)
The Konstantin retweeted
Therapeutic Rage
5
19
1
183
23,731
I REFUSE TO ACKNOWLEDGE RON PERLMAN 🫣
4
57
2
1,034
22,921
The Konstantin retweeted
2
6
305
The Konstantin retweeted
- Hey dad, lend me $5,000, I want to buy an ounce of gold. - $5,100? Sorry son, I don't have $5,200 available right now, and why on earth do you want to spend $5,300 on gold anyway?
145
907
78
33,103
1,970,858
The Konstantin retweeted
Make IT make sense, Sherlock! 🕵️
1
76
2
736
17,824
27
1,701
45
31,308
215,932
The Konstantin retweeted
Man how lucky are millennial devs, just as we’re getting too old and tired for this job, all the tedium gets magically removed and there’s an amplifier that makes all of our knowledge 1000x more useful (and necessary)
162
255
49
5,216
226,048
The Konstantin retweeted
What do you call it, and what do you put in it? Originated in the 1860s at Moscow's Hermitage restaurant, the salad was initially a luxurious creation by the French chef Lucien Olivier featuring gourmet ingredients like grouse, veal tongue, caviar, and crayfish tails. Over time, the recipe evolved into a widely accessible staple by swapping rare delicacies for boiled vegetables, pickles, and eggs, allowing it to conquer half the world under various names, most commonly "Russian salad." Today, in its many regional iterations, it reigns supreme as the indispensable centerpiece of New Year's Eve and Christmas feasts across Eastern Europe, the Balkans, and beyond.
144
227
73
1,646
163,568
The Konstantin retweeted
2026 interview questions: - you are in the middle of a refactor and the model says 8% context left before auto-compaction. what do you do? - how do you decide which tasks to give to claude, codex gpt 5.2 xhigh, and chatgpt pro? - tell me about a time you disagreed with an LLM
130
185
41
3,586
227,731
The Konstantin retweeted
Love this, but you know how every system design interview goes: “Nice toy URL shortener… now make it handle 5B redirects/day, multi-region, zero downtime, analytics, abuse protection and no data loss.” At that point your 160 lines in C turns into something like: Public edge: DNS + Anycast → global entry CDN/edge layer to cache popular short links close to users WAF + rate limiting so your “minimal” service doesn’t die to a botnet Read path: Edge cache hit for hot URLs Miss → API tier behind load balancer In-memory cache (Redis/Memcached) for short→long lookups Fallback to primary datastore (say DynamoDB / Postgres with sharding) Write path: POST /shorten → API tier ID generation via Snowflake/segment allocators to avoid collisions Persist mapping in DB Push event to Kafka/Kinesis for async stuff (analytics, fraud checks, email hooks etc) Cold storage + analytics: All click events streamed to S3 as cheap, durable storage Presto/Trino/Athena over S3 for reporting Aggregated stats materialized back into a “stats” store for fast dashboards Reliability: Multi-region active/active or active/passive S3 as backup for mapping snapshots + disaster recovery Background jobs to rehydrate caches, reindex, move old data to cheaper tiers Interviewer brain: “Cool, now talk about: hot key mitigation schema migrations without downtime rolling deploys / canaries how you test this without taking prod down”
Built a minimal URL shortener in C with SQLite ~160 lines, no bloat. Just stores URLs, generates short codes, and does lookups.
50
93
12
2,705
427,863
It's a number that goes on and on... and on... and on...
5
93
5
1,216
21,521
The Konstantin retweeted
1
4
231
The Konstantin retweeted
1
6
191
The Konstantin retweeted
1
5
219
The Konstantin retweeted
Part 3 of my Twilight vs Thorn Princess fancomic! (Read left to right >>>) 1/6 #SPY_FAMILY #SPYxFamily #loidyor #loidxyor #AnyaForger #twilight #thornprincess #yorbriar
268
3,974
170
44,519
1,648,024
The Konstantin retweeted
1
4
290
The Konstantin retweeted
Dogs
20
536
39
6,017
114,225
364
28,543
1,092
293,374
8,658,195
The Konstantin retweeted
happily ever after 🥰
2
172
2
1,856
20,459
The Konstantin retweeted
the funniest responsibility of a kryptonian
133
8,797
286
133,368
2,560,021