@stevencodes.swe: Bitmaps are insanely fast for tracking users. Roaring bitmaps? Even better. Here’s how they power things like feature flags at scale. #tektok #coding #software #programming

stevencodes | SWE🧑🏻‍💻
stevencodes | SWE🧑🏻‍💻
Open In TikTok:
Region: US
Wednesday 11 June 2025 22:11:05 GMT
44387
3154
53
79

Music

Download

Comments

chucklepie2
Neil :
40 years ago they were just called masks, nothing new here 😉
2025-06-12 08:55:19
71
xoniginox
xoniginox :
one thing i never ever do as a developer is implemented my own storage structures
2025-06-12 16:26:47
1
barkenflopsmcgee
Barkenflops Mcgee :
Each bit maps to a user id… so for a million users, you need to be passing around a million bits? I must be missing something
2025-06-12 02:56:39
6
nimkee21
nimkee21 :
Sorry is this to avoid a database dip?
2025-06-11 23:12:37
2
sternquasar
SternQuasar :
Is that actually stored as bits? If yes how would you map that to a user id?
2025-06-12 03:17:03
4
someonelastname45
another feminist 🏳️‍⚧️ :
unless you're working in an environment that needs to support this level of performance most Devs will never need this.
2025-06-12 07:18:36
7
danbrag1
Dan Swag :
Is this like having a linking table in a db? Love the content!
2025-06-11 23:50:16
2
nyanhelsing
Nyan Helsing :
what about take a hash and compare less than greater than a number now you have your flag enabled or not
2025-07-18 08:05:44
0
noraaaaaas
Nora 🏳️‍⚧️ :
Serving millions of users with Python or Nodejs 😭 Just learn C++ or similar its not that hard
2025-07-14 12:22:49
0
meep8990
meep :
Bitmaps!? Like on Windows 98?
2025-06-12 00:29:34
7
mad_max_7777
jarrodsinclair6 :
this is how black and grey lists are maintained for ips as well. remote equipment just downloads a bitmap and that's what controls which IP to disallow traffic to/from or inspect more careful
2025-06-12 10:22:42
2
pothaytoe
Potato :
just use a DB???
2025-07-23 22:03:33
0
kloud_wolf
PsAIcologist :
Such a cool algorithm thank you for sharing that
2025-07-09 06:24:43
0
randompoliticalnerd
randompoliticalnerd🆘🇺🇸 :
I do find it funny that modern sw dev doesn’t teach such things. When this is generally still very extremely common in certain niches.
2025-06-13 16:25:41
0
codewithjc
codewithjc :
Awesome content man, I assume you’ve read/heard of designing data intensive applications? Any other books you recommend?
2025-06-12 08:15:27
0
malek122211as
malek122211as :
Bitmaps provide excellent performance but its hard to maintain or debug.
2025-06-12 11:26:37
0
gooo846
gooo846 :
as long as the number of entries is only in the millions I'd probably just stick to a bitmap, regardless if it's sparse in the beginning, easier to maintain, easy to compress, good for caching
2025-06-12 06:01:42
1
steveflee
Stephen Flee :
We use roaring bitmaps a ton, they are great!
2025-06-24 01:04:00
1
chieftechnologyofficer
Chief Technology Officer :
[insert jpg joke here]
2025-06-11 23:24:58
27
gibatr0n
GiBaTr0n :
like a .bmp file but for data lol
2025-06-12 16:34:58
1
princeomar300
princeomar :
Why the hell aren’t these in my data structures book😆.. is there a cookbook somewhere
2025-06-12 22:49:04
0
1pastoray
Pastori :
yeah I ain't doing allat
2025-06-13 22:37:56
0
thebobmeister2000
theBobMeister2000 :
sounds like something that would be needed only at scale
2025-06-12 15:04:07
0
ohiobrine
ohiobrine :
ok
2025-07-07 20:07:42
0
chloe.juliett
𝒸𝒽𝓁ℴℯ 🜲 queen next door :
first 🤭
2025-06-11 22:17:29
1
To see more videos from user @stevencodes.swe, please go to the Tikwm homepage.

Other Videos


About