Difference between revisions of "Best practices for a high traffic dapp launch"

From Internet Computer Wiki
Jump to: navigation, search
m (Start describing stress testing.)
Line 19: Line 19:
  
 
==Testing the dapp==
 
==Testing the dapp==
 +
 +
=== Stress testing ===
 +
The IC does not have a testnet.  Instead developers are encouraged to use the mainnet for test purposes.  Before developers deploy the production ready dapp to mainnet and enable access to it to the world, they should first deploy test versions to mainnet.  They should then stress it by emulating the anticipated load on it and see how well the dapp and the platform in general fares.  If the desired performance is not achieved, developers are encouraged to get help by using the links provided above.  Often times, the desired performance can be achieved by performing minor tweaks to the dapps. 
  
 
==Deploying the dapp==
 
==Deploying the dapp==

Revision as of 08:33, 17 November 2021

Summary

Starting the project

Choosing a programming language

Motoko

Rust

Writing the dapp

Getting help

There are few resources where developers get help while building a dapp:

Testing the dapp

Stress testing

The IC does not have a testnet. Instead developers are encouraged to use the mainnet for test purposes. Before developers deploy the production ready dapp to mainnet and enable access to it to the world, they should first deploy test versions to mainnet. They should then stress it by emulating the anticipated load on it and see how well the dapp and the platform in general fares. If the desired performance is not achieved, developers are encouraged to get help by using the links provided above. Often times, the desired performance can be achieved by performing minor tweaks to the dapps.

Deploying the dapp

Launching the dapp to the world

Monitoring the dapp

Lessons from past launches

  1. Use most recent Motoko version

Motoko is a language being actively developed so it is recommended to use the latest version of Motoko to get maximal stability and performance.