[go-nuts] IOPS profiling

2024-05-06 Thread Ethan Reesor
I'm seeing some pretty strong indications that my application (which is running on AWS EC2) is bottlenecked by IOPS (I/O operations per second). Is there anything like `go test -profile=...` and `go tool pprof ...` for IOPS? We're looking at optimizing the database we're using, but I'd much pre

Re: [go-nuts] Nil pointer panic that should be impossible

2024-03-21 Thread Ethan Reesor
by calling >>> `u.String()` from multiple goroutines. And the non-zero length of the >>> string header written by one goroutine becomes visible to the other one, >>> before the modification to the data pointer. >>> >>> On Fri, Mar 15, 2024 at 11:15 P

[go-nuts] Nil pointer panic that should be impossible

2024-03-15 Thread Ethan Reesor
>From this CI job : panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x51d8b7] goroutine 1589381 [running]: strings.EqualFold({0xc000beec20?, 0x0?