@gudenau o would look at how io_uring in the kernel builds a ring buffer in shared memory; I remember it being quite neat.
@gudenau what does "fastest" mean? latency? throughput? when under contention, or not?
if latency is your concern, then probably just shared memory segments are going to be the fastest on every platform because they only involve a context switch to set up and then are 100% userspace. if you are frequently setting up and tearing down, though, it may be faster to use a domain socket or a pipe or a fifo than to touch page tables and set up a memory mapping.
as always, gotta know your use case and benchmark
https://lkml.org/lkml/2019/8/22/1684 this is ominous looking
@gudenau on linux you can set a thread's name with pthread_setname_np and you can get it by enumerating the threads and calling pthread_getname_np (it also shows up in gdb and possibly in some of the raw ptrace interfaces). there's nothing in POSIX, though
@gudenau I guess you could use DNAT for that. Something like `iptables -t nat -A PREROUTING -p tcp --dport 1337 -j DNAT --to-destination 192.168.2.2`. I think the flow would need to be to a routed (non-local) address for this to work, though. Kind of a weird use of iptables.
My company just (5 minutes ago) announced a major reorg (via a PDF emailed to the whole team by someone's executive assistant), basically minimizing engineering, disowning all the projects engineering has been advocating, and putting most of the company in the hands of a new executive who nobody met until last week. I think that might be the next tone of the death knell that I hear...
@gudenau bumped the Jolokia version. 😄
@kvndy big influx of spammers: https://mastodon.technology/@announcements/102537053109309247
Seeing a bunch of SSL traffic through #tor getting MITMed by an exit node presenting a *.onion.mba certificate. Hrm.
@tim1724 It's not there.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!