On 11/3/26 18:18, Pancho wrote:
> On 11/3/26 22:47, John Levine wrote:
>> According to Pancho  <Panc…@protonmail.com>:
>>>>>> I know at least one guy working on IBM mainframes, and he tells me >>>>>> they are in high need of good assembler programmers. >>>>>> >>>>>> They need high i/o with very large databases. >>>>>> ...
>>
>>> Traditional banking transactions almost certainly could be parallelised, >>> to quite a high degree, whether they were or not, I don't know. They are >>> nowadays.
>> >> Only up to a point. Making the read part of databases run in parallel >> is easy. Making the write part is not. >> >> If you have $100 in your bank account, and two $75 debit transactions >> arrive at the same time, if the result is anything other than that one >> succeeded and the other failed*, your bank has a problem.  The reason they >> need very fast very large databases is that updates have to be serialized >> and there's no way to make them faster than the underlying system.  Same >> for airlines allocating seats and any other database reflecting a real world >> application where there's a finite amount of something to be parcelled out. >> >> >> >> * - yes I know about overdrafts, this is an example
> > Erm, yep, sequential transactions on my account, but why does everyone else's account need to be on the same database/compute server as my account? If A and B are doing a transaction, that has nothing to do with me, it can be done in parallel.
NOTICED - my principal bank - a LOT of transactions come up with a "pending" label. Might take DAYS. This is not some 3rd-tier bank either. Two or more larger credit/debit card charges, not sure HOW they 'compete' in that system. If too near each other one MIGHT get bumped. Problem ! In short, even 'online/instant' banking may not be THAT instant.