idea: An open log-based HTTP database for any use case
idea: An open log-based HTTP database for any use case
A single, read/write open database for everything in the world.
- A hosted database that accepts anything you put on it and stores it in order.
- Anyone can update it by adding new stuff.
- To make sense of the data you can read only the records that interest you, in order, and reconstruct a local state.
- Each updater pays a fee (anonymously, in satoshis) to store their piece of data.
- It’s a single store for everything in the world.
Cost and price estimates
Prices for guaranteed storage for 3 years:
20 satoshis = 1KB
20 000 000 = 1GB
https://www.elephantsql.com/ charges $10/mo for 1GB of data,
3 600 000 satoshis for 3 years
If 3 years is not enough, people can move their stuff to elsewhere when it’s time, or pay to keep specific log entries for more time.
Other considerations
- People provide a unique id when adding a log so entries can be prefix-matched by it, like
myapp.something.random
- When fetching, instead of just fetching raw data, add (paid?) option to fetch and apply a
jq
map-reduce transformation to the matched entries
Published at
2024-01-14 14:55:28Event JSON
{
"id": "3d0c6bb9595ae1b5ec6e6322787ed5e4ac78967c3e60afbb2f4169abf43af7b1",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1705240528,
"kind": 30023,
"tags": [
[
"d",
"5b2a2772"
],
[
"title",
"idea: An open log-based HTTP database for any use case"
],
[
"published_at",
"1599797400"
],
[
"t",
"idea/app"
]
],
"content": "\n# idea: An open log-based HTTP database for any use case\n\nA single, read/write open database for everything in the world.\n\n* A hosted database that accepts anything you put on it and stores it in order.\n* Anyone can update it by adding new stuff.\n* To make sense of the data you can read only the records that interest you, in order, and reconstruct a local state.\n* Each updater pays a fee (anonymously, in satoshis) to store their piece of data.\n* It's a single store for everything in the world.\n\n### Cost and price estimates\n\nPrices for guaranteed storage for 3 years:\n20 satoshis = 1KB\n20 000 000 = 1GB\n\n\u003chttps://www.elephantsql.com/\u003e charges $10/mo for 1GB of data,\n 3 600 000 satoshis for 3 years\n\nIf 3 years is not enough, people can move their stuff to elsewhere when it's time, or pay to keep specific log entries for more time.\n\n### Other considerations\n\n* People provide a unique id when adding a log so entries can be prefix-matched by it, like `myapp.something.random`\n* When fetching, instead of just fetching raw data, add (paid?) option to fetch and apply a `jq` map-reduce transformation to the matched entries\n",
"sig": "00efdd79a82e80e751ce1ec60a5fe0a6401d7eb03db94e9860d0822e48a95c0b6d5a1b80a3298e80ff7685da79ccf211692fc45b821763b390a1a684d2a6543a"
}