New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
S11 E17: Building Open-Source GraphQL Federation with Jens Neuse of WunderGraph
Sep 16, 2025 32:59 S11 E17

S11 E17: Building Open-Source GraphQL Federation with Jens Neuse of WunderGraph

0:00 / 32:59

About this episode

GraphQL federation, built open source: Jens Neuse of WunderGraph on combining many APIs behind one graph.

———

Jens Neuse grew up in Germany, originally planning to be a carpenter. In his 2nd year as an apprentice, he was in a motorcycle wreck that thrust him into a process of surgery and healing. Eventually, he decided he wouldn't be doing carpentry, and got into sysadmin work. Once he got bored with this, he moved into startups, learned how to code, and starting digging into programming, API's and eventually - GraphQL federation. Outside of tech, he is married with 3 young kids. He loves to sit ski on the mountain - which is the coolest carbon fiber chair on a ski, where you steer with your knees and hips.

After chasing building a better Apollo, Jens and his team ran into a point where their prior product and company was doomed to go under. When they accepted this fact, they started to think about what people actually wanted - and started to dig into the federation of GraphQL.

This is the creation story of Wundergraph.

Sponsors

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Jens Neuse from WunderGraph: https://www.codestory.co/episodes/s11-e17-the-api-sprawl-cure-moving-beyond-graphql-federation-to-composable-type-safe-api-gateways-for-the-agentic-era-with-jens-neuse-founder-of-wundergraph/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Featured Guest

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • Pivot From a Dead End: After about a year and a half and nearly going broke, the team saw Apollo move from open to closed source, killed its first product, and built Cosmo because people had asked for open-source Apollo Federation.
  • Boring Stack, Fast Start: The bare-bones MVP paired a Go router with a TypeScript CLI and backend, a Next.js studio and Keycloak auth. Postgres and GCP Autopilot reflect Jens's rule to build on proven, boring tech.
  • Plan Queries Before Traffic: Cosmo caches query plans and uses analytics to warm up routers before they get a new config. A deduplication algorithm using fragments also cut oversized subgraph queries by 99%.
  • Commitment Before Code: The first product drew 2K stars but little success. Jens now asks prospects to commit early, such as by arranging an NDA, and moves on if they won't make the effort.
  • Senior Talent, Ambitious Juniors: Two junior hires from India helped CTO Dustin ship and, about three years later, know the domain deeply. When hiring, Jens weighs attitude and care heavily, since skill gaps can close quickly.

Frequently Asked Questions

What is WunderGraph Cosmo and how does GraphQL federation work?

Cosmo is WunderGraph's fully open-source platform for GraphQL federation, also offered as a managed version. It splits one large API into services owned by different teams, and Jens Neuse said of API consumers, "They all think they talk to a monolith" [03:52].

Why did WunderGraph pivot to building Cosmo?

Jens Neuse said the company's first product wasn't working, and at a retreat in the Netherlands the numbers showed it was finished. Co-founder Stefan had notes from meetings, and Jens recalled, "a couple of people said, could you do Apollo Federation, but open source?" [07:32].

What tech stack did WunderGraph use to build the Cosmo MVP?

The first version had a router in Go, a CLI and backend in TypeScript, and a Next.js frontend, with Keycloak for auth, plus Postgres and GCP. Jens Neuse explained, "We try to use the most boring stack we can actually use." [10:19].

How does WunderGraph handle slow GraphQL query planning at scale?

Jens Neuse described a query planning cache plus a heuristics-based system that uses analytics to pick queries for warming up a router before it receives a new config. As he put it, "you never really plan a query, because we have planned it ahead of time." [20:40].

What is Jens Neuse's advice for technical founders?

Jens warns against hiding in code and adding features in the hope that success will eventually follow. He says that as a founder "your number one job is to talk to people, talk to customers" [26:23] and get them to commit to something.

Media List 5000, Podcasts, Fall 2026