News for hackers. Stuff that matters.
Re:Bitcoin mining is being banned in countries across the globe by bob1029 on Monday January 10, 2022 @07:23AM (#29873716)
To be fair, those credit card processors are not running as fast as they could in theory either.

You can find another 3 orders of magnitude in certain financial exchanges. In some cases, those millions of transactions per second are being managed on a single thread.

Re:Bitcoin mining is being banned in countries across the globe by zenron on Monday January 10, 2022 @10:30AM (#29876309)
LMAX Disruptor is living proof of that.

https://martinfowler.com/articles/lmax.html

Re:Bitcoin mining is being banned in countries across the globe by bob1029 on Monday January 10, 2022 @01:37PM (#29879351)
This is precisely what I was referring to. I sometimes wonder if the dev community has blinders on regarding how much elegance lives with this technique.
Re:Bitcoin mining is being banned in countries across the globe by anthonygd on Monday January 10, 2022 @02:36PM (#29880599)
Why do you suspect blinders? Do you know of many cases where the disruptor pattern should be used by isn't?
Re:Bitcoin mining is being banned in countries across the globe by bob1029 on Monday January 10, 2022 @03:28PM (#29881753)
> Do you know of many cases where the disruptor pattern should be used by isn't?

The disruptor pattern is the way to solve any problem where you need to process events/transactions/commands/et. al. in a serialized fashion [0] as quickly as possible.

This problem space involves almost all business software, databases, simulations, etc.

I do not know of any other technique that would allow for faster serial processing of data, especially when controlling for practical applicability.

When I refer to blinders, I think I am mostly pointing to the ignorance regarding what is actually possible with the hardware (if you get the software out of its way). Any other technique involving cache-friendly structures, ring buffers, etc. is in the same league as far as I am concerned.

[0] To be as clear as possible, "serialized" in this context means that the consequences of event #1 may alter how event #2 would be processed, and so on.

Re:Bitcoin mining is being banned in countries across the globe by AccountToUse on Monday January 10, 2022 @10:20AM (#29876157)
Well, certainly not on Robin Hood's servers.
Re:Bitcoin mining is being banned in countries across the globe by nacs on Monday January 10, 2022 @12:14PM (#29877991)
Robin Hood isn't a credit card processor -- they're stock traders.
Re:Bitcoin mining is being banned in countries across the globe by SilasX on Monday January 10, 2022 @12:40PM (#29878431)
Oh yeah, the exchanges are great on throughput.

The two-(business!-)day lag for finality really hurts their latency figures though.