Benefits
Overview
To drive growth and improve customer experiences, Jupiter needed sub-second performance from the content delivery network (CDN) supporting its decentralized exchange. By migrating from a third-party CDN to Amazon CloudFront with AWS edge compute and security services, the company improved platform performance, flexibility, and security. As a result, Jupiter reduced API call latency by 60 percent and infrastructure costs by 18 percent, while supporting 10 percent growth in transaction volume and a 20 percent increase in active exchange users.
About Jupiter
Founded in 2021, Jupiter provides a decentralized exchange (DEX) aggregator on the Solana blockchain. Users trade multiple digital assets on the platform, searching across many Solana-based markets simultaneously to find the best price.
Opportunity | Addressing performance variability in decentralized trading
Jupiter operates a decentralized exchange (DEX) aggregator on the Solana blockchain, routing trades across multiple liquidity sources to support efficient transaction execution. The platform serves decentralized finance (DeFi) use cases, where blockchain-based transactions take place without centralized intermediaries. Many users access these services through decentralized applications (dApps), which are blockchain-based applications that interact with smart contracts. To sustain business growth, the company needed to replace the CDN supporting its platform. Inconsistent performance affected trading activity, with API call latency reaching 600 to 800 milliseconds during peak periods. These delays reduced transaction responsiveness and negatively affected user experience, where execution speed directly influences trading outcomes.
Without a more predictable and faster infrastructure, the company faced constraints in supporting higher transaction volumes and maintaining competitiveness in a crowded DeFi ecosystem. Performance variability also limited Jupiter’s ability to confidently expand its application ecosystem and support additional dApps that relied on its APIs. The team needed greater control over request handling, including the ability to differentiate access for free and paid users, prioritize routing, and improve request validation. “It was clear that through better command of our solution, we could focus more on improving the customer experience and delivering services to attract a growing DeFi user base,” says Zamiel Chia, software developer at Jupiter.
Solution | Deploying a scalable edge platform for DeFi workloads
To create a DEX with market-leading execution times, Jupiter worked with AWS to replace its legacy CDN solution. Working with an AWS Solutions Architect, the company designed a well-architected, secure, and scalable edge solution that met its requirements. “After we discussed our problems, AWS responded with specific architectural solutions rather than generic recommendations,” recalls Chia.
The company migrated to Amazon CloudFront to support secure, low-latency content delivery and high transfer speeds. To further reduce latency worldwide, Jupiter also deployed CloudFront Functions and Lambda Edge, a feature of Amazon CloudFront that processes requests at the AWS location closest to each user. To maintain consistent performance amid an evolving threat landscape, the organization implemented AWS WAF to filter and block unwanted requests along with AWS Shield for managed distributed denial of service (DDoS) protection.
With the guidance of AWS experts, Jupiter optimized the Amazon Elastic Compute Cloud (Amazon EC2) instances behind its CDN by switching to AWS Graviton Processors to improve price and performance. The company also implemented elastic scaling to handle varying transaction volumes and deployed workloads across multiple AWS regions to improve resilience.
Jupiter achieved its migration goals within the planned timeline. With support from the AWS team, the cutover resulted in less than 60 seconds of downtime during the transition. The project was completed within 3 weeks, allowing the company to finish work ahead of the legacy provider’s contract renewal deadline. “You’re always worried about the risk of major disruption with these types of projects,” says Chia, “but AWS helped us avoid any problems during the cutover. It was a complete success.”
Outcome | Supporting exchange growth with a 60% reduction in latency
With a more predictable and responsive edge architecture in place, Jupiter is supporting growth across its decentralized exchange. The company recorded a 20 percent increase in daily active users and a 10 percent expansion in transaction volumes, without any performance degradation. Infrastructure costs dropped by 18 percent, allowing Jupiter to direct more resources toward platform development. “With Amazon CloudFront, we’re seeing more consistent performance across regions, and feedback from our DeFi users has been positive so far. This gives us greater confidence as we scale our services to support growing demand,” states Chia.
Greater platform predictability and visibility have also changed how Jupiter operates day to day. The company reduced API call latency by 60 percent compared with its previous solution, achieving sub-second response times globally. With clearer insight into request flows and system behavior, Jupiter now identifies and resolves platform issues within hours instead of days. “With AWS, we can innovate more effectively and deliver experiences that keep Jupiter leading the DeFi space,” says Chia.
With Amazon CloudFront, we’re seeing more consistent performance across regions, and feedback from our DeFi users has been positive so far.
Zamiel Chia
Software Developer, JupiterAWS Services Used
Get Started
Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages