• Latest
  • Trending
Oxidizing Kraken, Part 2: from bet to backbone

Oxidizing Kraken, Part 2: from bet to backbone

December 17, 2025
Bitcoin Sub 50K Possible if Quantum Security Fix Not Deployed by 2028

Bitcoin Sub 50K Possible if Quantum Security Fix Not Deployed by 2028

December 17, 2025
Visa (V) Stock: Declined 0.51% as USDC Stablecoin Settlement Expands in the U.S.

Visa (V) Stock: Declined 0.51% as USDC Stablecoin Settlement Expands in the U.S.

December 17, 2025
Ripple CEO Celebrates Impressive XRP ETF Milestone

Ripple CEO Celebrates Impressive XRP ETF Milestone

December 17, 2025

Pyth Network: Your 2026 Crypto Oracle Goldmine

December 17, 2025
Dogecoin exits range that kept it propped up

Dogecoin exits range that kept it propped up

December 17, 2025
Wormhole Anchors Ripple’s Multichain Push as RLUSD Expands Beyond Single-Chain Limits

Wormhole Anchors Ripple’s Multichain Push as RLUSD Expands Beyond Single-Chain Limits

December 16, 2025
SUI price forecast as bulls risk bearish flip below $1.40

SUI price forecast as bulls risk bearish flip below $1.40

December 16, 2025
California Crypto Users Miss $110M as Coinbase Pushes to Restore Staking After 2023 Ban

California Crypto Users Miss $110M as Coinbase Pushes to Restore Staking After 2023 Ban

December 16, 2025
TechCrunch Boss Names XRP Among His Largest Crypto Positions

TechCrunch Boss Names XRP Among His Largest Crypto Positions

December 16, 2025
  • Privacy Policy
Wednesday, December 17, 2025
MtRushmoreCrypto - Where Crypto Rocks
  • Home
  • Top News
  • Crypto
  • Crypto Technical Analysis
  • About Us
  • Crypto Vouchers
  • Cryptocurrency and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction
No Result
View All Result
  • Home
  • Top News
  • Crypto
  • Crypto Technical Analysis
  • About Us
  • Crypto Vouchers
  • Cryptocurrency and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction
No Result
View All Result
Logo
No Result
View All Result
Home Crypto

Oxidizing Kraken, Part 2: from bet to backbone

J_News by J_News
December 17, 2025
in Crypto, Top News
0
Oxidizing Kraken, Part 2: from bet to backbone
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter


By Simon Chemouil, Senior Director of Engineering

Related articles

Bitcoin Sub 50K Possible if Quantum Security Fix Not Deployed by 2028

Bitcoin Sub 50K Possible if Quantum Security Fix Not Deployed by 2028

December 17, 2025
Visa (V) Stock: Declined 0.51% as USDC Stablecoin Settlement Expands in the U.S.

Visa (V) Stock: Declined 0.51% as USDC Stablecoin Settlement Expands in the U.S.

December 17, 2025

It’s time to tell how that early bet became the default way we build backend systems, what we learned about scaling people and software together, and how new AI tools are influencing how we build today.

Goals and outcomes

Large-scale rewrites rarely end well. They drift, they stall, and they often never finish because some last piece of legacy code holds everything together. Our story turned out differently. Despite constraints and a constant balancing act among new features, compliance, and technical remediation, we completed the effort.

The result isn’t perfect (Is a six-year-old codebase ever perfect?), but it’s a solid foundation that enables us to expand, delegate, and accelerate. We now have millions of lines of Rust across hundreds of services, and our engineering organization has grown well beyond 200 people. We achieved what we set out to do, and more.

We minimized the opportunity cost of the rewrite by growing the Rust stack opportunistically. As our PHP stack became harder to evolve, we shipped new features in Rust. This kept our time to market largely unchanged: the time invested in the rewrite was offset by the increasingly slow PHP product updates caused by technical debt.

The rewrite progressed through our product roadmap, not beside it. We did take detours to rebuild entire subsystems, but those were unavoidable and quickly paid for themselves once those paths ran on Rust.

Performing under pressure

Late 2020 and early 2021 were defining. The bull run pushed every system to its limits. We faced connection storms and blocking I/O saturating our PHP services. Because we had already invested in Rust foundations, we could respond quickly: migrating our REST APIs to async Rust based on Tokio.

