Bubble documentation
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

README.md 1.7 KiB

1234567891011121314151617181920212223242526272829303132333435
  1. # Bubble Administrator's Guide
  2. # Types of Nodes
  3. A "node" in the land of Bubble is, in the most general sense, any system running the Bubble API and associated services.
  4. There are a few types of nodes:
  5. ## Regular Nodes
  6. A regular node is one that is providing VPN and/or Bubble app processing for an end user and their connected devices.
  7. Regular nodes are launched by other nodes, called Sage Nodes.
  8. ## Sage Nodes
  9. Sage Nodes provides secure proxy connections to various cloud services. A regular node establishes a secure, bilaterally trusted
  10. relationship with its Sage Node upon launch. A regular node can have only one Sage Node.
  11. ## Peer Nodes (future functionality)
  12. Today, a Bubble network always contains a single node. In the future, a Bubble can be a cluster of peer nodes.
  13. An initial regular node would spawn additional peer nodes in accordance with a cluster policy.
  14. End user devices would choose the closest node based on availability and latency.
  15. Bubble network state is stored in PostgreSQL (persistent data) and Redis (cache data).
  16. In order to support multi-node networks, Bubble will:
  17. * Add a transparent PostgreSQL pooling technology to provide everywhere-hot-active across all peers. Currently, [Pgpool-II](https://www.pgpool.net/) is looking fairly interesting. Open to other suggestions.
  18. * Add [Redis cluster](https://redis.io/topics/cluster-tutorial) to keep Redis in sync across peer nodes.
  19. * Possibly: add [etcd](https://etcd.io/) to share configuration information across nodes.
  20. # Start a new Bubble from scratch
  21. * Set up a Bubble [development environment](dev_setup.md)
  22. * Run the `LaunchSageTest` to launch a new standalone Sage Node
  23. * Use the new Sage Node to start a new Bubble