Skip to content

9. Friend Core

Hogne Titlestad edited this page Nov 21, 2018 · 1 revision

We call it a serving kernel. Friend Core is Friend's own operating system kernel. It manages the server side Friend Network, handles user sessions and resources that are available on the server. And lets not forget - it has a host of commands to manipulate the operating system itself. File system operations. Library and extendable module calls.

Friend Core is necessary so that the Friend Workspace can load into a browser or platform specific app (Android, iOS, Windows etc) through HTTP. After the Workspace has loaded, it binds to it using a persistent connection. This way, it can get around the HTTP protocols slower round trips while allowing for full duplex, bi-directional communication between the kernel and the Workspace.

Friend Core supports SSL/TLS encryption for both HTTP and WebSocket connections.

Friend Core is primarily written in plain C. This has been done to allow for interoperability with other programming languages. And of course, it has been done to allow our developers to squeeze as much speed as possible out of the kernel. The aim is to enable 2-5ms latency on the most important kernel calls. This way, the Friend Core can handle requests on a 5G network.

Clone this wiki locally