<p>At least for the changeset upload, I had the following design goals in mind:</p>
<ul>
<li>We store at most one I-Key per changeset</li>
<li>One entry would have at most 800k in size for the payload (for a 10k changeset)</li>
<li>Explicitly closing the changeset removes the I-Key</li>
<li>Remaining I-Keys can be deleted after 1 hour, by the time the changeset automatically closes</li>
</ul>
<p>I'd like to understand a bit better, what your design goals would be, and where exactly you see the issues. Is it in the number of messages, the size, something else? I'm not saying that we need to use a database for this purpose, just like to understand your concerns.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-484392361">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMBQHVCSPKAXNMZFO3PRARBVANCNFSM4HEAKOPQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLOFYXAZBQWMO7LBBYTPRARBVANCNFSM4HEAKOPQ.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mmd-osm in #2201: At least for the changeset upload, I had the following design goals in mind:\r\n\r\n* We store at most one I-Key per changeset\r\n* One entry would have at most 800k in size for the payload (for a 10k changeset)\r\n* Explicitly closing the changeset removes the I-Key\r\n* Remaining I-Keys can be deleted after 1 hour, by the time the changeset automatically closes\r\n\r\nI'd like to understand a bit better, what your design goals would be, and where exactly you see the issues. Is it in the number of messages, the size, something else? I'm not saying that we need to use a database for this purpose, just like to understand your concerns."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-484392361"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-484392361",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2201#issuecomment-484392361",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>