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
https://k6.io/open-source/
https://github.com/grafana/k6
🔥7👍6❤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 !!
db size is 6.35GB pure data and 8.4GB with indexes
thats a 2.05 GB index !!
🤯8
takes 5 secs to count the rows and with limit 1000 , you can actually read fairly fast
this is so fun , lowkey havent had this much fun learning something in a while
he says at 5 am 😂
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
trying to finish with hardware and config optimizations before i start on shape and index based optimizations
🔥5
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
2🥰34👏13 6🔥4❤1 1
Robi makes stuff
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…
lets start tweaking the data structure and think about shape and indexes + what the features will be
this is what im starting with , a heatmap app that tracks how the user uses your app, every x ms the client would basically recocrd the x and y position of the user's mouse , and then record it for that screen.
it would make for a nice vis but i doubt itll actually give value so im just brainstorming and pivoting if needed
this is what im starting with , a heatmap app that tracks how the user uses your app, every x ms the client would basically recocrd the x and y position of the user's mouse , and then record it for that screen.
it would make for a nice vis but i doubt itll actually give value so im just brainstorming and pivoting if needed
Honestly i would love it if i could use this time to rewrite some parts of odit as well , since transactions & sms are technically something that can reach 100m rows.
but its a question of time and scope 😂.
but its a question of time and scope 😂.