| Deutsch English Français Italiano |
|
<vmegbo$7evu$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Don Y <blockedofcourse@foo.invalid>
Newsgroups: sci.electronics.design
Subject: Re: Serial, concurrent, parallel
Date: Fri, 17 Jan 2025 13:59:26 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <vmegbo$7evu$1@dont-email.me>
References: <vm69a2$2h52d$1@dont-email.me> <vmam6l$3et7s$1@dont-email.me>
<vmar9r$3g1ud$2@dont-email.me>
<1r695ej.t31qiz7lhsjkN%liz@poppyrecords.invalid.invalid>
<vmb2ko$3hal6$1@dont-email.me>
<1r69dpn.1bbzdc81ozzc9wN%liz@poppyrecords.invalid.invalid>
<vmbagr$3idpo$1@dont-email.me>
<1r6asl6.1j59su61nmck1sN%liz@poppyrecords.invalid.invalid>
<vmefrf$7eam$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Jan 2025 21:59:36 +0100 (CET)
Injection-Info: dont-email.me; posting-host="68adfa8e3e76f0eebe2e8c9bdf898e65";
logging-data="244734"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iNZkRfqHGT2r28cOsqO0c"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:KJNFk5y24HlpildIvD4dZUKp8Rc=
Content-Language: en-US
In-Reply-To: <vmefrf$7eam$1@dont-email.me>
Bytes: 2458
On 1/17/2025 1:50 PM, Don Y wrote:
> It will also ensure that multistep operations all happen
> as an indivisible (atomic) "transaction" so no other
> user (accessing the database at that same instant)
> will ever see "partial results". E.g., adjusting the
> population of locality 5 down by 321 souls to reflect the
> folks who have RELOCATED to locality 88 (you will never
> see 321 *extra* people nor 88 *fewer* people, depending
s/88/321/
> on the order in which the *individual* population counts
> were "adjusted".)
I.e., I can:
adjust the population of locality 5 down by 321
THEN, adjust the poulation of locality 88 *up* by 321
OR
adjust the population of locality 88 up by 321
THEN, adjust the population of locality 5 down by 321
If <someone> peeks at this data between the first "step"
and the second, they will either see 321 fewer people
living in the country (!) or 321 *more* -- when the
total population hasn't actually changed (as is evident
before and after the "transaction")