npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@concile/fleet

v0.1.5

Published

Multi-node fleet mode for Concile: run several `concile serve` nodes against one Postgres database, with a lease-elected writer, read/sync nodes serving from embedded replicas, and sharded write scale-out.

Readme

@concile/fleet

Multi-node fleet mode for Concile: run several concile serve nodes against one Postgres database, with a lease-elected writer, read/sync nodes serving from embedded replicas, and sharded write scale-out.

License

Source-available under the Concile Commercial License (see the LICENSE file in this package). In the current phase it is free to use in production — no license key is required. It may not be copied, modified, or distributed as part of a product or service that competes with Concile, and it does not convert to an open-source license.

What it provides

  • Lease-based writer election with live failover. Nodes boot symmetrically; a Postgres lease decides which node is the writer. If the writer dies or wedges, a sync node acquires the expired lease and promotes itself — no manual intervention. The failover clock scales from a single lease-TTL knob (CONCILE_FLEET_LEASE_TTL_MS, default 15000 ms).
  • Sync/read nodes with embedded replicas. Non-writer nodes tail the commit log into a local SQLite replica and serve queries and reactive subscriptions from it, forwarding mutations to the current writer with read-your-own-writes catch-up.
  • Group commit. Batches concurrent commits into fewer Postgres flushes for higher write throughput (enabled via CONCILE_GROUP_COMMIT).
  • Sharded write scale-out. Writes are partitioned across per-shard leases (shard count from CONCILE_FLEET_SHARDS, persisted at first boot and immutable after), with a balancer distributing shard ownership across nodes and an offline reshard path (reshardFleet) for changing the count on a stopped deployment.
  • Fencing. A node that loses its lease fails closed (FencedError) rather than continuing to write.

Usage

Install alongside concile in the project you deploy:

bun add concile @concile/fleet

Fleet mode is activated per node by concile serve --fleet. The CLI has no static dependency on this package — when --fleet is passed it loads @concile/fleet via dynamic import at runtime and fails fast with an actionable message if the package is not installed.

Each fleet node needs a Postgres URL and the URL other nodes can reach it at:

concile serve --fleet \
  --database-url postgres://user:pass@db-host:5432/concile \
  --advertise-url http://this-node:3000

CONCILE_FLEET=1, CONCILE_DATABASE_URL, and env equivalents of the flags are also honored (flags win). Start additional nodes with the same --database-url and their own --advertise-url; roles (writer vs sync) are decided at boot and re-decided on failover.

Part of Concile — docs at https://concile-six.vercel.app/docs