Rez Moss

1.5K posts

Rez Moss banner
Rez Moss

Rez Moss

@rez_moss

🛠️ Building scalable online businesses & cloud solutions—X at the intersection of technology and entrepreneurship ✨ ☁️https://t.co/jWbMHbAMaa like 👉#golang #aws

Canada Katılım Şubat 2011
163 Takip Edilen743 Takipçiler
Rez Moss
Rez Moss@rez_moss·
what are your fav Go packages I’m looking to sponsor 10 repos that have sponsorships open
English
1
0
5
1.3K
Rez Moss
Rez Moss@rez_moss·
Beyond Vulnerability Scanning, How SBOM Diff Exposes Shadow Dependencies in Your Supply Chain ( Go tool )
Rez Moss tweet media
English
1
0
3
625
Rez Moss
Rez Moss@rez_moss·
been digging into Bottlerocket os internals lately, small system but packed with big ideas
English
0
0
2
91
Rez Moss
Rez Moss@rez_moss·
A high-performance Go package for detecting disposable/temporary email addresses
Rez Moss tweet media
English
2
0
8
1.3K
Rez Moss
Rez Moss@rez_moss·
@PinkDraconian think of it like more id & quota management so its easier to control abuse
English
0
0
0
234
PinkDraconian
PinkDraconian@PinkDraconian·
I still don't understand Google Maps API keys. If you're showing a map on your website, the API key is in your client-side code. An attacker can use this API key to send millions of requests and you're paying for it. There's no way to secure it?
English
283
85
4K
849.8K
David Sinclair
David Sinclair@davidasinclair·
Just installed this. Great reminder!
David Sinclair tweet media
English
155
66
2.7K
1.9M
Phuong Le
Phuong Le@func25·
mmap in Go is not always faster I/O like most people think. It performs blocking disk access that the runtime CAN'T see, and it can actually stall your entire application/process Go runs many goroutines on a small, fixed number of OS threads, controlled by GOMAXPROCS, right? When a goroutine does a known blocking operation like read() or pread(), the runtime knows it's entering a syscall. It marks that thread as blocked and can start another OS thread so other goroutines keep running. But with mmap(), this is a different story. mmap maps a file directly into your process's memory, so you can read or write the file by accessing it like a byte slice instead of calling read() or write(). The OS loads pages from disk on demand via page faults whenever you touch parts that aren't already in RAM. The only (big) problem is this: --- "a page fault is invisible to Go." --- What does this mean? A page fault turns a simple memory access into long blocking I/O, but Go treats it like CPU work. Go does not mark the goroutine as being in a blocking syscall state for that, because there is no syscall entry point involved: - mmap is a syscall when you create the mapping, which is fine; that part is visible to Go. - What's invisible is when you read or write bytes through the already-mapped memory. That access is just a normal CPU load or store instruction. So the OS thread can block in the kernel while still "owning" the processor, and the Go scheduler cannot do the usual handoff it does for known blocking syscalls (e.g., read(), pread()). Net effect: you can get hidden stalls and reduced parallelism, especially if enough running goroutines hit major faults at the same time (or if GOMAXPROCS=1).
English
8
22
228
13.8K
Rez Moss
Rez Moss@rez_moss·
Fast cloud provider IP detection for Go
Rez Moss tweet media
English
1
0
6
462
David Nix
David Nix@david_nix·
Question for the builders: If you have a .net and .org of the same name. (No .com) Which one should be your main domain? Which one shows the most trust?
English
13
0
6
947
David Nix
David Nix@david_nix·
Friends don't let friends vibe security
David Nix tweet media
English
3
0
20
328
Gergely Orosz
Gergely Orosz@GergelyOrosz·
How is the world's largest storage system, AWS S3 built? I found the best person to talk about this: Mai-Lan Tomsen Bukovec, who has been heading up S3 for 13 years (!) S3's scale is something else (tens of millions of hard drives, eleven 9s of durability (!!) and heavy usage of formal methods, microservices dedicated to durability, amongst others.) Watch or listen: • YouTube: youtu.be/5vL6aCvgQXU • Spotify: open.spotify.com/episode/5iWI2d… • Apple: podcasts.apple.com/us/podcast/how… Brought to you by: • @statsig — ⁠ The unified platform for flags, analytics, experiments, and more. statsig.com/pragmatic@SonarSource – The makers of SonarQube, the industry standard for automated code review. sonarsource.com/pragmatic/?utm… Check out their latest State of Code Developer Survey report: sonarsource.com/pragmatic/deve…@WorkOS – Everything you need to make your app enterprise ready. workos.com
YouTube video
YouTube
English
32
143
1.3K
132.3K
Rez Moss retweetledi
DailyProgress
DailyProgress@progress_fyi·
Year progress: 3.0%
DailyProgress tweet media
English
0
1
1
61
Rez Moss
Rez Moss@rez_moss·
@david_nix smart, so the destination page is the landing page with the form ?
English
1
0
1
35
David Nix
David Nix@david_nix·
Validate before building
David Nix tweet media
English
5
0
12
4.7K
Rez Moss
Rez Moss@rez_moss·
@SumitM_X kinda feels like that payload is more about storage than a regular api, so parsing and processing makes sense as next step
English
0
0
0
32
SumitM
SumitM@SumitM_X·
Your API needs to process huge JSON payloads (5–20 MB) from clients. How do you design it so parsing alone doesn’t choke your CPU?
English
95
39
799
123.3K