frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Building a high-performance ticketing system with TigerBeetle

https://renerocks.ai/blog/2025-11-02--tigerfans/
56•jorangreef•2d ago

Comments

ripberge•1h ago
Having built a ticketing system that sold some Oasis level concerts there's a few misconceptions here:

Selling an event out takes a long time to do frequently because tickets are VERY frequently not purchased--they're just reserved and then they fall back into open seating. This is done by true fans, but also frequently by bots run by professional brokers or amateur resellers. And Cloudflare and every other state of the art bot detection platform doesn't detect them. Hell, some of the bots are built on Cloudflare workers themselves in my experience...

So whatever velocity you achieve in the lab--in the real world you'll do a fraction of it when it comes to actual purchases. That depends upon the event really. Events that fly under the radar may get you a higher actual conversion rate.

Also, an act like Oasis is going to have a lot of reserved seating. Running through algorithms to find contiguous seats is going to be tougher than this example and it's difficult to parallelize if you're truly giving the next person in the queue the actual best seats remaining.

There are many other business rules that accrue after years of features to win Oasis like business unfortunately that will result in more DB calls and add contention.

0cf8612b2e1e•1h ago
Does that mean that there is some smoke and mirrors when, eg Taylor Swift, says they sold out the concert in minutes? Or are the mega acts truly that high demand?
ripberge•36m ago
You can get the seats into "baskets" (reserved) in minutes. In my experience they will not sell out for some time as they usually keep dropping back into inventory. "Sold Out" is a matter of opinion. There are usually lots of single seats left sometimes for weeks or months. The promoter decides when to label the event as "sold out".
kevinak•1h ago
Is FastAPI just bad with SQLite? I would have expected SQLite to smoke Postgres in terms of ops/s.
makapuf•48m ago
SQLite is in process, but concurrent write / performance is a complex matter : https://sqlite.org/wal.html
kevinak•43m ago
Yes, that's why I would expect it to smoke Postgres here, in process is orders of magnitude faster. Do you really need concurrency here when you can do 10-100k+ inserts per second?
koakuma-chan•21m ago
I think Python is bad in general if you want “high-performance”
nickmonad•1h ago
It seems to me that, in practice, you'd want the "LiveBatcher" to have some durability as well. Is there a scenario where a customer could lose their place because of a horribly timed server shutdown, where those transfers hadn't even been sent to TigerBeetle as pending yet? Or am I misunderstanding the architecture here?

Edit: Yes, I think I misunderstood something here. The user wouldn't even see their request as having returned a valid "pending" ticket sale since the batcher would be active as the request is active. The request won't return until its own transfer had been sent off to TigerBeetle as pending.

Fei Fei Li: Spatial Intelligence is AI’s Next Frontier

https://drfeifei.substack.com/p/from-words-to-worlds-spatial-intelligence
59•mkirchner•1h ago•33 comments

Unexpected things that are people

https://bengoldhaber.substack.com/p/unexpected-things-that-are-people
367•lindowe•6h ago•186 comments

Writing your own BEAM

https://martin.janiczek.cz/2025/11/09/writing-your-own-beam.html
81•cbzbc•1d ago•11 comments

The lazy Git UI you didn't know you need

https://www.bwplotka.dev/2025/lazygit/
159•linhns•4h ago•56 comments

TTS Still Sucks

https://duarteocarmo.com/blog/tts-still-sucks
22•speckx•1h ago•28 comments

High-performance 2D graphics rendering on the CPU using sparse strips [pdf]

https://github.com/LaurenzV/master-thesis/blob/main/main.pdf
10•PaulHoule•41m ago•0 comments

Zeroing in on Zero-Point Motion Inside a Crystal

https://physics.aps.org/articles/v18/178
15•lc0_stein•1h ago•0 comments

Using Generative AI in Content Production

https://partnerhelp.netflixstudios.com/hc/en-us/articles/43393929218323-Using-Generative-AI-in-Co...
48•CaRDiaK•3h ago•21 comments

Error ABI

https://matklad.github.io/2025/11/09/error-ABI.html
48•todsacerdoti•20h ago•9 comments

Memory Safety for Skeptics

https://queue.acm.org/detail.cfm?id=3773095
43•steveklabnik•4h ago•28 comments

Registered OAuth Parameters

https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#parameters
22•mooreds•6d ago•3 comments

Linux in a Pixel Shader – A RISC-V Emulator for VRChat

https://blog.pimaker.at/texts/rvc1/
12•rbanffy•56m ago•3 comments

Omnilingual ASR: Advancing automatic speech recognition for 1600 languages

https://ai.meta.com/blog/omnilingual-asr-advancing-automatic-speech-recognition/?_fb_noscript=1
49•jean-•4h ago•11 comments

Unix v4 Tape Found

https://discuss.systems/@ricci/115504720054699983
56•greatquux•4d ago•4 comments

Head in the Zed Cloud

https://maxdeviant.com/posts/2025/head-in-the-zed-cloud/
43•todsacerdoti•8h ago•8 comments

Benchmarking leading AI agents against Google reCAPTCHA v2

https://research.roundtable.ai/captcha-benchmarking/
80•mdahardy•6h ago•60 comments

Building a high-performance ticketing system with TigerBeetle

https://renerocks.ai/blog/2025-11-02--tigerfans/
56•jorangreef•2d ago•8 comments

Launch HN: Hypercubic (YC F25) – AI for COBOL and Mainframes

64•sai18•6h ago•42 comments

Dependent Types and How to Get Rid of Them

https://chadnauseam.com/coding/pltd/are-dependent-types-actually-erased
8•pie_flavor•1w ago•0 comments

Synesthesia helps me find four-leaf clovers (2023)

https://matthewjamestaylor.com/synesthesia-four-leaf-clovers
53•iansteyn•1w ago•36 comments

3D Heterogeneous Integration Powers New DARPA Fab

https://spectrum.ieee.org/3d-heterogeneous-integration
3•rbanffy•41m ago•0 comments

Canadian military will rely on public servants to boost its ranks by 300k

https://ottawacitizen.com/public-service/defence-watch/canadian-military-public-servants
62•Teever•5h ago•138 comments

Redmond, WA, turns off Flock Safety cameras after ICE arrests

https://www.seattletimes.com/seattle-news/law-justice/redmond-turns-off-flock-safety-cameras-afte...
198•dredmorbius•4h ago•191 comments

Pose Animator – An open source tool to bring SVG characters to life (2020)

https://blog.tensorflow.org/2020/05/pose-animator-open-source-tool-to-bring-svg-characters-to-lif...
126•jerlendds•6d ago•13 comments

Interesting SPI Routing with iCE40 FPGAs

https://danielmangum.com/posts/spi-routing-ice40-fpga/
86•hasheddan•9h ago•6 comments

LLMs are steroids for your Dunning-Kruger

https://bytesauna.com/post/dunning-kruger
272•gridentio•7h ago•222 comments

Asus Ascent GX10

https://www.asus.com/networking-iot-servers/desktop-ai-supercomputer/ultra-small-ai-supercomputer...
178•jimexp69•6h ago•166 comments

Cybersecurity breach at Congressional Budget Office remains a live threat

https://www.politico.com/live-updates/2025/11/10/congress/cbo-still-under-threat-00644930
12•mooreds•43m ago•0 comments

How cops can get your private online data

https://www.eff.org/deeplinks/2025/06/how-cops-can-get-your-private-online-data
231•jamesgill•6h ago•51 comments

Sysgpu – Experimental descendant of WebGPU written in Zig

https://github.com/hexops-graveyard/mach-sysgpu
4•coffeeaddict1•1h ago•0 comments