Robi makes stuff – Telegram
Robi makes stuff
2.7K subscribers
4.16K photos
275 videos
46 files
1.38K links
I don't really know what im doing, but sometimes i make stuff.
This is basically the saved messages of my life.

https://news.1rj.ru/str/boost/Robi_makes_stuff

Season 2 Episode 4

My portfolio : https://robi.work
@rb_wk
Download Telegram
its so easier for me to hate on something , sometimes its valid and sometimes I'm just being a dick , but still , its something i have to get rid of because it doesn't serve me much.

idk if its sideeffects of short form content and how easy it is to just be ragebaited with how much ragebait i see in my feed.

🤷 to be discovered.
💯6😁2😴1
me : plays vid at 1.4x speed
also me : - 10 sec - 10 sec - 10 sec constantly because i forgot to listen
😁22💯6
notion calendar dies when you have at least 4 calendar accounts 😂
While doing research for chapi's 100M rows challenge , i found this neat http load testing tool and its FOSS

https://k6.io/open-source/

https://github.com/grafana/k6
🔥7👍61
Mongodb could never
This media is not supported in your browser
VIEW IN TELEGRAM
this is NOT good for my ssd 😂
🤯1
100M row writes with a fairly complex schema takes 16m 40s

db size is 6.35GB pure data and 8.4GB with indexes

thats a 2.05 GB index !!
🤯8
I cant even select * from without crashing my pc.
🤯4
takes 5 secs to count the rows and with limit 1000 , you can actually read fairly fast
😐
Please open Telegram to view this post
VIEW IN TELEGRAM
batch insert latency goes up with every additional row and insert rate is sort of plataueing at 100k per sec
fun fact , indexes don't always make your queries faster 😂

also the more cores your pc has ( physical not logical ) , the more workers psql can have on your query at a time

the query returns 2m rows out of the 100m btw
😭2
this is so fun , lowkey havent had this much fun learning something in a while

he says at 5 am 😂
6😁1
i got my query to run at 2.3 s instead of 11s
trying to finish with hardware and config optimizations before i start on shape and index based optimizations
🔥5
im gonna call it a day now and go gym

day 1 summary :
100M row seed noscript
indexes
system tuning
9 sec optimize on 2m fetch out of 100m rows

tomorrow :
query optimization
shape optimization
partitioning

p95 for a single client 8.3s -> 3.2s ( still horrible but hey a step in the right direction )
👏4
OMG my first ever sponsor
i shall remember this fr 🥰.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
2🥰34👏136🔥411