Sonm — Technology Stack

Technology Stack

Sonm engineers have combined best-in-class technologies with in-house development to create a fog computing stack

The defining feature of Sonm is its decentralized open structure, where customers and suppliers can interact on the platform without middlemen, unlike cloud services. Blockchain and smart contracts help us to automate payments and create reliable deals between Supplier and Consumer. Sonm’s use of its own blockchain instead of the main Ethereum network helps to make all transactions for the Sonm marketplace free. Docker containers provide an isolated runtime environment, which ensures that consumer’s application running on the rented hardware cannot affect the host operating system or the applications of other customers. Our own NAT penetration technology relieves the supplier of the strict requirement to have a public IP address, and this means that the group of potential Sonm suppliers is truly vast.

Fog computing: IaaS/PaaS stack on Sonm

Core

Fog computing: IaaS/PaaS stack

Our current model for the rental of computing resources is IaaS (Infrastructure as a Service), which is comparable to the rental of a dedicated server from a traditional сloud provider. The customer cannot get access to OS but can run any applications in Docker containers.

At the same time, Sonm as a platform may attract third-party developers, who can use its resources to build their own higher-level services on top of the Sonm IaaS.

Key benefits for customers

  • Compatibility for existing applications
  • High geo-distribution factor
  • Highly cost-effective
  • Large global pool of on-demand resources
  • Availability of GPUs

Key benefits for suppliers

  • Use the full capacity of your equipment: utilize all computer hardware components (CPU, RAM, GPU, disks and network)
  • Get more money from your equipment (real-world applications instead of only mining)
  • Automatic selection of the more profitable task (based on market needs)

Software Components

Learn more about components

We are developing a universal IT infrastructure capable of performing CGI rendering tasks, neural network training algorithms, hosting websites and other applications.

  • GUI/wallet

    GUI/wallet The Graphical User Interface for Sonm platform combines a personal wallet and decentralized marketplace for computing resources.

  • Host

    Host A unified software component for all types of supplier computers that allows resources to be rented out.

  • DWH

    DWH The data warehouse for blockchain transactions related to Sonm. The process of obtaining a list of transactions from the blockchain is expensive. To obtain data from the blockchain quickly, it is better to have a local node on which the blockchain is stored. We have decided to make a cache of the Ethereum blockchain. There is a service that scans the blockchain and identifies all SNM transactions, which are cached in the database — the DWH. We will deploy a centralized DWH node, but anyone can establish it locally (for sure). It will not bring in any profit, but it will help to build confidence.

  • Gatekeeper masternodes

    Gatekeeper masternodes To keep Ethereum transaction fees low, we transfer tokens to our Sidechain, but we need a Gatekeeper between them to process transfers. The masternode is the place where the Gatekeeper operates.

  • Public Geth nodes

    Public Geth nodes To run our private blockchain, we need PoA mining nodes, but we do not want to show them (otherwise anyone will be able to sign transactions) - we need public nodes that will serve as a proxy so our PoA mining nodes can can remain secured.

  • Node (API)

    Node (API) A universal software component for Customers and Suppliers that provides the execution of commands from the GUI. It is a cross-platform software, which acts as an entry point to Sonm network, providing external API and encapsulating internal Sonm networking and blockchain work. Node API is used by CLI and other external software, like trading bots.

Technologies and Features

  • Blockchain and Smart Contracts on Sonm

    Blockchain and Smart Contracts

    On the Ethereum blockchain, we have issued SNM tokens and we use smart contracts to organize the logic of the Sonm system.

  • Profiles and rating system on Sonm

    Profiles and rating system

    Every user has a rating based on the history and results of deals they have made to sell or purchase computing power on the Sonm marketplace. Anybody who uses the Sonm platform should be able to avoid untrustworthy people.

  • Decentralized marketplace on Sonm

    Decentralized marketplace

    All the logic of the market is embedded in the smart contract, which can be accessed by anyone to extract data on the availability of computing resources on the Sonm marketplace. A list of all transactions is issued instantly from the DWH. The initial matching of a request and offer takes place on a transactions list from DWH, and the final matching before the deal start takes place on the main blockchain to ensure the availability of the resources.

  • Peer-to-peer networking on Sonm

    Peer-to-peer networking

    We provide a direct connection between Sonm nodes, regardless of their geolocation and NAT barriers.

  • Docker containers on Sonm

    Docker containers

    Docker containers is a technology that allows you to quickly create a virtual machine and run the right application on it.

  • Kubernetes on Sonm

    Kubernetes

    This is a load-balancing system that allows you to automatically scale the number of Docker containers running on Host machines depending on current load and needs (integration work in progress).