Not quite applicable to our use, but relevant comment
discusses mapping from CDM to App model
So just to clarify that maybe for users, using cookies is nothing special, but what you're getting at is that you don't use a cookie to store some kind of ID, which you then use on the server to look up session information data, which can be anything. You literally put all the state information into the cookie.
Yeah, we do -- yes, with a few exceptions. So the few exceptions at the moment are for multi-page flows where -- so imagine somebody is selling an item. That's not something -- you don't enter all the information in a single page, but we need to retain that transient state going along. So how we do that is exactly how you hint, which is there is essentially an ID that's in the cookie that refers to something in a scratch database.
In a database, right.
Yeah, now, so it's not in memory or even on disk in the application server tier. It's physically on a database.
That database is limited to one of your logical database things. So it's something that's kind of local to one of your applications.
Yes, that's exactly right, and we are experimenting with other schemes where we have a session storage that's not in a database, but is separate from the application server tier, and we are kind of working the issues through on that. But we sort of think of those as server-side cookies, and just like cookies from the application developers' perspective, the developer has to assume that that cookie can be deleted and any time. So really important transient state like as for a multi-page flow, as I hinted, that goes in a database, as all our important information does. That doesn't live permanently in that database. That's why I call it a scratch database. But important data lives in databases and other transient stuff just gets passed back and forth. So that's our approach. And then the final example of partitioning is the search infrastructure, and that's the part that's near and dear to my heart because that's my particular area of expertise. So our search infrastructure -- so the functional segmentation is simply that the search infrastructure is read-only, as you might imagine a search infrastructure would be. It's functionally segmented from the rest of the transactional databases of the site, and I will talk a little bit about how the one gets transferred to the other --
This doc talks through physical n-square to hub-and-spoke, then model n^2 to *. This repeats one more time at versioned sif/spi -