pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Pocock <daniel@pocock.pro>
To: pgsql-general@postgresql.org
Subject: Anzacathon, PostgreSQL and IPFS
Date: Sun, 19 Apr 2020 16:47:06 +0200
Message-ID: <e4c9a6e1-5bef-51bd-0d87-a44c48b35c8a@pocock.pro> (raw)


Hi all,

I've started putting together a hackathon, the Anzacathon[1], for Anzac
Day.  It revolves around data.

I decided to distribute raw data for participants using SQLite files in
the peer-to-peer IPFS filesystem.

Then I put together this nice little recipe for importing the SQLite
directly from IPFS to PostgreSQL using fuse and pgloader:

https://gitlab.com/anzacathon/postgresql

The script could be adapted for any similar activity.

I also thought about designing a script that automatically discovers the
IPFS sources, without listing them one by one.  That will come later.

Instead of SQLite, it is also possible to distribute CSV and pg_dump
files through IPFS like this.

Regards,

Daniel

1. https://anzacathon.com





Message-ID: <e4c9a6e1-5bef-51bd-0d87-a44c48b35c8a@pocock.pro>
Permalink:  ../e4c9a6e1-5bef-51bd-0d87-a44c48b35c8a@pocock.pro/
Also on:    postgresql.org/message-id/e4c9a6e1-5bef-51bd-0d87-a44c48b35c8a@pocock.pro

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: daniel@pocock.pro
  Subject: Re: Anzacathon, PostgreSQL and IPFS
  In-Reply-To: <e4c9a6e1-5bef-51bd-0d87-a44c48b35c8a@pocock.pro>
  References: <e4c9a6e1-5bef-51bd-0d87-a44c48b35c8a@pocock.pro>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox