Change Password

Please enter the password.
Please enter the password. Between 8-64 characters. Not identical to your email address. Contain at least 3 of: uppercase, lowercase, numbers, and special characters.
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

Apply New License

License Detail

Please complete this required field.

  • Ultipa Blaze (v4)

Standalone

Please complete this required field.

Please complete this required field.

Please complete this required field.

Please complete this required field.

Leave it blank if an HDC service is not required.

Please complete this required field.

Leave it blank if an HDC service is not required.

Please complete this required field.

Please complete this required field.

Mac addresses of all servers, separated by line break or comma.

Please complete this required field.

Please complete this required field.

Cancel
Apply
ID
Product
Status
Cores
Maximum Shard Services
Maximum Total Cores for Shard Service
Maximum HDC Services
Maximum Total Cores for HDC Service
Applied Validity Period(days)
Effective Date
Expired Date
Mac Address
Reason for Application
Review Comment
Close
Profile
  • Full Name:
  • Phone:
  • Company:
  • Company Email:
  • Country:
  • Language:
Change Password
Apply

You have no license application record.

Apply
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

Product Created On ID Amount (USD) Invoice
Product Created On ID Amount (USD) Invoice

No Invoice

v5.0
Search
    English
    v5.0

      Shard Servers

      Overview

      Shard servers are a crucial component of the Ultipa Powerhouse (v5) architecture, typically comprising multiple servers dedicated to distributed graph storage and computation. This design enables horizontal scaling while delivering highly competitive performance.

      Each shard supports multi-replica data storage. In the three-shard setup example below, shards 1 and 2 each have three replicas, while shard 3 has two replicas. Graphs are distributed across these shards: Graph_1 in all three shards, Graph_2 and Graph_3 partially stored across the three shards, and Graph_4 located in a single shard.

      Showing Shard Servers

      Retrieves information about all shard servers:

      show().shard()
      

      The details returned for each shard server include:

      Field
      Description
      shardId The unique identifier, typically numbered sequentially (1, 2, 3, ...), of each shard server.
      shardStatus Current state of the shard server, which can be ACTIVE or DEAD.
      replicas The replicas of the shard server. Each replica includes:
      • status: The current status of the replica, which can be ACTIVE or DEAD.
      • addr: The IP address and port of the replica.
      • streamAddr: The IP address and port of the stream service of replica.
      • lastHeartbeatTime: The timestamp of the last heartbeat sent to the meta servers by the replica.

      Adding a Shard Server

      After successfully deploying a new shard server, it must be registered with the meta servers before it can be utilized. This process ensures that the new shard server is recognized within the system.

      Adds a Shard server 4 with three replicas:

      alter().shard().add({
        shardId: 4,
        replicas: [
          {addr: "127.0.0.1:40061", streamAddr: "127.0.0.1:40023"},
          {addr: "127.0.0.2:40061", streamAddr: "127.0.0.2:40023"},
          {addr: "127.0.0.3:40061", streamAddr: "127.0.0.3:40023"}
        ]
      })
      

      You can also add shard servers on the server-side by running the ./ultipa.sh script provided during deployment:

      ./ultipa.sh cluster addshard --config example.sh
      

      Altering a Shard Server

      You can alter the replicas of a shard server.

      Alters the replicas of the Shard server 4:

      alter().shard().replace({
        shardId: 4,
        replicas: [
          {addr: "127.0.0.1:40061", streamAddr: "127.0.0.1:40023"},
          {addr: "127.0.0.2:40061", streamAddr: "127.0.0.2:40023"}
        ]
      })
      

      Deleting a Shard Server

      You can unregister an inactive or obsolete shard server from the meta servers.

      Deletes the shard server 1:

      alter().shard().delete({shardId: 1})
      
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写