§ Network · Execution

One virtual computer, running on every node.

A subnet is a group of nodes: separate machines that host the same programs. They agree on the order of calls, then each runs them on the same four virtual processors, counting every instruction, so that all arrive at the same result and nobody has to take one machine’s word for it. From outside, a subnet is one computer, running many programs at once and keeping them apart.

Instructions executed by the network since you opened this page0

The virtual computer, one round to a block. The blocks are its clock: each one starts a round, whatever the time on any node. A block’s calls join the queues of their canisters (A to H), four virtual processors run them, and memory pages are written. Once the subnet has sealed the round with its signature, the answers leave, and so does a message for a canister on another subnet, by the stream to it.

The parts of the computer

  1. 1 Its programs

    Canisters

    A canister is a program together with its own memory. The memory persists by itself, so there are no files to write and no database to run.

    Read part 02
  2. 2 Its multitasking

    Deterministic Time Slicing

    Four virtual processors, the same on every node. A long call runs for a slice, is parked, and carries on later, from the same instruction everywhere.

    Read part 05
  3. 3 Its protection

    Sandboxes

    Every canister runs behind two walls. Code that breaks through the first finds itself in a locked room that holds only that canister.

    Read part 06
  4. 4 Its network

    Queues and streams

    Canisters talk only by messages. Queues carry them within a subnet, and sealed streams carry them between subnets, so the network grows by adding subnets.

    Read part 07
The round · pools and queues

Every call waits its turn, in the same place on every node.

Consensus hands every node the same block of calls. What happens next is the same on every node too: one round of execution for each block.

A call is a message: a request to one program to run one of its functions. On the Internet Computer the programs are called canisters, and the next part looks inside one. When a user sends a call, it lands first in the ingress pool of whichever node received it. A pool is a waiting room with no order. Nodes pass the calls they hold to one another, but at any moment different nodes may be holding different calls.

Consensus, the procedure by which the nodes agree and the subject of the consensus guide, picks calls from the pool into a block, an ordered batch of calls, and seals it. From that point on, every node holds the same calls in the same order. Each sealed block starts one round of execution, and blocks come roughly one a second on a typical subnet. In a round every node does four things. It sorts the block’s messages into queues. It runs the canisters that have messages waiting. It routes whatever those canisters sent. And it joins the other nodes in sealing what the round produced with the subnet’s signature. That is the point of running a call on every node: a result they all reached, and signed together, does not rest on the word of any one machine.

The queues belong to the canisters. Each canister has one queue for calls from users and one for every canister that sends to it, and it takes from them in turn. Each has an output queue, too, for every canister it sends to. A queue between two canisters has room for at most 500 calls, and a call is accepted only if a place for its reply can be set aside. So a canister that falls behind slows the ones calling it, and every call that is accepted gets an answer.

What a canister sends goes one of two ways. If the receiver is on the same subnet, the message moves straight from the sender’s output queue into the receiver’s input queue. No further agreement is needed, because every node is making the same move, and the message can be delivered and answered within the same round. If the receiver is on another subnet, the message joins the stream to that subnet, which is the subject of part 07.

One round, inside one node
  1. Calls wait in a pool

    A user’s call reaches a node and waits in its ingress pool (ingress: what comes in from outside), in no order yet. The nodes pass the calls on to each other.

  2. A block puts them in order

    Consensus picks calls from the pool into a block, with any messages that came, already sealed, from other subnets. From here on every node sees the same messages in the same order.

  3. Each joins its canister’s queue

    Every canister, a program with its own memory, has a queue for calls from users and one for each canister that sends to it. The block’s messages are dealt into them.

  4. Canisters run side by side

    Canisters take turns on four virtual processors. Each canister runs one message at a time; different canisters run at once, as they share no memory. A message to a canister on this subnet goes straight to its queue.

  5. Outputs are routed, the round sealed

    An answer is recorded where its caller can read it. A message for another subnet joins the stream to it. Then the nodes seal what the round produced: five of the seven sign.

