frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

IPC Mechanisms: Shared Memory vs. Message Queues Performance Benchmarking

https://howtech.substack.com/p/ipc-mechanisms-shared-memory-vs-message
1•sdscpp•1h ago

Comments

sdscpp•1h ago
The Production Problem You’re pushing 500K messages per second between processes and your sys CPU time is through the roof. Your profiler shows mq_send() and mq_receive() dominating the flame graph. Each message is tiny—maybe 64 bytes—but you’re burning 40% CPU just on IPC overhead.

This isn’t a hypothetical. LinkedIn’s Kafka producers hit exactly this wall. Message queue syscalls were killing throughput. They switched to shared memory ring buffers and saw context switches drop from 100K/sec to near-zero. The difference? Every message queue operation is a syscall with user→kernel→user memory copies. Shared memory lets you write directly to memory the other process can read. No syscall after setup, no context switch, no copy.

The performance cliff sneaks up on you. At low rates, message queues work fine—the kernel handles synchronization and you get clean blocking semantics. But scale up and suddenly you’re paying 60-100ns per syscall, plus the cost of copying data twice and context switching when queues block. Shared memory with lock-free algorithms can hit sub-microsecond latencies, but you’re now responsible for synchronization, cache coherency, and cleanup if a process crashes mid-operation.

Show HN: Local WYSIWYG Markdown/mockup editor powered by Claude Code – Nimbalyst

https://nimbalyst.com
1•lrkwa•46s ago•0 comments

Excel: The Most Successful Functional Programming Platform [video]

https://www.youtube.com/watch?v=rpe5vrhFATA
1•pjmlp•1m ago•0 comments

Show HN: MailNotes – Parse Gmail threads into Notion databases using AI

https://mailnotes.es/en.html
1•urirubio•1m ago•0 comments

Grow Slowly, Stay Small

https://herman.bearblog.dev/grow-slowly-stay-small/
1•alefalfa•2m ago•0 comments

I made RSS better with Obsidian and summaries powered by my local LLM

https://www.xda-developers.com/made-rss-better-obsidian-summaries-local-llm/
1•lexoj•4m ago•0 comments

Spain's commitment to renewable energy may be in doubt

https://www.bbc.com/news/articles/cn410nll79po
1•onemoresoop•4m ago•0 comments

Pro-democracy HK tycoon Jimmy Lai convicted in national security trial

https://www.bbc.com/news/articles/cp844kjj37vo
2•onemoresoop•5m ago•0 comments

Show HN: I analyzed 49K corporate deaths (1992-2025) using minute-level data

https://github.com/Yusuf34soysal/graveyard-index
1•New_Person•8m ago•1 comments

They were almost American – then Trump cancelled their citizenship ceremonies

https://www.bbc.com/news/articles/cn8135qeezwo
10•onemoresoop•8m ago•0 comments

StarCraft Manual and Backstory [pdf]

http://ftp.blizzard.com/pub/misc/StarCraft.PDF
1•xg15•8m ago•0 comments

You can make online courses using mind maps

https://pathmind.app/landing/
1•WebToolsCaE•10m ago•1 comments

Flax: A neural network library and ecosystem for Jax designed for flexibility

https://github.com/google/flax
1•abracos•11m ago•0 comments

Billionaire Marc Cuban invests in Ireland based sports-tech AI Startup

https://www.irishtimes.com/business/2025/12/15/billionaire-marc-cuban-backs-galway-based-orreco-i...
2•bjflanne•12m ago•0 comments

OpenPBS – Industry-leading workload manager and job scheduler for HPC

https://www.openpbs.org/
1•gjvc•12m ago•1 comments

Show HN: Dynamic MCP Skillset Architecture

https://chatbotkit.com/examples/dynamic-mcp-skillset-architecture
1•_pdp_•13m ago•0 comments

Verizon refused to unlock man's iPhone, so he sued the carrier and won

https://arstechnica.com/tech-policy/2025/12/verizon-refused-to-unlock-mans-iphone-so-he-sued-the-...
2•speckx•13m ago•0 comments

PyReqwest: Performant Python bindings to the Rust reqwest HTTP library

https://github.com/MarkusSintonen/pyreqwest
1•nateb2022•13m ago•0 comments

Turning a Tinybox Green v2 into a Private AI Home Server

https://owain.bearblog.dev/turning-a-tinybox-green-v2-into-a-private-ai-home-server/
1•OwainBrennan•13m ago•0 comments

PhpBB 3.3.15

https://www.phpbb.com/community/viewtopic.php?f=14&t=2661607
1•arm32•14m ago•0 comments

The truth physics can no longer ignore

https://www.theatlantic.com/science/2025/12/physics-life-reductionism-complexity/685257/
3•mathattack•15m ago•1 comments

Show HN: Synara – deterministic calendar invites across calendar providers

https://synara.events/
1•eideus•16m ago•0 comments

Why Ice Cream Should Make You Cry and the NIH Deserves All Your Money

https://jackonomics.substack.com/p/why-ice-cream-should-make-you-cry
2•paulpauper•16m ago•0 comments

Deep Tech Office Hours

https://www.codingvc.com/p/humba-ventures-deep-tech-office-hours
1•lpolovets•17m ago•0 comments

LLM guidelines, do you have the same pblm

1•francoispiquard•17m ago•0 comments

Growth Matters

https://marginalrevolution.com/marginalrevolution/2025/12/growth-matters.html
1•paulpauper•21m ago•0 comments

The Psychic Conflicts of Oliver Sacks

https://www.newyorker.com/newsletter/the-daily/the-psychic-conflicts-of-oliver-sacks
3•paulpauper•21m ago•0 comments

Commodore 64 Ultimate Review: 21st Century Computing from a 1982 perspective

https://www.tomshardware.com/video-games/retro-gaming/commodore-64-ultimate-review
2•amichail•22m ago•0 comments

Show HN: A little utility to take screenshots and record screen on GNU/Linux

https://github.com/andreamonaco/screenrec
3•andreamonaco•23m ago•0 comments

World heading toward 'peak glacier extinction': up to 4k set to disappear a year

https://www.cnn.com/2025/12/15/climate/glaciers-disappearing-4000-a-year
2•mooreds•23m ago•0 comments

Iterate through': Why The Washington Post launched an error-ridden AI product

https://www.semafor.com/article/12/14/2025/iterate-through-why-the-washington-post-launched-an-er...
2•everybodyknows•23m ago•0 comments