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) $ 91,239.45 3.47%
ethereum
Ethereum (ETH) $ 3,150.86 2.37%
tether
Tether (USDT) $ 1.00 0.01%
solana
Solana (SOL) $ 220.97 5.96%
bnb
BNB (BNB) $ 624.84 0.47%
dogecoin
Dogecoin (DOGE) $ 0.378608 2.41%
xrp
XRP (XRP) $ 0.913376 10.09%
usd-coin
USDC (USDC) $ 0.99989 0.01%
staked-ether
Lido Staked Ether (STETH) $ 3,149.25 2.30%
cardano
Cardano (ADA) $ 0.737891 23.23%
tron
TRON (TRX) $ 0.189822 6.38%
shiba-inu
Shiba Inu (SHIB) $ 0.000025 7.48%
avalanche-2
Avalanche (AVAX) $ 34.43 9.10%
the-open-network
Toncoin (TON) $ 5.43 3.19%
wrapped-steth
Wrapped stETH (WSTETH) $ 3,714.53 1.84%
wrapped-bitcoin
Wrapped Bitcoin (WBTC) $ 91,118.41 3.59%
sui
Sui (SUI) $ 3.87 21.67%
pepe
Pepe (PEPE) $ 0.000023 8.15%
weth
WETH (WETH) $ 3,155.65 2.45%
chainlink
Chainlink (LINK) $ 14.26 8.74%
bitcoin-cash
Bitcoin Cash (BCH) $ 434.26 3.40%
polkadot
Polkadot (DOT) $ 5.25 8.37%
near
NEAR Protocol (NEAR) $ 6.10 12.24%
leo-token
LEO Token (LEO) $ 7.76 4.29%
aptos
Aptos (APT) $ 12.48 8.93%
litecoin
Litecoin (LTC) $ 83.75 2.47%
wrapped-eeth
Wrapped eETH (WEETH) $ 3,312.08 2.20%
uniswap
Uniswap (UNI) $ 8.81 8.23%
usds
USDS (USDS) $ 0.994887 0.73%
crypto-com-chain
Cronos (CRO) $ 0.168688 6.63%
stellar
Stellar (XLM) $ 0.145269 7.05%
internet-computer
Internet Computer (ICP) $ 9.04 12.88%
bittensor
Bittensor (TAO) $ 535.96 6.33%
dogwifcoin
dogwifhat (WIF) $ 3.91 11.30%
kaspa
Kaspa (KAS) $ 0.14075 6.24%
ethereum-classic
Ethereum Classic (ETC) $ 23.58 6.26%
fetch-ai
Artificial Superintelligence Alliance (FET) $ 1.32 8.00%
dai
Dai (DAI) $ 0.999775 0.03%
whitebit
WhiteBIT Coin (WBT) $ 22.30 0.77%
ethena-usde
Ethena USDe (USDE) $ 1.00 0.07%
bonk
Bonk (BONK) $ 0.000044 26.91%
polygon-ecosystem-token
POL (ex-MATIC) (POL) $ 0.379814 6.09%
hedera-hashgraph
Hedera (HBAR) $ 0.078807 17.82%
blockstack
Stacks (STX) $ 1.94 6.83%
render-token
Render (RENDER) $ 7.35 11.86%
monero
Monero (XMR) $ 144.09 3.05%
okb
OKB (OKB) $ 44.19 1.81%
first-digital-usd
First Digital USD (FDUSD) $ 1.00 0.18%
floki
FLOKI (FLOKI) $ 0.000265 24.42%
aave
Aave (AAVE) $ 169.45 8.86%