Follow one message
The message
A user’s call, for A
Where it is now
In the ingress pool
Through the pool and a block.

A call from outside has to be agreed on before it can run: it waits in the pool until a block gives it a place. After that it is a matter of queues. Its answer is recorded in the state the nodes seal, where the user reads it.

One round, one node. This is the work of one round on one node; every node of the subnet does the same, in the same order. The drawing gives each canister two input queues and one output queue; in fact it has an input queue for users, and an input and an output queue for every canister it talks to. Z stands for a canister on another subnet, C’s reply to B is left out, and the code’s word for step 3 is “induction”.
The programs · canisters

A program that keeps its own memory.

A canister is code and its data, held together. There is no database behind it and no file system under it. What the program has in memory simply stays there.

A canister is a WebAssembly program together with its own memory. WebAssembly, or Wasm, is a compact format that languages such as Rust and Motoko compile to, and that runs the same way on any machine. A canister is a kind of software actor: it handles one message at a time, its state is private, shared with nothing else, and it deals with the rest of the world only by messages. The whitepaper likens it to a process on an ordinary computer, “a program and its state”.

Its memory persists by itself. On an ordinary computer a program’s memory is gone when the program stops, so programs save their work in files and databases and load it again later. A canister does neither. Its variables and data structures are still there when the next message arrives, a second or a year later. Memory is kept in pages of 4 kilobytes, and there can be a lot of it: up to 4 gigabytes of main memory, or more for programs built as 64-bit code, and up to 500 gigabytes of stable memory, a second store that is kept even when the canister’s code is replaced.

For each message, a node builds a fresh working copy of the program, called an instance. A page is loaded the first time the code touches it, and every page the code writes to is noted. If the message runs to its end, the changed pages become the canister’s memory, all at once. If it fails, they are thrown away, and the canister’s memory is as if the message had never run. No message is left half done, so every message is a transaction.

Different canisters run side by side. One canister’s messages run one after another.

That rule is what lets a subnet compute in parallel and still be deterministic, which means that the same inputs always give the same outcome. Two things running at the same moment can never touch the same memory, so the result cannot depend on which of them finished first. Nodes with different hardware, under different load, arrive at identical memory, page for page.

One message, inside one canister
  1. One message at a time

    The message at the front of the inbox, the canister’s queue, is taken. The canister handles one message, start to finish, before the next: the others wait.

  2. The code wakes

    A fresh working copy of the program, called an instance, is built for this message. No memory is loaded yet.

  3. It reads and writes its memory

    The memory is kept in pages of 4 kilobytes. A page is fetched the first time the code touches it, and every page the code writes is noted.

  4. It answers, and may call others

    The code writes its answer and posts a call to canister B. Both wait in the outbox, the canister’s output queue, until the message has finished. B’s answer will come later, as a new message in the inbox.

  5. The changed pages are kept

    The working copy is thrown away and the written pages become the canister’s memory, all at once. The outbox empties. No database, no files: the next message finds the pages there.

How the message ends
Pages fetched
0
Pages written
0
Pages kept
not yet
Memory that keeps itself.

The code saved nothing and opened no file. When the message finished, the pages it had written became the canister’s memory, and that is where the next message will find them.

What is real. A page is 4 kilobytes. Nothing is fetched until a message touches it, and only the pages a message changes are kept; a canister’s main memory holds up to 4 gigabytes for 32-bit code (about a million pages; the drawing has 84) and its stable memory, which survives a change of code, up to 500 gigabytes. Simplified: a touched page is fetched together with its neighbours; the inbox and the outbox each stand for several queues, and an answer to a user is recorded for the user to read, not sent.
The interface · four doors

Four doors, and not much else.

A canister cannot open a file or a network connection, or start a second thread of work. Everything it does with the world outside goes by messages, through a short list of system functions.

The whole list of things a canister can ask of the system is 77 functions long. It can read the message it was sent and answer it. It can read and write its own memory. It can call another canister. It can ask the time, which is the block’s time and so the same on every node, and set a timer. It can hold and send cycles, which are what canisters pay for computing with. It can publish 32 bytes of certified data, a fingerprint that the subnet seals. Anything that could come out differently from one node to the next has been left out, or is supplied by the system in a form that is the same for all of them. Seen from outside, all of that comes to four doors: two by which work comes in, and two by which it goes out.

A call comes in. There are two kinds. An update call can change the canister’s memory. It goes through the pool and a block, every node executes it, and the answer is recorded in what the subnet seals, so the caller can check it with the subnet’s public key, the one published key that its signature is checked against. A query only reads. One node answers it straight away from its own copy, discards anything the code wrote, and signs the answer by itself. That is fast, but it is one node’s word. To make such answers checkable too, a canister keeps a fingerprint of the data it serves in its certified data, which the subnet’s seal covers.

A web request comes in. A browser’s ordinary HTTP request reaches an HTTP gateway, which turns it into a query call to the canister’s http_request function, checks the reply against the subnet’s seal, and hands it back as an ordinary HTTP response. If the request has to change something, as when a form is sent, the canister says so, and the gateway sends it again as an update call, which every node runs. To the canister, a web request is a function call with a fixed name. That is how a canister serves a website or an API with no web server of its own: the gateway only translates the request and checks the answer.

A call goes out to another canister. The caller posts its message and finishes, and what it has changed is kept. The answer arrives later, as a new message of its own. Every call that is accepted gets exactly one answer: the other canister’s reply, or a refusal from the system if the call could not be delivered or run.

A call goes out to the web. A canister asks the system to fetch something over HTTPS. Every node makes the request separately. The canister can name a function of its own to strip out whatever properly differs between the copies, such as a timestamp. If five of the seven nodes are left holding the same response, it goes into a block and reaches the canister like any other answer. If they are not, the canister is told the call failed.

The four things a canister can do
  1. A user sends a call

    The call is signed by the user and goes to any one node. It waits there in a pool: nothing has been agreed about it yet.

  2. The nodes put it in a block

    That node passes the call to all the others. Consensus then picks it into a block, which gives it a place in an order that is the same on every node.

  3. Every node runs it

    Each of the seven nodes runs the canister’s code on the call, by itself, and each changes the canister’s memory in exactly the same way.

  4. The answer comes back sealed

    The nodes seal what the round produced: five of the seven sign (2f + 1). The user reads the answer back, and can check the seal against the subnet’s one public key.

Choose a door
Nodes that ran it
7 of 7
Through consensus
yes
Changes kept
yes
Every node does the work.

A call that changes anything is put in order by consensus and run by all seven nodes. That is what lets its answer carry the seal of the whole subnet, and not the word of one machine.

The whole list. These four are all of a canister’s dealings with the world: its code can call 77 system functions and nothing else. Random numbers, and signatures made with keys that a subnet holds, are requested from the system in the same way as the web request, and a canister can also be woken by a timer it has set. Drawn simply: canister B is on the same subnet as A (part 07 follows a call to another subnet).
The meter · counting instructions

The same stopping point on every node.

A shared computer has to be able to stop a program. Nodes differ in speed, so a subnet cannot do it by the clock. It counts the program’s instructions, its smallest steps.

Every computer that runs more than one program must be able to take a program off the processor: because it has run too long, or to give another its turn. An ordinary operating system uses a timer, and interrupts the program after a few thousandths of a second. On a subnet that would be fatal. The nodes are different machines under different loads. A timer would cut the same program at a different point on each, their memories would differ, and agreement on the results would be lost.

