Help Center/ Web3 Node Engine Service/ FAQs/ APIs/ What Are the Flow Control Policies for Full Nodes?
Updated on 2023-08-08 GMT+08:00

What Are the Flow Control Policies for Full Nodes?

In order to guarantee the stable operation of your full nodes and optimize their performance, Node Engine Service (NES) assigns weights to APIs according to their specifications. When the total weight of all APIs per second surpasses the threshold, flow control is activated.

If your API requests are continuously restricted, it may result in delayed block synchronization and failed transactions. To prevent your services from being affected, you can:

  • add nodes
  • expand the specifications of existing nodes
  • reduce the API calling frequency
  • wait for several seconds and try again

Note that for a JSON-RPC batch processing request, the total weight of all methods in the request is calculated. In addition to the preceding ways, you can split methods to call them.