“This article was originally published by Hannah Cordes, a former member of ThreeFold Foundation.”


ThreeFold’s reliable, open-source, peer-to-peer Internet infrastructure together with a growing community of enthusiastic, driven early-adopter developers and end-users are the key to accelerating the growth and development of the Grid and to unlocking all of its potential. While the foundation has been laid, it will be up to all of us as a movement to improve and build upon it.


After looking back at the ThreeFold Grid’s evolution and what makes it a game-changing Internet infrastructure in part one, it’s time to explore our cloud solution and the technology available today in part two! You can think of these as some of the essential low-level building blocks that when combined created a limitless sandbox for developers.


If you’re wondering what virtual machines are, haven’t heard about Kubernetes before and don’t know your way around coding languages, this part might be less interesting for you. Feel free to skip and jump right into part three on weblets and end-user experiences.

Elements of our comprehensive & decentralized cloud solution

The ThreeFold Grid provides various primitives for compute, storage, and network – fulfilling all the needs centralized cloud providers cater to as well, while offering advantages in terms of decentralization, energy efficiency, security and more. Zero-OS includes a collection of components, called primitives. These primitives are the low-level constructs which can be deployed on the ThreeFold Grid. As mentioned above, they act as building blocks for skilled developers that enable them to build and create in complete digital freedom.


Additionally, the high compatibility of ThreeFold’s primitives with industry-standard tools and protocols makes it easy and seamless for developers to migrate workloads to the Grid. All of the primitives not only benefit from the unique efficiency and security features of Zero-OS, but also come with unique features and capabilities themselves. Here are some of the primitives to give you an idea of what you’ll get:

ZMachine

ThreeFold’s ZMachine is a lightweight virtual machine (VM) solution that’s unique to the ThreeFold Grid. ZMachine enables both traditional VM deployments and also introduces a next generation container specification built on our ZFlist technology. ZFlist containers enabled by ZMachines are more secure and more flexible than the current industry standard Docker-based containers. With Kubernetes running on top of ThreeFold’s ZMachine technology, we have a highly compatible and unique solution.

ZFlist

The ZFlist is a next generation container format – supported directly at the operating system level on Zero-OS – which extends the industry-standard Docker container concept in an efficient and secure way. It provides a unique advantage over traditional containers via the use of mini VMs. By employing mini VMs, the FList concept provides better isolation than traditional container systems while retaining the advantages that containers offer over full VMs.

Kubernetes

ThreeFold has long supported the most used open-source container orchestration tool in the world, Kubernetes, which integrates the industry standard Docker format, a container creation and management tool. It’s used to manage many of the largest and most complex cloud deployments. Kubernetes can be used to create a production-ready environment. The ThreeFold Grid provides a lightweight Kubernetes VM that can be used to create clusters according to specific needs. By providing both VMs and Kubernetes, we’re able to offer the most comprehensive solution in the decentralized/blockchain space to deploy, scale, and manage cloud compute workloads. Kubernetes users can, for the most part, simply bring their existing configuration files and recreate their deployments on a Grid based cluster seamlessly. With the third generation of the Grid, we provided a very simple way to provision Kubernetes clusters with Terraform.

Terraform

Terraform is a widely-used open-source Infrastructure as Code (IaC) software tool enabling a consistent workflow in order to manage complex deployments across different cloud providers. It also integrates directly with our Grid’s existing Kubernetes functionality to offer a complete solution for reserving hardware and deploying software.


In a nutshell, Terraform offers a complete solution for reserving hardware and deploying software. It allows for specifying deployments on the ThreeFold Grid in a simple, declarative, and human-readable language describing the desired end state. Terraform can be used to deploy the full set of Zero-OS primitives, supporting any existing or future Linux workload, with endless possibilities. It is like a lower-level Kubernetes for the hardware part of cloud deployments.

Dedicated Nodes

We’re also supporting dedicated nodes. By utilizing dedicated nodes on the ThreeFold Grid, you’ll benefit from a truly decentralized and highly reliable Internet infrastructure that uses less energy and comes at a much more affordable price than any comparable alternative. With dedicated nodes, users are able to exclusively reserve the entire capacity of a 3Node to deploy solutions for themselves or for other customers, while also paying for all capacity of the respective 3Node. Dedicated nodes on our Grid will be highly cost effective, as they’ll be available with a 70% discount on pricing. All the ThreeFold Grid features will be available on dedicated nodes as well – from deploying VMs and containers to CapRover and more. Dedicated and non-dedicated 3Nodes can be combined.

V Language

ThreeFold is built with simplicity in mind which is why we’re using V – a statically typed programming language similar to Go, and inspired by Rust, Swift, and Oberon. It’s the official smart contract language on the Grid, as its simplicity and readability allows anyone to go through and understand any code base, even non-developers.


Despite being simple, V gives a lot of power to the developer and can be used in pretty much every field, including systems programming, webdev, gamedev, GUI, mobile, science, embedded, tooling, etc. It aims to become an alternative to JavaScript as the de facto coding language on the market in the upcoming years. With V, the developer doesn’t need to change anything in their code. “It just works”, like in Python, Go, or Java, except there’s no heavy GC tracing everything or expensive RC for each object. V can translate your entire C project and offer you the safety, simplicity, and 10-25x faster compilation speeds.


With +30,5K Stars on GitHub, V brings a strong open-source developer community to the ThreeFold ecosystem to develop the infrastructures and applications of tomorrow – making it the ideal smart contract language for the ThreeFold ecosystem.

An open invitation

So, now that you’ve learned more about the building blocks of the ThreeFold Grid and how you can build with them, we’d like to invite you to try and test them yourselves!


While we’re very proud of our progress and the strong ecosystem around us, now’s the time to build upon the foundation. The team continues to do incredible work to further develop and advance the Grid with each and every release. They continue to improve the components, develop new features and build new solutions.


With your support, the team can work even faster. If you share our belief in open source and decentralization, we invite you to help us test and improve not only the Grid and its primitives but also the solutions built on top. Together, we keep building and advancing to realize our Internet of Internets vision and to empower people with true digital sovereignty. 


Join us for part three!

Get ready for part three of our series where we’re diving into a world of possibilities for developers, end-users and everyone in-between. The final part will not only show you what’s possible on the ThreeFold Playground today but also introduce you to our end-user experiences that empower you with digital sovereignty which are available for beta testing now!