So the system counts. When a canister’s code is installed, the system adds a counter to it. Every stretch of code subtracts the cost of the instructions in it, and the counter is checked at each function and each loop. When it reaches zero the program stops, at exactly the same instruction on every node, however fast or slow the node happens to be.

The limits are stated in the same unit. One call may run for 2 billion instructions in one go, which is called a slice, and for 40 billion in all. A query may run for 5 billion. The count does a second job as well. A canister pays for its own computing in cycles, out of a balance its developer keeps topped up, and the charge follows the instructions it used. On a subnet of 13 nodes one instruction costs one cycle.

One call, on seven nodes of differing speed
  1. A counter is built into the code

    When a canister (a program with its own memory) is installed, the system adds a counter to its code. As the code runs, each stretch takes its cost off the counter. The cost is in instructions: a program’s smallest steps.

  2. Every node runs the same call

    All seven nodes run it, each at its own speed: fast machines pull ahead. The most a call may run in one go is one slice: 2 billion instructions.

  3. The count says stop, not the clock

    When the counter has counted off the slice, the call is parked: stopped exactly where it is. Each node gets there at a different moment.

  4. The same place on every node

    All seven hold exactly the same half-finished call: the same memory, the same point in the program. Nothing in what they hold tells the fast nodes from the slow.

  5. Next round they carry on together

    Every node waits for the next round, the fast ones longest. Then the counter is refilled and all seven carry on from that same point. They will part again, and stop again at the same place.

Counter, built into the code2,000,000,000on node 1A timer instead1.0 son every nodeInstructions runNode00.511.52 billion2.5ClockThe slice ends hereAll seven carry on from here1A2.00.0 s2A1.70.0 s3A2.50.0 s4A1.50.0 s5A1.20.0 s6A2.20.0 s7A1.30.0 sIdenticalSlice 1Slice 2Seven different places
How to stop a call
Instructions run when stopped
2 billion, on all seven
Time taken
from 0.8 s to 1.7 s
Same program, same count, same place.

Every node counts the same instructions, so every node parks the call at the same point, however long it takes to get there. Their copies stay identical, so the nodes can agree on one result and seal it.

The speeds and the times are illustrative: real nodes are built alike and differ by far less. The counter is real: it is added to a canister’s code at installation and checked at every function and loop, so a call is parked at the same check on every node.
The processors · Deterministic Time Slicing

Four processors, dealt afresh in every round.

Deterministic Time Slicing is multitasking, as on any modern computer, with one condition added: every node must take the same program off the same processor at the same instruction.

Every node of a subnet runs the same four virtual processors. Four is fixed by the protocol, and is the same on every kind of subnet. It is not the number of cores a node has, which is far larger: the node’s operating system maps the four onto physical cores as it sees fit. The node’s other cores are not idle: they answer queries and run the rest of the node’s software. What matters is that every node works through the same four lanes of work.

At the start of a round, the scheduler, the part of the system that decides which canister runs where, deals the canisters that have messages waiting onto the four processors. The deal is worked out only from the agreed state, which is what every node already holds in common, so it comes out the same on every node. Each processor then runs one canister after another, each until its queues are empty or the processor’s budget for the round is spent. Canisters that are left over wait for a later round, and move up the order while they wait.

A slice is 2 billion instructions. A call that needs more is stopped when its slice is used up, parked exactly as it stands, and carried on in a later round. Parked calls go first when the processors are dealt again. A call may take up to 20 slices. Past that it is stopped for good, and everything it did is rolled back.

A full slice uses up its processor’s budget for the round. So parking a long call is what lets the round end on time: the other three processors serve other canisters meanwhile, and the next block is not kept waiting. While its call is parked, a canister’s memory is unchanged, because changes land all at once when the call ends. The canister takes no other message until then, though it goes on answering queries from its memory as it was before the call began.

