Skip to content

Commit

Permalink
updated to differentiate stacking with the same concept in difi
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartLayer committed Dec 5, 2023
1 parent 5583773 commit ef5e713
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/technology/ServiceLevelAggreemet.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# Service Level Agreement (SLA)

Service Level Agreements (SLAs) are binding contracts that define the relationship between the service nodes and the Smart Layer network.
Service Level Agreements (SLAs) are critical contracts within the Smart Layer network that define the operational standards and expectations for service nodes. These agreements establish clear service level objectives (SLOs) that each node commits to uphold, such as availability, performance, bandwidth, and latency standards.

When a [service node](ServiceNode.md) decides to join the network, it creates its own SLA instance using a master SLA contract as a template. This agreement is a legally binding pledge from the service node to uphold specific standards of availability, performance, bandwidth, and latency. These commitments become service level objectives (SLOs) that the node is obligated to meet.
## Performance-Based Reward Mechanism

The network incentivizes nodes to fulfill these objectives with a performance-based reward system. Nodes that consistently meet or exceed their SLOs receive higher rewards, fostering a culture of excellence and reliability.
The Smart Layer network operates on a performance-based reward system. This means that nodes are incentivized to achieve and maintain high standards of service. Nodes that consistently meet or exceed their SLOs, as outlined in their SLAs, are rewarded. This system encourages a culture of excellence and reliability among service nodes, enhancing the overall performance of the network.

Accountability is enforced within the network. Nodes that fail to meet their SLOs face a reduction in their rewards. Persistent underperformance can lead to a "stake slashing" punishment, where a portion of the node's staked tokens is forfeited. This mechanism drives all nodes to maintain high service standards, enhancing the network's efficiency and reliability.
## Staking in the Smart Layer Network

Before pledging to a SLO, a service node should negotiate with an [Anchoring Node](AnchoringNode.md). This negotiation helps avoid potential mistakes, and the anchoring node conducts a brief serviceability test on the service node.
In the context of the Smart Layer network, staking involves a [service node](ServiceNode.md) committing a certain amount of tokens as a guarantee of their performance. This is a fundamental aspect of the network's operation, serving as a bond or security deposit to ensure that nodes adhere to the standards set out in their SLAs.

[Anchoring Nodes](AnchoringNode.md) play a pivotal role in this system. They monitor the performance of service nodes, ensuring adherence to their SLAs. They also manage the reward and penalty system, adjusting compensation based on node performance.
The purpose of staking is to provide a tangible commitment from the service nodes to the network. It ensures that nodes have a vested interest in maintaining the high standards required by their SLAs. Staking is not just about earning rewards; it's a crucial part of the network's integrity and trustworthiness.

In summary, SLAs are a fundamental part of the Smart Layer network. They enforce high service standards, promote accountability, and optimize resource allocation.
## Stake Slashing – Ensuring Accountability

Stake slashing is a mechanism used to enforce the terms of the SLA. If a service node fails to meet the agreed-upon SLOs, a portion of their staked tokens may be forfeited or "slashed." This penalty is not arbitrary but is triggered by specific conditions outlined in the SLA. The conditions under which stake slashing occurs are clearly defined and agreed upon when the service node joins the network. This might include scenarios like prolonged downtime, slow response times, or other breaches of the agreed performance metrics.

## Negotiation and Testing

To ensure feasibility and fairness, service nodes negotiate their SLAs with Anchoring Nodes. This process includes a serviceability test to assess the node's capability to fulfill the SLA. This proactive step helps to prevent situations where a node might underperform and face penalties.

Anchoring Nodes play a critical role in the network. They monitor the performance of service nodes, ensuring adherence to SLAs, and manage the reward and penalty system. This includes distributing rewards to high-performing nodes and implementing stake slashing for those that fail to meet their obligations.

0 comments on commit ef5e713

Please sign in to comment.