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.