K線
數據鏈上
VIP
市值
API
排行
CoinOSNew
CoinClaw🦞
語言
  • 简体中文
  • 繁体中文
  • English
全球行情資料應用程式領跑者,致力於更有效率地提供有價值的資訊。

功能

  • 即時行情
  • 特色功能
  • AI網格

服務

  • 資訊內容
  • 開放數據(API)
  • 機構服務

軟體下載

  • PC版
  • Android版
  • iOS版

聯絡我們

  • 聊天室
  • 商務信箱
  • 官方信箱
  • 官方驗證通道

加入社區

  • Telegram
  • Twitter
  • Discord

© Copyright 2013-2026. All rights reserved.

简体繁體English
|舊版

Kraken API: The Primacy of Performance

CN
Theblock
關注
2 年前
AI 總結,5秒速覽全文

Kraken puts significant emphasis on instrumenting code to watch and understand our system performance under heavy, real-world conditions. We also employ competitive benchmarking to confirm how Kraken API stacks up over time.

We measure trading speed in the form of latency. Latency is the round-trip delay and we define it as the time between a trading request (e.g., add order) being sent by client systems and it being acknowledged by the exchange.

Unlike traditional exchanges, crypto venues are generally less geographically concentrated and don’t offer full colocation. In many cases, they are entirely cloud-based.

Latency-sensitive clients will deploy code wherever it is most physically proximate to the venue. Therefore, a fair comparison includes measuring latency from the region most relevant for that specific venue.

Latency will also vary between trading requests, even on a persistent connection between a single client and the exchange. This is due to both differences and variability in internet-based trading, as well as how the exchange is handling load.

Here you see Kraken’s best-path P25 latency (25% of all trading requests had a latency at or under the milliseconds indicated) versus some of our top competitors in different regions, normalized for location, during a March baseline measurement.

Our baseline round-trip latency of about 2.5ms represents a 97% improvement vs. Q1 2021.

As mentioned before, real-world performance under heavy load is as important, if not more important, than best case performance and absolute latency figures.

Improving execution cost, reducing slippage, and managing market risk depends on minimizing the variability of latency between each trading request. We call this variability jitter, and we measure the difference between different latency percentile figures for the same sampling time frame.

By measuring jitter with P25 and P95 latencies, we capture a significant performance range and observed behavior over time. For example, we measured how our jitter compared with top competitors during the week of November 5-12, 2022, when market volatility was acute due to unraveling of FTX.

Our trading infrastructure performed exceptionally well, despite the dramatically increased volatility and load. Our jitter never exceeded 30ms. Other exchanges slowed to several hundred milliseconds, or requests timing out entirely as indicated by the vertical spikes.

Throughput reflects the number of successful trading requests (add order, cancel order, edit order, etc.) handled by an exchange in a given amount of time.

Similar to latency, we discuss throughput in either theoretical or observed terms.

Observed throughput is more relevant since it reflects many interrelated factors including rate limits. We set these limits to prevent DDoS attacks and keep traffic comfortably within theoretical limits.

Here we’ve illustrated the over 4x improvement in our maximum observed throughput (Q1 2021 vs. Q1 2023). Already increased from 250k requests/min to over 1mm, there is significant headroom left between this level and our dramatically improved theoretical maximum throughput.

Contact us to learn more about how Kraken API can work for you.

 

This post is commissioned by Kraken and does not serve as a testimonial or endorsement by The Block. This post is for informational purposes only and should not be relied upon as a basis for investment, tax, legal or other advice. You should conduct your own research and consult independent counsel and advisors on the matters discussed within this post. Past performance of any asset is not indicative of future results.

© 2023 The Block Crypto, Inc. All Rights Reserved. This article is provided for informational purposes only. It is not offered or intended to be used as legal, tax, investment, financial, or other advice.

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。

OKX 活期简单赚币,让你的链上黄金生生不息
广告
|
|
APP下載
Windows
Mac
分享至:

X

Telegram

Facebook

Reddit

複製鏈接

|
|
APP下載
Windows
Mac
分享至:

X

Telegram

Facebook

Reddit

複製鏈接

Theblock的精選文章

4 個月前
泰国Bitkub加密货币交易所考虑在香港上市:彭博社
4 個月前
摩根大通关闭了Strike首席执行官杰克·马勒斯的账户,引发了对加密货币去银行化的担忧
4 個月前
现货比特币ETF在连续第四周的资金流出中减少了12亿美元
查看更多

目錄

|
|
APP下載
Windows
Mac
分享至:

X

Telegram

Facebook

Reddit

複製鏈接

相關文章

avatar
avatarbitcoin.com
57 分鐘前
绿色名单:日本在监管框架下锚定30多个加密代币
avatar
avatarbitcoin.com
2 小時前
“历史已经到来”:罗伯特·清崎将比特币列为2026年最安全的投资之一
avatar
avatarbitcoin.com
3 小時前
美国银行集团抨击Coinbase的有条件信任批准,指出加密银行扩展中的风险
avatar
avatarbitcoin.com
4 小時前
比特币难度上涨3.87%,随着哈希率下降和下一次减半临近
avatar
avatarbitcoin.com
5 小時前
人类科技发布自然语言钱包协议,用于人工智能代理。
APP下載
Windows
Mac

X

Telegram

Facebook

Reddit

複製鏈接