On this page:
The Netfarm Book

The Netfarm Book

Applied Language

    1 Introduction

      1.1 Abstract

      1.2 How Netfarm deviates from existing designs

      1.3 The structure of Netfarm

      1.4 Thanks

      1.5 What to do next

    2 Conventions

      2.1 Strings

      2.2 Integers

    3 decentralise2

      3.1 Connections

        3.1.1 Connection types

        3.1.2 Threaded connections

          3.1.2.1 Socketed connections

        3.1.3 Inbuilt connection types

        3.1.4 Connection URIs

      3.2 Messages

        3.2.1 Built in message types

        3.2.2 Defining message types

        3.2.3 Translators

      3.3 Acceptors

        3.3.1 Acceptor protocol

        3.3.2 Threaded acceptors

          3.3.2.1 Socket acceptor

      3.4 Systems

      3.5 Standard system behaviour

        3.5.1 Standard system database protocol

        3.5.2 Message interpretation

        3.5.3 Special blocks

        3.5.4 Synchronisation protocol

          3.5.4.1 Interesting and uninteresting sets

          3.5.4.2 Block predicates

          3.5.4.3 Tuning throughput

      3.6 Clients

        3.6.1 Client types

        3.6.2 Actions

          3.6.2.1 Basic actions

          3.6.2.2 Derived actions

          3.6.2.3 Client actions

    4 Netfarm

      4.1 Objects

        4.1.1 Slots

        4.1.2 Scripts

        4.1.3 Inheritance

      4.2 Inbuilt objects

      4.3 External formats

        4.3.1 Vague objects

        4.3.2 Character format

        4.3.3 Binary format

      4.4 Cryptographic operations

        4.4.1 Hashing

        4.4.2 Signing

    5 Netfarm script machine

      5.1 Running scripts

      5.2 Side effects

        5.2.1 Computed values

      5.3 Script execution

        5.3.1 Structures

        5.3.2 Notation

        5.3.3 Execution

        5.3.4 Instructions

          5.3.4.1 Environment

          5.3.4.2 Control flow

          5.3.4.3 Stack control

          5.3.4.4 Lists

          5.3.4.5 Operators

          5.3.4.6 Object instructions

    6 Netfarm server

      6.1 Database protocol

        6.1.1 Implementations of the database protocol

          6.1.1.1 Filesystem database

          6.1.1.2 Caching

        6.1.2 Vague object storage

          6.1.2.1 Presentable set storage

          6.1.2.2 Side effect storage

        6.1.3 Other interesting set

        6.1.4 Dependency graph

    7 Netfarm client

      7.1 Protocol

    8 A description of a voting-web system

    Index

    Bibliography