how does cacaoweb work?


a peer to peer (p2p) network

At its core, cacaoweb has a p2p overlay network. Peer discovery and search occurs in nlogn hops complexity on this overlay structure. This allows efficient implementation of a distributed database and p2p communication primitives on top of the overlay.

a distributed database

With cacaoweb, applications can use a database API. The functionality exposed is similar to those provided by common databases technologies, for instance SQL, vertical datastores, key/value datastores, etc.

a p2p communication platform

On cacaoweb, two peers can discover each other and instantiate UDP and TCP communications between each other. An application can use such primitives without any knowledge of the peers’ network topologies, cacaoweb handles the intricacies of NAT discovery and traversal.

a local webserver

cacaoweb embeds a local web server. From there, web application can be served, providing users with interface to interact with.
cacaoweb generally on port 4001 and on the localhost address, both ipv4 and ipv6 when available.

an application platform

Developers can write, test and deploy applications to be run on the cacaoweb platform and network. Such apps can make use of the high capacity, distributed database API, the P2P communication API and the webserver API. This allows developers to implement tremendously powerful applications. At the present time, our app store is in private beta state and is not open to public developers. We hope to get out of beta stage as soon as possible and we are tremendously excited about the opportunity to bring a brand new class of applications very soon.