BPOI Banner
AI Might Help You Avoid Getting Rekt on Coinbase the Next Time Bitcoin Crashes AI Might Help You Avoid Getting Rekt on Coinbase the Next Time Bitcoin Crashes

AI Might Help You Avoid Getting Rekt on Coinbase the Next Time Bitcoin Crashes

Coinbase said on Monday that it has developed and deployed a machine learning model that predicts spikes in user traffic and automatically scales its resources, preventing downtime and increasing platform efficiency. The AI solution aims to deal with the problem of platform crashes during unpredictable traffic surges that have plagued the platform during volatile market conditions.

“Starting to scale when traffic is already high is often too late,” the blog explains. “We developed an automatic scaling solution that uses machine learning to predict the traffic spikes and trigger a scale up before the traffic arrives.”

The exchange says the model has already proven its worth during recent volatile market periods.

“As traffic increased so did our scale target, doubling twice a few hours before peak traffic,” Coinbase wrote. “The model continued scaling up and down with the daily usage pattern, until volatility decreased and there was no longer a need to scale up.”

Image: Coinbase

The model’s task is to provide a signal with 60 minutes lead time before a traffic spike. Coinbase previously tried a time-series forecasting model that attempted to predict traffic levels 60 minutes into the future. However, this approach was found to be ineffective due to the lag time in the underlying statistics.

Instead, Coinbase transformed the problem into a longer-term classification one. The new model leverages external signals such as price fluctuations in major cryptocurrencies like Bitcoin and Ethereum. The model tries to answer the question of whether traffic will exceed a certain threshold level in the next few hours. This approach has significantly improved accuracy.

“The key insight: if cryptocurrency price volatility is high and the current traffic is approaching the target level at a faster rate than anticipated, then the likelihood of a traffic spike is increased,” the blog states.

Coinbase explains that its AI model was designed to balance between avoiding missed spikes and reducing false alerts. This is an important step because triggering false alerts may result in wasted resources whereas too much reduction of false alerts may end up with an inaccurate model that does not serve its purpose —and the exchange crashing during high traffic periods as a direct consequence.

Coinbase’s history with market volatility is not a pretty one. The exchange is known for its instances of outages and technical issues during key moments of crypto history.

For example, on May 14, 2024, Coinbase experienced a major outage that lasted more than three hours, affecting both desktop and mobile platforms. Users encountered a ‘503 service temporarily unavailable’ message on the website and incorrect ‘planned maintenance‘ notifications on the mobile app.

Just two months before that, when Bitcoin was on its way to reaching its ATH, the exchange crashed, leaving thousands unable to realize their gains. “We are encouraged by the excitement in the market and are continuing to double down the capacity and resilience of our systems,” a Coinbase spokesperson told Decrypt back then.

And one month before that Coinbase crashed due to its inability to handle the unexpected traffic during a bull run.

Users have also reported financial losses due to the inability to execute trades during these outages, with Coinbase not able to recommend anything else besides refreshing the site until things are back to normal.

Coinbase has continuously said it has taken steps to resolve past issues. Technical upgrades and infrastructure improvements have been a primary focus. The company has invested in enhancing its server capacity and optimizing its software architecture to better handle high traffic volumes.

But considering the problems are caused by traffic spikes and not by a steady traffic growth, the use of AI to predict unusual traffic and automatically scale databases seems to be the most optimal approach—if proven effective.

Now, we just need to wait until the next price swing to see whether this AI algorithm can beat a flood of crypto traders.

Generally Intelligent Newsletter

A weekly AI journey narrated by Gen, a generative AI model.



Source link

Jose Antonio Lanz

https://decrypt.co/246491/coinbase-ai-machine-learning-combat-outages

2024-08-26 20:15:36

bitcoin
Bitcoin (BTC) $ 95,456.58 0.93%
ethereum
Ethereum (ETH) $ 3,306.39 1.25%
tether
Tether (USDT) $ 1.00 0.03%
xrp
XRP (XRP) $ 2.19 2.21%
bnb
BNB (BNB) $ 664.91 0.63%
solana
Solana (SOL) $ 182.51 1.42%
dogecoin
Dogecoin (DOGE) $ 0.313207 0.80%
usd-coin
USDC (USDC) $ 1.00 0.08%
staked-ether
Lido Staked Ether (STETH) $ 3,300.33 1.22%
cardano
Cardano (ADA) $ 0.887283 1.17%
tron
TRON (TRX) $ 0.247476 0.65%
avalanche-2
Avalanche (AVAX) $ 36.41 3.86%
chainlink
Chainlink (LINK) $ 22.70 2.23%
the-open-network
Toncoin (TON) $ 5.42 1.08%
wrapped-steth
Wrapped stETH (WSTETH) $ 3,907.08 1.36%
shiba-inu
Shiba Inu (SHIB) $ 0.000022 0.08%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 95,195.51 0.85%
sui
Sui (SUI) $ 4.27 5.82%
stellar
Stellar (XLM) $ 0.355504 0.32%
polkadot
Polkadot (DOT) $ 6.90 2.26%
hedera-hashgraph
Hedera (HBAR) $ 0.266508 4.52%
hyperliquid
Hyperliquid (HYPE) $ 28.31 14.22%
weth
WETH (WETH) $ 3,303.20 1.49%
bitcoin-cash
Bitcoin Cash (BCH) $ 442.93 2.49%
leo-token
LEO Token (LEO) $ 9.40 0.98%
uniswap
Uniswap (UNI) $ 13.89 1.32%
litecoin
Litecoin (LTC) $ 101.91 0.97%
pepe
Pepe (PEPE) $ 0.000018 2.06%
wrapped-eeth
Wrapped eETH (WEETH) $ 3,486.51 1.07%
near
NEAR Protocol (NEAR) $ 5.09 1.11%
ethena-usde
Ethena USDe (USDE) $ 0.999694 0.05%
bitget-token
Bitget Token (BGB) $ 4.13 0.57%
usds
USDS (USDS) $ 1.00 0.27%
aptos
Aptos (APT) $ 9.11 4.46%
aave
Aave (AAVE) $ 333.06 11.35%
internet-computer
Internet Computer (ICP) $ 10.03 0.89%
crypto-com-chain
Cronos (CRO) $ 0.154141 1.90%
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.475489 0.86%
mantle
Mantle (MNT) $ 1.17 0.85%
ethereum-classic
Ethereum Classic (ETC) $ 26.23 0.43%
vechain
VeChain (VET) $ 0.045882 0.52%
render-token
Render (RENDER) $ 7.06 1.41%
whitebit
WhiteBIT Coin (WBT) $ 24.43 0.03%
monero
Monero (XMR) $ 187.74 1.89%
mantra-dao
MANTRA (OM) $ 3.63 1.97%
dai
Dai (DAI) $ 1.00 0.05%
bittensor
Bittensor (TAO) $ 456.30 0.40%
fetch-ai
Artificial Superintelligence Alliance (FET) $ 1.28 0.14%
arbitrum
Arbitrum (ARB) $ 0.756978 0.92%
ethena
Ethena (ENA) $ 1.05 0.05%