Lila: The open-source chess server powering lichess.org

Repositorylichess-org/lilaTool

Lila is the open-source backend powering lichess.org, a free and adless online chess platform. Built on Scala 3, it handles real-time gameplay at scale using a fully asynchronous architecture.

Key points

  1. Complete core of lichess.org licensed under AGPL-3.0, including tournaments, puzzle training, forums, and analysis boards.
  2. Asynchronous backend built with Scala 3, a modified Play 2.8 framework, Pekko streams, and Scala Futures.
  3. Scalable infrastructure using a dedicated WebSocket server over Redis, MongoDB storing over 12 billion games, and Elasticsearch.
  4. Distributed Stockfish analysis running across a community-donated AI server cluster (fishnet).
  5. Frontend built with TypeScript, Snabbdom, and Sass, with translations covering over 140 languages.

Why it matters

Lichess is a prime example of running a high-traffic, real-time web platform as a non-profit open-source project. Its codebase showcases battle-tested functional programming with Scala handling massive concurrency.

Analysis

Lila is exceptionally mature, serving as the live production core for one of the largest chess servers in the world. Its architecture isolates pure chess logic into the scalachess submodule, delegates compute-heavy engine analysis to fishnet, and offloads WebSocket connections via a separate server. For software architects and backend developers, it serves as a robust real-world case study for resilient, asynchronous micro-services under heavy load.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:coollabsio/coolify

    Coolify: Open-source PaaS alternative for self-hosted cloud deployments

    Coolify is an open-source, self-hostable Platform-as-a-Service (PaaS) under the Apache 2.0 licence, designed as an alternative to Vercel, Heroku, and Netlify. It allows users to deploy web apps, static sites, databases, and over 280 one-click services onto their own servers via SSH.

    61.4kstarsPHP

    Web development· Tool

  • Repository:immich-app/immich

    Immich: Self-Hosted Photo and Video Management

    Immich is an open-source, self-hosted media management and backup platform designed as an alternative to commercial services like Google Photos. It is built using TypeScript, NestJS, SvelteKit, and Flutter for cross-platform mobile and web access.

    113.5kstarsTypeScript

    Web development· Tool

  • Repository:cloudflare/pingora

    Cloudflare Pingora: Async Rust Framework for Network Services and Proxies

    Pingora is an open-source Rust framework developed by Cloudflare to build programmable, reliable, and high-performance networked systems and HTTP proxies. Serving as a memory-safe alternative to traditional C/C++ solutions, it has handled over 40 million requests per second in Cloudflare's production environment for years.

    27.3kstarsRust

    Security· Tool

  • Repository:gr8rstudio/gr8r-studio

    Gr8r Studio: Framework-Free Project Management Workspace

    Gr8r Studio is a structured project management workspace built with plain JavaScript ES modules and CSS, bundled via Vite. It operates entirely without runtime UI frameworks.

    545starsJavaScript

    Web development· Tool

  • Repository:amirmushichge/tea-leaf-scroll-world

    Tea Leaf Scroll World: Scroll-Driven Experience on Vinext and OpenAI Sites

    The amirmushichge/tea-leaf-scroll-world repository is described as an immersive scroll-driven journey of a tea leaf from mountain mist to cup. Under the hood, it is built on Cloudflare's vinext-starter and configured for OpenAI ChatGPT site hosting with authentication support.

    244starsTypeScript

    Web development· Demo

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.