Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Don Y 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: References: <1r695ej.t31qiz7lhsjkN%liz@poppyrecords.invalid.invalid> <1r69dpn.1bbzdc81ozzc9wN%liz@poppyrecords.invalid.invalid> <1r6asl6.1j59su61nmck1sN%liz@poppyrecords.invalid.invalid> 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: 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 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")