That move unlocked reuse across layers and drastically simplified the stack. Together with improvements to our C++ trading engine, it helped make Kraken one of the most performant exchanges – not only at low-latency trading, but across every user-facing system. That snappiness is now part of our identity.

Architecture and design: team and system as one

A team and the software it builds are symbiotic, like a tree and its environment. Our legacy codebase contained years of tacit, tribal knowledge — intricate logic understood by only a handful of engineers. The rewrite gave us a chance to rediscover, document, and share that knowledge, transforming it from individual expertise into collective understanding.

This alignment around a coherent architectural vision brought consistency across the stack, making it far easier for engineers to navigate and contribute beyond their immediate domains. That level of cross-collaboration wasn’t feasible before, and while deep expertise still matters, it now exists within a shared, accessible framework. That foundation has become a cornerstone of our engineering culture.

To scale both teams and capacity, we decoupled monoliths and moved toward an event-driven architecture, powered by an in-house stream-processing framework for Kafka written in Rust. This design supports autonomy, composability, and observability — with clear boundaries and strong contracts.

Past the honeymoon

Six years in, we’re long past the honeymoon phase with Rust: it has become an afterthought. Day to day, we talk more about our Tokio-based ecosystem than the language itself: shared crates, testing frameworks, metrics, tracing, and service scaffolding. Rust is now the platform we stand on, not the topic of debate.

A pragmatic multi-language strategy

Rust is our primary backend language by a wide margin with several million lines across hundreds of core services, and hundreds of engineers working with it daily. But we don’t optimize for uniformity at all costs. We privilege velocity and autonomy. Different problems call for different tools, and teams retain the freedom to move fast — as long as they speak the same protocol.

That protocol is gRPC (Protobuf). We standardize internal service communication on gRPC, ensuring clean interoperability across Rust, C++, Go, Python, and TypeScript (Node.js). We define protobufs once, generate idiomatic clients and servers for every supported stack, and everything else — tracing, retries, deadlines, observability — follows automatically. This allows teams to interoperate seamlessly regardless of implementation language.

Our default stack is Rust – Tokio-based, with internal libraries for I/O, RPC, storage, and telemetry. We still rely on C++ for ultra-hot paths like our trading engine. Go, Python, and TypeScript each have their place when their ecosystems or ergonomics make more sense. The contract is gRPC; the SLOs, observability, and security posture are the same. This gives us autonomy without chaos: teams pick the right tool, but all services share the same contract.

Why Rust kept paying dividends

The ideas that drove our early adoption of Rust continue to prove themselves in production:

  • Reliability by construction: ownership and borrowing eliminate entire classes of memory and concurrency bugs before they ship
  • Fewer heisenbugs: those elusive defects that change behavior when observed rarely survive Rust’s compile-time checks.
  • Failure modes by design: explicit error semantics makes errors first class constructs, not an afterthought.
  • Reuse at scale: a shared runtime enables common crates for codecs, auth, metrics, and configuration, compounding leverage across teams.
  • Less toil, more velocity: as keeping-the-lights-on costs dropped, we reinvested that time into faster product delivery.

The journey wasn’t without detours. We sometimes had to pause and rebuild subsystems from scratch, and those moments carried real cost. We also encountered periods of dependency hell, caused by poorly defined internal boundaries and API surfaces that pulled implementation details into shared crates. Those challenges weren’t Rust-specific — they’re familiar to anyone scaling a fast-moving system — but they taught us to design clearer contracts and isolation boundaries.

Still, Rust brings a level of precision to business logic that remains invaluable. Years later, when we revisit code to trace an encoding or clarify a critical data path, that precision is a godsend. The intent of the code is explicit, and the invariants are enforced by the compiler itself. The payoff has been lasting: stability, clarity, and confidence across the stack.

Coding in Rust with AI assistants

AI coding assistants have become a practical part of our workflow. They understand and write Rust, help navigate large codebases, and explain idioms inline. Engineers use them in different ways — some as pair-programming companions, others through more structured, spec-driven approaches. However they’re used, they make coding faster and reduce friction in day-to-day development.

Rust’s design makes it particularly compatible with AI tools. Its strong type system, borrow checker, and compiler hints provide clear feedback that helps these assistants generate better, safer code. AI helps with scaffolding, tests, and exploration, while Rust ensures that what lands in the codebase is correct and maintainable. The combination improves productivity without compromising quality.

People and culture