These are the concepts of an ordinary computer. With the Intel 386 of 1985, personal computers gained what larger machines already had: many programs, each walled off in its own protected memory, taking turns on the processor. A subnet is a computer of that sort, with programs, processors, protection and multitasking. It is virtual: its processors and its memory are set by the protocol, not by any one machine’s hardware. And it has two properties no personal computer had. It is replicated across independent nodes, and it is deterministic down to the instruction.

Each subnet is a replicated, deterministic, virtual computer.

Six rounds on four virtual processors
  1. Four processors, on every node

    Every node runs the same four virtual processors. Each round the scheduler deals canisters (programs with their own memory) to them from the agreed state, so the deal is the same on every node.

  2. Short calls take turns

    Each tile is one canister’s turn, as wide as the instructions (program steps) it used. Turn follows turn until a processor’s budget for the round, 2 billion instructions, is spent. Canister A begins a long call.

  3. A long call is parked

    A’s call needs more than one slice of 2 billion instructions. When the slice is used up, the call is taken off the processor and kept exactly as it is. The round ends on time.

  4. Next round, it goes first

    The processors are dealt afresh. The parked call goes first, on a processor kept for long calls, and the other three carry on with other canisters. So it goes, slice by slice.

  5. It finishes, and its changes land

    Until now A’s memory was untouched. The changes land all at once, as if the call had run in one go. A call may use 20 slices, 40 billion instructions, before it is stopped for good.

BFKCGLDHEJNMFPJHDKA · 1 of 5GMDEFHNPA · 2CKBHJEGA · 3LFEDNPKBA · 4MCHKJLA · 5ParkedA takes no other messageA’s memoryUnchangedChanges land at once
The call
Instructions used
0
Rounds taken
0
Rounds held up
none
Long work without holding up the subnet.

A’s call ran for 9 billion instructions over five rounds. Every round ended on time, the other three processors served other canisters throughout, and A’s memory changed once, at the end.

From the code. A slice is 2 billion instructions and a call may use 20; at most four calls stay parked between rounds. The other canisters’ turns are drawn by lot, those that have waited longest going first. “Without time slicing” is today’s subnet with parking taken away: before time slicing the limit was 5 billion instructions a call.
The protection · sandboxes

Two walls around every canister.

Anyone can write a canister, an attacker included. So its code runs inside a virtual machine, and the virtual machine runs inside a locked room.

The first wall is the WebAssembly virtual machine: the software that runs a canister’s code. Code inside it can touch only its own memory and can call only the 77 system functions. It has no way even to name a file, another canister’s memory, or the keys with which the node signs its part of the subnet’s seal. This is the protected memory of the last part, enforced more strictly still.

But that virtual machine is a large piece of software, and large pieces of software have flaws. So there is a second wall. On every node, each canister’s virtual machine runs in a sandbox of its own: a separate operating-system process, one for each canister, that the operating system keeps locked down. A sandbox can use only what the replica, the node’s main program, hands it, which is that one canister’s code and memory. It has no access to the network. It cannot reach into or signal another sandbox. Its one channel leads to the replica, and it holds no keys.

The replica, for its part, treats whatever a sandbox sends back as untrusted, and checks the sums before applying it: the cycles, and each message to be sent. A result that reports cycles that were never there, for instance, is refused.

So an attacker who finds a hole in the WebAssembly virtual machine has broken into a room that holds nothing but the canister they already controlled. To reach the node’s keys, or another canister’s memory, they would need a second, independent break, through a wall built on the assumption that the room behind it is already in hostile hands.

A break-out attempt, one wall at a time
  1. Code runs in a virtual machine

    A canister’s code runs inside a WebAssembly virtual machine. It can touch its own memory and ask for a short list of system functions. Nothing else exists for it.

  2. Suppose there is a hole in it

    An attacker’s canister finds a flaw in the virtual machine and gets out of it. Its code is now running outside the rules that held it.

  3. It is still inside its sandbox

    The sandbox is a process, a running program of its own, that the node’s operating system keeps locked down. The replica hands it only this canister’s code and memory. No keys, no network, no way into its neighbours.

  4. What it sends out is checked

    The sandbox’s one channel leads to the replica, which trusts nothing that comes through it. It checks the sums before it applies a result. One that creates cycles (what canisters pay with) out of nothing is refused.

  5. The rest of the node is out of reach

    Other canisters’ memory, the node’s keys and the network are behind a second wall. Getting further would take a second, independent break.

One node, as every node is builtIts software runs in a virtual machine on its hostThe replicathe node’s main programOther canisters’memoryThe node’s keysThe networkSandboxSandboxSandboxSandboxOne channel,checkedThe missing wallWebAssembly VMAcodememoryWebAssembly VMBcodememoryWebAssembly VMCcodememoryWebAssembly VMDcodememory
The second wall
Walls broken
0
Walls in the way
2
In reach
one canister’s own memory
Defence in depth.

The attacker breaks one wall and is still confined, holding nothing it did not already have: its own canister’s code and memory. Getting further would take a second, independent break, through a wall of a different kind.

What is real. A sandbox is a separate operating-system process for each canister on every node, locked down by the operating system’s security policy. The replica itself runs inside a virtual machine on its host. Simplified: four canisters stand for the many a node runs, and the node’s keys, drawn inside the replica, are kept by a separate program that signs when the replica asks.
The network · subnets

Many computers that call each other as if they were one.

A subnet is one computer. The Internet Computer is many of them, and a canister on one can call a canister on any other without knowing where it lives.

A call names only the canister it is for. The network keeps a routing table that maps ranges of canister IDs to subnets, in the care of its governance system, the Network Nervous System (NNS). The caller does not need to know which subnet a canister is on. To a canister’s code the subnets are transparent: a call to the far side of the network is written exactly like a call to the canister next door.

Underneath, the message takes a longer road. From the caller’s output queue it joins the stream to the other subnet: an ordered, numbered queue, one for each destination. The sending subnet’s seal on the round covers the stream. Nodes of the receiving subnet pull the sealed messages across, and one of those nodes puts the messages into a block. Every node there checks the seal against the sending subnet’s public key. Only then does the message join the input queue of the canister it is for, to be run like any other. The answer goes back the same way.

There is no hub in the middle. Each subnet deals directly with the other, and does not have to trust whichever node handed a message over: it checks the sending subnet’s signature with that subnet’s one public key. A call across subnets needs a block on the other subnet to carry it in, and a block back home to carry the answer, so it takes a few rounds where a call within a subnet can finish in one.

Each subnet is a computer of its own, running its own rounds on its own four virtual processors. Adding a subnet adds a computer: four more processors, working alongside all the rest. And because calls cross from one subnet to another without the code knowing, the software does not have to change as the network grows around it.

This is how the Internet Computer scales compute.

One call, across two subnets
  1. A calls B by name alone

    The call names only canister B. A does not need to know which subnet B is on. The call waits in A’s outbox, and a place is kept for the answer.

  2. It joins the stream to B’s subnet

    At the end of the round, subnet X looks B up in the network’s routing table and moves the call into the stream for subnet Y: an ordered, numbered queue of everything X has for Y.

  3. Subnet X seals it

    X’s seal on the round covers the stream: five of its seven nodes sign it (2f + 1). It is proof that the message really is from X.

  4. Subnet Y pulls it into a block

    A node of Y fetches the sealed message, and the node whose turn it is to make Y’s block puts it in. Every node of Y checks X’s seal against X’s public key. Then it joins B’s queue.

  5. B runs, and answers

    B executes the call, on every node of Y. Its answer goes back the same way: a stream, Y’s seal, a block on X.

  6. A’s callback runs

    A receives exactly one answer, as a new message that runs its callback: the function A named when it made the call. To A it looked like any other call.

Subnet X1234567Subnet Y1234567Routing tableA → XB → YRouting tableA → XB → YblocksKey of XblocksKey of YSubnet to subnet,no hubStream X → Y1234Stream Y → X4321outinAcall BAcall BinoutBreplyBreplyBA
Where B lives
Further blocks needed
one on Y, then one on X
Sealed in transit
yes, by each sender
A’s code
the same
The subnets are transparent.

A canister calls another by name; where it lives is the network’s business. That is how the network grows: by adding subnets, each a computer of its own.

Subnet to subnet. “Stream” is the code’s own name for the queue between two subnets; messages are taken in order, each once only (the ticked places are earlier ones, already delivered). Each subnet’s public key is published in the network’s registry. Drawn with seven nodes to a subnet and one call followed; most subnets are larger and real streams carry many messages.
What it adds up to

A computer that many machines can run as one.

Each property below follows from the parts above. Together they are what lets a subnet’s nodes compute separately and still be sealed as a single result.

  • 8.1 Determinism

    The same result on every node.

    Work is counted in instructions, never in time, and when every node executes a call, the canister sees nothing that differs from one node to the next. So honest nodes arrive at the same result, and the seal is the check that they did.

  • 8.2 Parallelism

    Many canisters at once.

    Canisters share no memory, so four processors can run four of them side by side on every subnet, and every subnet runs alongside all the others.

  • 8.3 Long computations

    40 billion instructions in one call.

    A heavy call is sliced across rounds and parked in between. The blocks keep their rhythm, and other canisters keep being served.

  • 8.4 Persistence

    No database to run.

    A canister’s memory stays. Each message either takes effect in full or leaves the memory as it was, so data is never left half written.

  • 8.5 Containment

    One break-in opens one room.

    Code that escapes the WebAssembly virtual machine is still inside its own canister’s sandbox, which holds no keys and no other canister’s data.

  • 8.6 Scale

    Grows by adding subnets.

    Every subnet is another computer. Canisters call across them by name alone, so the network can grow without the software changing.

Names and dates

The same machine, in the words of the code.

This guide uses the plainest name for each part. The papers and the source code have their own, and each part has a date on which it reached the network.

  1. The model

    The Intel 386 brings 32-bit protected mode, with memory in 4-kilobyte pages, to personal computers. Programs that are walled off from one another, and that take turns on the processor, become the ordinary way to compute.

  2. The network launches

    Canisters, their queues and their persistent memory are there from the first day, and so is the counting of instructions. A call has to finish within a single round, and all the canisters on a node run inside one process.

  3. Sandboxes

    Proposed in the autumn of 2021 and adopted by a vote of the network’s governance, a sandbox for each canister is running on every subnet by 22 March.

  4. Deterministic Time Slicing

    Proposed that February, time slicing is switched on for calls. A call may now run across rounds, at first for 10 billion instructions and, a month later, for 20 billion.

  5. Published

    Decentralized and Stateful Serverless Computing on the Internet Computer Blockchain, by sixteen engineers and researchers at DFINITY, is presented at the USENIX Annual Technical Conference. It sets out the execution environment as it runs.

  6. 40 billion

    The limit for one call is doubled again, to 20 slices of 2 billion instructions, where it stands today.

This guide’s words, and the terms in the code and the papers
In this guideWhat it isIn the code and papers
PoolWhere users’ calls wait before their order is agreed.ingress pool
QueueWhere agreed messages wait for a canister.ingress queue, input and output queues; induction
InstructionsThe unit work is counted in. Cycles pay for it.instructions; “measured in terms of cycles”
Virtual processorOne of four identical lanes of work on every node.scheduler core; execution thread
ParkedA long call set aside when its slice is used up.paused execution
SandboxThe locked-down process a canister’s code runs in.canister sandbox; sandboxed process
StreamThe sealed queue from one subnet to another.stream; XNet
SealThe subnet’s signature on what a round produced.certification; threshold signature
The papers

Read the full account.

More in Network

Continue reading.