PancakeSwap x Dysnix Case Study

DEX infrastructure handling 100,000 RPS with 62.5x faster response.
PancakeSwap bunny head

Meet PancakeSwap

Orange globe iconX logoLinkedIn icon
PancakeSwap is a popular decentralized exchange (DEX) built on the Binance Smart Chain. It uses automated smart contracts to facilitate crypto swapping directly between users. PancakeSwap also offers features like staking and yield farming, allowing users to earn rewards on their holdings.

During events like airdrops, it experiences the massive traffic loads of more than 100,000 RPS, and our team created an infrastructure that can handle it with ease.

Main pain points / challenges

  • High Infrastructure Costs
  • Unstable Performance
  • Excessive Latency

Issues we solved

Before
Orange circular refresh arrows
Over $200K monthly estimated costs for maintaining the blockchain infrastructure
Orange circular refresh arrows
Regular downtimes of public endpoints
Orange circular refresh arrows
Uncontrollable latency spikes caused ~3270 ms delays for DEX users
Orange circular refresh arrows
Users got errors trying to send transactions using public BSC endpoints
After
Green check mark in a circle
Reduced costs on the infrastructure by 70%
Green check mark in a circle
Reduced the peak response time by 62.5 times
Green check mark in a circle
Stabilized infrastructure with 158 B requests per month
Green check mark in a circle
Achieved ~99.9% uptime
Green check mark in a circle
Decreased latency to ~80 ms

Case summary

Dysnix engineered a blockchain node cluster and predictive AI autoscaler for PancakeSwap, enabling the infrastructure to handle over 100,000 RPS with 62.5x faster response times. This reduced infrastructure costs by 70%, stabilized latency to ~80 ms, and achieved ~99.9% uptime, supporting 158 billion requests monthly with proactive scaling and auto node rotation.

Solutions implemented by Dysnix

Three connected cubes
Blockchain Nodes Cluster
Fast and secure self-hosted cluster of geo-distributed blockchain nodes
Nested glowing cubes
Predictive AI nodes autoscaler
Proactive scale for perfect resources balancing with no lags and delays
Cluster of glowing cubes
JSON RPC Caching Proxy
Fastest and most secure connections for any blockchain project
Glowing triangular pyramid
Auto node rotation
Keeping all nodes healthy in the production environment
Glowing infinity loop with an arrow
Web3 DevOps as a Service
Delegate any blockchain infrastructure issues to our Web3 experts

This case in the GCP spotlight

"Along with Google Kubernetes Engine, PreditKube solution from Dysnix accurately predicted more than 90% of traffic spikes on PancakeSwap, and automated up-and-down scale of blockchain nodes ahead of time to properly manage the anticipated traffic surge. This resulted in more than 30% of cost saving and slashed the peak response time by 62.5 times.
PancakeSwap: Supporting the DeFi ecosystem with an always-available infrastructure
Read more
Daniel Yavorovych
Co-Founder & CTO
Are you looking for the same comprehensive solution? We'll customize it for you.
Bearded man in a black beanie and glasses speaking into a microphone with a speaker badge

Discover other innovations from our cases