HyperChain Improvement Proposals
Backend 분류

Requires statistical management of node IP and RPC method

본문

  HIP: 3
  Title: Requires statistical management of node IP and RPC method
  Type: Backend
  Impact: RPC
  Author: Lee Sang Hoon <[email protected]>
  Comments-URI: https://zeronelabs.org
  Status: Active
  Created: 2022-07-31 

Summary

In addition to the JSON RPC API, we propose to facilitate statistical management of Node-Server and RPC Call histories.

Motivation

Currently, Node-Server IP statistics are managed on the core. Request was made to cross-check the frequency of RPC calls on the platform for HyperChain API service.

Specification

The number of calls (CallsCounter) and processing time (ElapsedMilis) for each RPC method must be added.

Rationale

We don't know what kind of client works with the JSON-RPC API. We will configure statistics for each function so that appropriate API services can be provided.

Backwards Compatibility

All changes are fully backwards compatible.

Links

HyperChain DOCS : https://docs.zeronelabs.org/docs/developing/json_rpc_api/stats

관련자료