From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 25 Jan 2010 15:59:49 -0500 To: 9fans@9fans.net Message-ID: <022d7d3e2065ecf32c550d52f34dd473@brasstown.quanstro.net> In-Reply-To: <019DE3DC-AEAF-489A-8583-AC031FE3C073@fastmail.fm> References: <635018e058076d45e5d6bcf01860138a@ladd.quanstro.net> <20100105150340.GF21460@nibiru.local> <5bcb0e528c3837e94d152a7a4410db21@ladd.quanstro.net> <20100113162339.GA24738@nibiru.local> <019DE3DC-AEAF-489A-8583-AC031FE3C073@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Design of webfs and webcookies Topicbox-Message-UUID: c78469c6-ead5-11e9-9d60-3106f5b1d025 On Mon Jan 25 15:15:42 EST 2010, eekee57@fastmail.fm wrote: > > On 13 Jan 2010, at 4:23 pm, Enrico Weigelt wrote: > > > * erik quanstrom wrote: > > > >> i think you misunderstand the problem. cookiefs' fs interface > >> is not the issue. cookiefs' robustness when storing the cookies > >> on the fileserver in the face of multiple concurrently running > >> cookiefs' is. > > > > ah, you're talking about the situation when multiple cookiefs > > instances running on the same storage ? hmm, that's the classical > > multi-access problem ;-O > > > > but how do you get into that situation in the first place ? > > (more to the point: who starts these multiple instances ?) > > Wouldn't multiple instances of cookiefs neatly provide transaction > isolation? i don't see how you could get acid semantics without locking the cookie file for the duration of each http exchange. this is because one can't predict the returned cookies or abort the request and try again. sending the same http request twice might end up charging your credit card twice. i'm not sure this level of inconsistency matters. - erik