All posts

What Confluence Jetty Actually Does and When to Use It

Picture this: a self‑hosted Confluence instance grinding under plugin sprawl, while Jetty hums quietly beneath it, handling every web request like an overworked traffic cop. Most admins never think about Jetty. They just know Confluence runs on it. But understanding how Confluence Jetty works—and how to tune it—can turn your Atlassian stack from sluggish to sharp. Confluence is Atlassian’s knowledge base engine, built on Java and thick with plugins. Jetty is the lightweight HTTP server embedded

Free White Paper

End-to-End Encryption + Sarbanes-Oxley (SOX) IT Controls: The Complete Guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free. No spam. Unsubscribe anytime.

Picture this: a self‑hosted Confluence instance grinding under plugin sprawl, while Jetty hums quietly beneath it, handling every web request like an overworked traffic cop. Most admins never think about Jetty. They just know Confluence runs on it. But understanding how Confluence Jetty works—and how to tune it—can turn your Atlassian stack from sluggish to sharp.

Confluence is Atlassian’s knowledge base engine, built on Java and thick with plugins. Jetty is the lightweight HTTP server embedded inside it. Together, they power the browser connections, API calls, and authentication flows you depend on. When properly configured, Jetty is fast, secure, and surprisingly flexible. When ignored, it can be the quiet cause of latency, memory leaks, and misbehaving threads.

The heart of the pairing is the request lifecycle. A client hits Confluence, Jetty proxies that request, maps it to a servlet, and manages persistent connections. Its thread pools, session stores, and TLS configurations decide how predictable your performance remains under load. Simple parameters like maxThreads and idleTimeout define whether that Monday‑morning scrum drags or flies.

For teams integrating single sign‑on or external identity through services like Okta or AWS IAM, Jetty sits between the browser and Confluence’s authentication filters. Correct proxy and header handling are critical here. Miss one X‑Forwarded header and SSO breaks in the ugliest way possible. Map your reverse proxy settings carefully and test with OIDC before production.

A common optimization pattern is to externalize Jetty’s configuration and automate restarts. Use separate logs for request and error output, rotate them aggressively, and monitor active threads. Jetty will reward that discipline with cleaner debug trails and lower resource spikes.

Continue reading? Get the full guide.

End-to-End Encryption + Sarbanes-Oxley (SOX) IT Controls: Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.

Featured snippet answer:
Confluence Jetty is the embedded web server that runs Confluence’s HTTP layer, handling requests, authentication, and SSL termination. Tuning Jetty improves Confluence performance, reliability, and security.

Key benefits engineers notice

  • Faster page loads under heavy user concurrency
  • Predictable performance by managing request threads
  • Lower risk of SSL misconfiguration with centralized Jetty settings
  • Cleaner incident response through structured logging
  • Easier compliance with SOC 2 or internal audit policies

When you automate these configurations through policy‑as‑code or workflow engines, life improves fast. Platforms like hoop.dev turn those access rules into guardrails that enforce identity and network policy automatically. Instead of chasing port conflicts or lost tokens, you get safe, reproducible control over who touches what.

Developers also appreciate the indirect win. Faster onboarding. No waiting for manual restarts. No guessing which property lives where. Jetty becomes a stable platform layer, not yet another source of surprise downtime.

As AI copilots start generating infra configs, this clarity matters more than ever. A model that knows where Jetty settings live can write and validate secure defaults automatically, reducing exposure and boosting consistency across environments.

In short, learn Jetty once, and Confluence keeps running smooth no matter how many teams or integrations you pile on. That’s a deal worth taking.

See an Environment Agnostic Identity-Aware Proxy in action with hoop.dev. Deploy it, connect your identity provider, and watch it protect your endpoints everywhere—live in minutes.

Get started

See hoop.dev in action

One gateway for every database, container, and AI agent. Deploy in minutes.

Get a demoMore posts