Soko Profile
Soko

@SokoDev

3,438
Followers
33
Following
3
Media
69
Statuses

Lead Developer @MonkeyTiltPlay Keen interest in large scale distributed systems, data intensive systems and low level programming.

Malta
Joined February 2024
Don't wanna be here? Send us removal request.
@SokoDev
Soko
8 months
Huge effort and just getting started
@TiltTens
Tilt Tens
8 months
Welcome to Monkey Tilt: An adult playground FOR degens, BY degens. 🎁 We've raised $21m from @Polychain , @PokerGo , @hack_vc , @Accomplices , @Papervc , @FoliusVentures , and others to build a unique experience where every bet is celebrated and every member is rewarded. Here’s how
355
218
5K
2
0
11
@SokoDev
Soko
6 months
I've been seeing posts about front-end devs fearing that AI is going to take their jobs. Is it just me, or is front-end not as trivial as people make it out to be. Building a performant web app ends up being a systems problem : how to lay out your data flow, SSR vs CSR (will be
3
1
7
@SokoDev
Soko
5 months
I love working with @vercel from a DevX standpoint, and it truly does have some of the best support for NextJS as a programming framework... BUT I think that @Cloudflare 's infrastructure takes the cake. They're just faster for a globally distribted audience (Note: we use both
0
0
5
@SokoDev
Soko
5 months
We're gonna Make Points Fun Again @MonkeyTiltPlay
@TiltTens
Tilt Tens
5 months
The Monkey Tilt leaderboard v1 will be live on our platform on April 29th. And we are tracking ALL bets right now at . What is the Monkey Tilt leaderboard? The leaderboard is our way to recognize and reward early users of our platform...
Tweet media one
7
811
4K
0
0
5
@SokoDev
Soko
7 months
Ryan's been one of our earliest supporters. Super stoked for this
@TiltTens
Tilt Tens
7 months
Only winners in our club. @RyanGarcia joins the playground as our new Brand Ambassador. 🎁 To celebrate, we are giving away $1,000 to 5x lucky winners who: 🎲 Sign up to and place one (1) minimum bet. ✅ Follow @MonkeyTiltPlay and leave a reply below.
18
7
22
0
0
5
@SokoDev
Soko
5 months
For the largest of my fellow degens, @MonkeyTiltPlay just pushed our High Limit section to the Casino lobby. Enjoy :
0
1
5
@SokoDev
Soko
4 months
Scaling problems 101 : @MonkeyTiltPlay is experiencing a large growth in DAUs, and we spent a lot of today dealing with classic issues in database scaling for our backend services Small 🧵on how we think about scaling
1
1
5
@SokoDev
Soko
5 months
We dropped the Leaderboard this week @MonkeyTiltPlay , super proud of the team and could not be more excited. I like to refer to this internally as the "Make Points Fun Again" campaign. A small 🧵
1
0
5
@SokoDev
Soko
6 months
@SunWukong_MT claims he's doing QA on our original games, but I think he's just addicted. Peep him "crash"-ing and burning below:
1
0
5
@SokoDev
Soko
5 months
No diddy!
@RyanGarcia
RYAN GARCIA
5 months
Yo to my fans in Mexico, Canada and Brazil. We just launched my new online casino and Sportsbook If you like shooting dice, playing blackjack, or betting on me fighting you should check us out! Good try and gamble responsibly. @monkeytiltplay
61
23
429
1
0
4
@SokoDev
Soko
5 months
Big fan of OpenAI building all our childhood fantasies. Now need to build an AI bookie
1
0
3
@SokoDev
Soko
6 months
Hard to get back to coding after that night. What a performance by Ryan, against one of the P4P greats. @MonkeyTiltPlay sees talent boys!
1
0
4
@SokoDev
Soko
5 months
@SunWukong_MT is also bald
@0xMert_
mert | helius.dev
5 months
the ceo of coinbase is bald the ceo of shopify is bald the (ex) ceo of amazon is bald the ceo of a16z is bald Nfa
204
37
734
0
0
3
@SokoDev
Soko
5 months
Happy to be along for this ride
@senortilt
Señor Tilt
5 months
I want to start talking about why I founded @MonkeyTiltPlay . I’ve been a gambler my whole life. I like most trad games (poker, dice, BJ) but I also enjoy risk taking/spec in general via stocks, crypto, venture, RE and collectibles (both phys and dig). Also, for as long as I
17
783
642
0
0
3
@SokoDev
Soko
7 months
Hats off to crypto for breathing life into the hugely slow moving online gaming industry. Operators of crypto casinos have set new standards on product innovation, pace and UI/UX Have a hunch we're going to see a large influx of talent soon as problems become more compelling 👇
1
0
3
@SokoDev
Soko
6 months
Business Intelligence (BI) is one of those areas that seem like it's just an add on layer to your data warehouse. I think this trivializes one important assumption : the design of your data warehouse. Over the last few months, as our data has grown, we've been researching /
0
1
3
@SokoDev
Soko
4 months
Pussymonster extending his lead on the @MonkeyTiltPlay leaderboard, with a surprise entry and meteoric rise from Mattdeuce32
Tweet media one
0
0
3
@SokoDev
Soko
4 months
Predictable1 with a MASSIVE run @MonkeyTiltPlay
Tweet media one
0
0
2
@SokoDev
Soko
7 months
What salary guys?
@TiltTens
Tilt Tens
7 months
If you place 1 bet or entry: you're in 🎟️ If you place 2 bets or entries: profits will be deducted from @SokoDev 's salary to the challenge🎟️🎟️ Just think about it. 🧠
20
0
20
2
0
3
@SokoDev
Soko
5 months
A monorepo creates more problems than it solves if each sub-project tries to be independent in the way its built and versioned. We've worked with monorepos enough to appreciate this, however we thought we could get by with small disjunctions until reaching true scale However, a
0
0
2
@SokoDev
Soko
5 months
To anyone who has dealt with race conditions / undefined behavior at scale : had a pesky little case with our cookies today that caused non-determinism hell! Kudos to the team for figuring it out in under 30 mins
1
0
2
@SokoDev
Soko
4 months
(7/9) API calls can be optimized in a bunch of interesting ways. One thing we found success with was matching the API re-computation to the data access pattern. How often do the trending games really change? Every 24h? We just spun up server tasks that push this data onto a CDN.
1
0
1
@SokoDev
Soko
6 months
The boys are eating tonight!!!!! @MonkeyTiltPlay
@STONKS_IU
STONKS MAN
6 months
Only ryan garcia fans are allowed to like this tweet ..!! #HaneyGarcia
Tweet media one
279
2K
27K
0
0
2
@SokoDev
Soko
4 months
(1/9) Online casinos are "content heavy / content catalogue" apps (think Netflix, Spotify) with thousands of games, sports and lines. Users expect snappy interactivity, in spite of a high volume of data A 🧵 on what @MonkeyTiltPlay is doing to keep FE performance up
1
0
2
@SokoDev
Soko
6 months
Super excited for Runes. Thinking of some cool interplays between them and @MonkeyTiltPlay
0
0
2
@SokoDev
Soko
5 months
@MonkeyTiltPlay we chose to structure all our code as a monorepo, despite having many diverse projects : multiple front-ends for our product verticals, various different services in languages ranging from Java, Golang to Terraform and more. I'll be writing a long form on this
0
0
2
@SokoDev
Soko
7 months
At @MonkeyTiltPlay we're building everything from microsecond scale systems, RAG infrastructure for domain specific problems to smart contracts and on-chain stuff. Don't know too many opportunities for that kind of breadth
0
1
2
@SokoDev
Soko
4 months
I've seen multiple interesting solutions to this over my career. We're going to try some interesting stuff and I'll write back soon (stay tuned) Only after we're at the limit of what we can do will we scale up resources + replicas
1
0
2
@SokoDev
Soko
6 months
UFC 300 was not only an amazing card (let's go Holloway and Pereira), it was also @MonkeyTiltPlay 's highest volume day! Slowly but steadily building this thing
0
0
2
@SokoDev
Soko
6 months
So true. Resolving to read = dopamine spike, reading = dopamine trough, finishing = dopamine spike. Been trying to double up this way
@karpathy
Andrej Karpathy
6 months
🧠: “Let’s but this (text)book! Nice and now… instead of reading it… let’s buy another one!” 💡 All of the dopamine is generated only at the point of resolving to read something. After that there is no juice left 😅
190
162
3K
1
0
2
@SokoDev
Soko
4 months
(2/9) Generally, FE performance is measured on three axes: - Resource delivery : how quickly are bytes shipped from your server to my browser (metrics such as TTFB, FCP and LCP) - Browser work : how much work does my browser have to do once bytes are shipped (metrics such as INP)
1
0
1
@SokoDev
Soko
4 months
In the last some days, we've been noticing increasing load on the DB (this was expected, it wouldn't last forever). Rather than scale up immediately, however, we decided to extract as much as we could from the same hardware to make for interesting lessons in systems perf
1
0
1
@SokoDev
Soko
4 months
You can actually see exactly where this Cache Stampede occurs below. All new requests, finding invalidated cache entries, blast the DB
Tweet media one
1
0
2
@SokoDev
Soko
4 months
(5/9) What we did to make X as small as possible: - Preload / prefetching comes for free with Next, but you can provide hints with tags as well. This amortizes X - Asset optimization : webp is a modern format we use, but we also played with image sizes + resolutions - Moved all
1
0
1
@SokoDev
Soko
5 months
@MonkeyTiltPlay Happy customers!
0
0
1
@SokoDev
Soko
6 months
Phenomenal read
@StanfordHAI
Stanford HAI
6 months
📢 The #AIIndex2024 is now live! This year’s report presents new estimates on AI training costs, a thorough analysis of the responsible AI landscape, and a new chapter about AI's impact on medicine and scientific discovery. Read the full report here:
15
370
721
0
0
1
@SokoDev
Soko
5 months
@SunWukong_MT Major major major haram. This is what I get for staying home and fixing observability issues for our stack
0
0
1
@SokoDev
Soko
4 months
(3/9) Each of these are fairly intricate tasks in and of themselves, but (as expected) follow a Pareto distribution in the effort required to fix Will talk about production measurement in a separate thread, but this is a must to make sure changes are actually working
1
0
1
@SokoDev
Soko
4 months
We added a cache middleware for our API requests (caching on the Body, Content-Type and Status) and API caching on our CDN. This reduced our database load by ~50% Issue with caching under high load is a large num of cache keys tend to expire at the same time, generating a
1
0
1
@SokoDev
Soko
4 months
Quite surprised that there hasn't been more work done in large scale recommender systems for online gaming. Not one product I've used does anything more sophisticated then some broad local profiling + category collaborative filtering / popularity ranking
0
0
1
@SokoDev
Soko
6 months
0
0
1
@SokoDev
Soko
6 months
Can't put into words how much I appreciate @ongardieand Prof. Osterhout for Raft () My first large-ish project in distributed systems was implementing it ground up in C++ for on-disk state management, exactly how was described in the paper (over RPC). My
0
0
1
@SokoDev
Soko
4 months
(8/9) For visual stability (CLS), properly sizing images and adding Suspense boundaries while they loaded made sure things stayed put. We also tried invisible text during font loading so there were no flashes of old font
1
0
1
@SokoDev
Soko
4 months
(4/9) Resource Delivery is concerned with how quickly you can move X bytes from point A to point B. Intuitively, you can improve this by: - Making X as small as possible : more on this later - Making the distance from A to B as small as possible : choice of infrastructure
1
0
1
@SokoDev
Soko
6 months
@SunWukong_MT They won't? Shite
0
0
1
@SokoDev
Soko
7 months
@SunWukong_MT @MonkeyTiltPlay Bigger downside having to deal with you everyday
0
0
1
@SokoDev
Soko
4 months
(6/9) Browser work depends heavily on what kind of interactivity you want to offer. Browsers do a LOT of work from rendering DOMs, executing your JS code and more. Since JS uses a run to completion model, there's multiple thread starvation opps that come from poorly designed
1
0
1
@SokoDev
Soko
4 months
(9/9) Some other misc points: - We have a LOT of images in game cards, sports logos and more. Lazy loading all images below the fold once the user started scrolling was helpful - Server side compute : for data intensive calls such as fetching 100s of games, we keep those
0
0
1
@SokoDev
Soko
5 months
@SunWukong_MT It's been all over the internet bro. You've been too busy supporting customers
0
0
1
@SokoDev
Soko
5 months
Traditionally, leaderboard points campaigns have heavily incentivized mercenary farming. It not only becomes a chore, but adversely selects the kinds of consumers while creating a subpar experience
1
0
1
@SokoDev
Soko
4 months
We started off with a single DB instance on an 8 core machine (we knew we'd outgrow this quick, but cheapest option to start!). The main writers are backend stream processing services (Kafka msg persistence), and the main readers are API gateways
1
0
1
@SokoDev
Soko
5 months
At Monkey Tilt, that just didn't jibe well. We had to rethink it. So Leaderboard V1 is just the start. Over the next few weeks, me and the devs will be tirelessly working at the game that is points accumulation. Be prepared to see lotteries, bonuses, points utility like no other
0
0
1