Rust has been a magnet for engineers who value correctness, performance, and clarity. It attracts people who take ownership, think systematically, and care about building durable systems. With a consistent stack and shared idioms, we’ve built a culture where engineers collaborate across domains, review each other’s work effectively, and share responsibility for quality.

We hire for fundamentals, curiosity, and the drive to improve. Prior Rust experience helps but  isn’t required; what matters most is the ability to reason about systems, write secure and maintainable code, and deliver with integrity. AI tools make onboarding smoother and help new hires ramp up quickly, but great engineering still comes from rigor, collaboration, and care.

Our mission goes beyond building reliable infrastructure: Kraken exists to accelerate the global adoption of crypto so more people can achieve financial freedom and inclusion. You can read more in the Kraken Culture Explained page.

That mission shapes how we work and who we hire. As Krakenites, we default to transparency, directness, and radical ownership; we value integrity over titles, clarity over ceremony, and long-term thinking over shortcuts. We operate with trust and autonomy, bias for action, and an expectation that everyone brings both judgment and humility to the table.

On top of that culture, we build a broad and ambitious product ecosystem:

This environment rewards a shared mindset: precision, accountability, and pride in our work. Rust reinforces those values by demanding rigor, and our people carry them forward by building with purpose and trust. We’re always looking for engineers who share that mindset and want to grow with us.

The new default

What began as a technical refresh has become much more than that. Rust is now the foundation of how we build and think—quietly enabling performance, safety, and velocity while letting teams focus on product and impact. The platform we built together has become the backbone of our systems, but more importantly, the shared discipline and culture around it have become part of who we are as engineers.

We’ve proven that large-scale rewrites can succeed, that a pragmatic multi-language strategy can stay coherent, and that great teams keep evolving with their tools. The work continues – refining, scaling, and welcoming new engineers who share our curiosity and standards.

If you’re one of them, come build the next chapter with us.

Read the origin story: Oxidizing Kraken: Improving Kraken Infrastructure Using Rust.



Source link

ShareTweetShareShare

Related Posts

Bitcoin Sub 50K Possible if Quantum Security Fix Not Deployed by 2028

Bitcoin Sub 50K Possible if Quantum Security Fix Not Deployed by 2028

by J_News
December 17, 2025
0

Charles Edwards, the founder of quantitative Bitcoin and digital asset fund Capriole, warns that Bitcoin could head well under $50,000...

Visa (V) Stock: Declined 0.51% as USDC Stablecoin Settlement Expands in the U.S.

Visa (V) Stock: Declined 0.51% as USDC Stablecoin Settlement Expands in the U.S.

by J_News
December 17, 2025
0

TLDRs; Visa shares dipped modestly as investors weighed stablecoin expansion against unresolved merchant fee litigation risks. USDC settlement rollout signals...

Ripple CEO Celebrates Impressive XRP ETF Milestone

Ripple CEO Celebrates Impressive XRP ETF Milestone

by J_News
December 17, 2025
0

A cascade of listings The price paradox The collective group of XRP ETFs has recorded positive net inflows for 30 consecutive trading...

Pyth Network: Your 2026 Crypto Oracle Goldmine

by J_News
December 17, 2025
0

Imagine waking up to a world where your crypto investments thrive even as global markets tumble into recession. What if...

Dogecoin exits range that kept it propped up

Dogecoin exits range that kept it propped up

by J_News
December 17, 2025
0

Dogecoin lost a key technical level following the Federal Reserve’s latest rate decision, with heavy volume confirming a short-term shift...

Load More

Enter your email address:

Delivered by FeedBurner

Quick Navigate

  • Home
  • Crypto
  • Crypto Technical Analysis
  • Top News
  • Thank You
  • Store
  • Crypto Vouchers
  • About Us
  • What Cryptocurrency Is and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction

Top News

Top 10 NFTs to Watch in 2025 for High-Return Investments

Top 11 Platforms to Buy and Sell NFTs in 2025

Spot vs. Margin Trading in Crypto: Key Differences, Risks, and When to Use Each Strategy

© 2021 mtrushmorecrypto - Crypto Related News Blog

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
No Result
View All Result
  • Home
  • Top News
  • Crypto
  • Crypto Technical Analysis
  • About Us
  • Crypto Vouchers
  • Cryptocurrency and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction

© 2021 mtrushmorecrypto - Crypto Related News Blog