Faster Response Times of Data APIs ποΈ
We are excited to announce several significant improvements to our Data API. These updates have been implemented to enhance performance and reliability across various endpoints. Below is a detailed comparison of response times between the old and new solutions:
Endpoint Performance Comparison
<th style={{ textAlign: "left" }}>
Avg. Response Time - Old Solution (ms)
</th>
<th style={{ textAlign: "left" }}>
Avg. Response Time - New Solution (ms)
</th>
<th style={{ textAlign: "left" }}>
Diff. (ms)
</th>
<th style={{ textAlign: "left" }}>
Diff. (%)
</th>
</tr>
<td style={{ textAlign: "left" }}>
7.79
</td>
<td style={{ textAlign: "left" }}>
7.73
</td>
<td style={{ textAlign: "left" }}>
\-
0.06
</td>
<td style={{ textAlign: "left" }}>
\-
2.7%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get owners**
</td>
<td style={{ textAlign: "left" }}>
80
</td>
<td style={{ textAlign: "left" }}>
6
</td>
<td style={{ textAlign: "left" }}>
\-
74
</td>
<td style={{ textAlign: "left" }}>
\-
92.5%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get tx by hash**
</td>
<td style={{ textAlign: "left" }}>
33
</td>
<td style={{ textAlign: "left" }}>
13
</td>
<td style={{ textAlign: "left" }}>
\-
20
</td>
<td style={{ textAlign: "left" }}>
\-
60.61%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get tx by contractAddress**
</td>
<td style={{ textAlign: "left" }}>
24,700
</td>
<td style={{ textAlign: "left" }}>
127
</td>
<td style={{ textAlign: "left" }}>
\-
24,573
</td>
<td style={{ textAlign: "left" }}>
\-
99.49%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get tx by address**
</td>
<td style={{ textAlign: "left" }}>
28,700
</td>
<td style={{ textAlign: "left" }}>
326
</td>
<td style={{ textAlign: "left" }}>
\-
28,374
</td>
<td style={{ textAlign: "left" }}>
\-
98.86%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get tx by block**
</td>
<td style={{ textAlign: "left" }}>
120,000
</td>
<td style={{ textAlign: "left" }}>
55
</td>
<td style={{ textAlign: "left" }}>
\-
119,945
</td>
<td style={{ textAlign: "left" }}>
\-
99.95%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get blocks**
</td>
<td style={{ textAlign: "left" }}>
80
</td>
<td style={{ textAlign: "left" }}>
60
</td>
<td style={{ textAlign: "left" }}>
\-
20
</td>
<td style={{ textAlign: "left" }}>
\-
25%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get events**
</td>
<td style={{ textAlign: "left" }}>
400
</td>
<td style={{ textAlign: "left" }}>
410
</td>
<td style={{ textAlign: "left" }}>
\+
10
</td>
<td style={{ textAlign: "left" }}>
\+
2.5%
</td>
</tr>
<tr>
<td style={{ textAlign: "left" }}>
**Get balance**
</td>
<td style={{ textAlign: "left" }}>
110
</td>
<td style={{ textAlign: "left" }}>
15
</td>
<td style={{ textAlign: "left" }}>
\-
95
</td>
<td style={{ textAlign: "left" }}>
\-
86.36%
</td>
</tr>
Endpoint |
---|
**Get tokens from collection** |
Note: We continue to monitor our internal services and are constantly improving the response times further more, expect another announcement soon. π
Highlights
Dramatic Reductions in Response Times: Most endpoints have seen substantial improvements, with some, like GetTxByContractAddress and GetTxByBlock, experiencing reductions of over 99%, leading to much faster data retrieval.
Optimized GetOwners Endpoint: This endpoint now performs 92.5% faster, significantly improving efficiency.
Enhanced Balance Retrieval: The GetBalance endpoint is now 86.36% faster, enabling quicker access to balance information.