Database proxy

0  

One way to get decentralisation for free is to write a Postgres database server which is a simple text based protocol and distribute the resulting queries to peers P2P

YAML 想法

The use of a database proxy is how how vitess works.

This means programmers can write otherwise normal Django applications (such as 0oo) and database using applications as if they were centralised but the decentralisation and synchronization is distributed.

chronological,


(別通知) (可選) 請,登錄

我喜歡。因此,如果我理解正確,將會有託管這些中心服務器的節點,以及一些可供所有客戶端使用的服務器地址表。也許,這些服務器的存在可以動態化 也許,可以開發一個框架來將任何應用程序轉換爲無服務分發應用程序?

I like that. So, if I understand right, there would be nodes hosting those hub servers, and some table of server addresses available to all clients. Maybe, those servers existence can be made dynamic Maybe, a framework can be developed to convert any app into a distribution serveless app?


是的。服務器的子集承載數據的子集(每條記錄屬於一個服務器),這可以對應用程序隱藏。這是我的分佈式連接想法,我有一個單獨的想法。

或者所有服務器託管所有數據,數據平均分配給每個人。基本上所有查詢都在所有服務器上運行以達到相同的狀態。 你可以有一個數據庫版本,它是到目前爲止執行的查詢數量,如果服務器已經離線一段時間,它只需要按順序執行從上次看到的查詢到最新查詢的查詢。這就是所謂的邏輯複製。

Yes. Either a subset of servers hosts a subset of data (each record belongs to a server) this can be hidden from the application. This is my distributed join idea which I have a separate idea for.

Or all servers host all the data and the data is spread to everybody equally. Essentially all queries run on all servers to get to the same state. You could have a database version which is the number of queries executed so far and if a server has been offline for a time it just needs to execute queries from last seen query up to latest query, in order. That's called logical replication.