Hosting your dapp on Chromia
Chromia provides a cloud-like hosting experience with the advantages of decentralization and no gas fees, meaning users don’t pay for transactions. Instead of gas fees, developers lease containers with dedicated resources like virtual CPUs (vCPU), RAM, storage, and input/output (I/O) bandwidth. This setup ensures you know your hosting costs while maintaining a decentralized infrastructure.
Dapp containers and standard container units (SCUs)
Dapps on Chromia run in containers that are replicated across all nodes in a cluster. This design ensures consistent performance and decentralization, giving each container dedicated resources. As a result, other network traffic won’t affect your dapp. When demand increases, you can scale up by adding more containers.
Flexible leasing model: Lease containers on a weekly basis and adjust resources as needed. You pay in CHR, and we set the cost to match a USD-equivalent target for predictability.
One SCU provides 2 GB of RAM, 0.5 vCPU, 16 GB of storage, and I/O bandwidth of 25 MiB/s for reading and 20 MiB/s for writing. The current weekly target cost is approximately 90 USD for a default 7-node dapp cluster.
Understanding hosting costs
Chromia's hosting model keeps costs predictable and manageable, based on two main factors:
- Number of SCUs: The number of SCUs you lease drives most of the cost. More SCUs mean more resources for handling higher traffic and demanding workloads.
- Additional storage: You can add extra storage beyond the base SCU allocation for an additional fee.
You can make payments manually or programmatically, and any network participant can help cover these costs to keep your dapp running smoothly.
Hosting fee estimator
The container leasing system on Chromia allows anyone to pay for a lease, ensuring your dapp can keep running even if the original lease payment lapses.
This flexibility supports two scenarios:
- Continuous operation: Users or community members can cover lease payments to keep the dapp running.
- Emergency measure: You can extend the lease temporarily to maintain access to your dapp’s features if needed.
This system ensures that if a lease lapses, dapps can stay accessible and operational with community support.
Monetizing your application
Chromia allows you to create the revenue model that works best for your dapp. You can choose or combine different approaches, such as:
- Freemium model: Offer a basic version for free, with paid upgrades for advanced features.
- Subscription model: Charge recurring fees for premium content or services.
- Pay-per-use: Bill users based on how they use your dapp, like asset transfers or data access.
You have the freedom to implement any monetization strategy that fits your project.