Softwr

Databases · head to head

PgBouncer vs Trustly

PgBouncer logo

PgBouncer

Databases

Lightweight open-source connection pooler for PostgreSQL

From
Free
Free plan
Yes
Trustly logo

Trustly

APIs

Pay-by-bank payments network, majority-owned by private equity firm Nordic Capital

From
On request
Free plan
No

The short version

  • PgBouncer is an open-source connection pooler.
  • PgBouncer is free; Trustly prices on request.
  • Only PgBouncer lists session pooling; only Trustly lists pay by bank checkout.
  • Where PgBouncer falls short: works with PostgreSQL only; it cannot pool connections for other database engines.
  • Where Trustly falls short: the 1.15 to 3.15% merchant fee range is not a single published rate, so a merchant cannot know its actual cost without a sales negotiation.

How do PgBouncer and Trustly differ?

PgBouncer and Trustly differ on starting price (Free against On request), pricing model (Open-source against Quote) and free tier (Yes against No). Only the attributes on which PgBouncer and Trustly actually diverge.

Attributes where PgBouncer and Trustly differ
AttributePgBouncerTrustly
Starting priceFreeOn request
Pricing modelOpen-sourceQuote
Free tierYesNo
PlatformsLinux, macOS, WindowsWeb, API
CategoryDatabasesAPIs

Not yet recorded: founded for PgBouncer.

Which features does each one have?

They share no listed features; 9 appear only for PgBouncer and 6 only for Trustly. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in PgBouncer

  • Session pooling
  • Transaction pooling
  • Statement pooling
  • Low memory use per connection
  • Online reconfiguration of most settings
  • Online restart and upgrade without dropping clients
  • Backends on different hosts
  • TLS support via OpenSSL

Only in Trustly

  • Pay by bank checkout
  • Instant refunds
  • Verified payouts
  • Multi-market bank connectivity
  • Merchant dashboard and reconciliation
  • Fraud and risk tooling

What is each one used for?

PgBouncer is most often brought in for reducing open connections to a busy PostgreSQL server. The jobs each tool is most often brought in to do.

PgBouncer

  • Reducing open connections to a busy PostgreSQL servernot Trustly
  • Pooling connections from serverless or short-lived application processesnot Trustly
  • Fronting databases spread across several hostsnot Trustly
  • Rolling upgrades without dropping client connectionsnot Trustly

Trustly

  • An e-commerce merchant wanting a lower-cost alternative or complement to card payment acceptancenot PgBouncer
  • A gaming or gambling operator needing verified, instant payouts to players' bank accountsnot PgBouncer
  • A merchant wanting instant refunds processed directly to a customer's bank account rather than card reversal delaysnot PgBouncer
  • A business in a market with strong open banking adoption wanting pay-by-bank as a checkout optionnot PgBouncer

Where do PgBouncer and Trustly fall short?

PgBouncer's most cited limit: works with PostgreSQL only; it cannot pool connections for other database engines. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

PgBouncer

  • Works with PostgreSQL only; it cannot pool connections for other database engines
  • Transaction pooling disables session features such as LISTEN, SET/RESET and session-level advisory locks
  • Windows support is limited to MinGW builds; Cygwin and Visual toolchains are not supported
  • Configured through files and an admin console, with no built-in graphical interface
  • Does not provide failover, replication management or read-replica load balancing

Trustly

  • It is majority-owned by Nordic Capital, a private equity firm, so its long-term roadmap is ultimately oriented toward an eventual sale or IPO rather than indefinite independent operation
  • Consumer familiarity with paying by bank transfer still lags card payments in most markets, so merchants typically see it used as a secondary option rather than a full card replacement
  • The 1.15 to 3.15% merchant fee range is not a single published rate, so a merchant cannot know its actual cost without a sales negotiation
  • As with all open banking-dependent payment methods, reliability depends on the consistency of the underlying banks' own APIs, which Trustly does not control
  • Its verified payout functionality is heavily used in gaming and gambling, a sector with additional regulatory scrutiny, which is worth factoring in when evaluating vendor risk exposure by association

How much do PgBouncer and Trustly cost?

PgBouncer is free to use; Trustly is priced on request. Plan by plan below, from each vendor's own pricing page.

PgBouncer

Free

No published plan breakdown. See the PgBouncer review.

Trustly

On request
  • TrustlyOn request
    • Typical merchant cost of 1.15% to 3.15% depending on volume and market
    • Exact rate negotiated per merchant, not published as a flat card

Which should you pick?

Choose PgBouncer if

  • You need session pooling.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want transaction pooling.

Choose Trustly if

  • You need pay by bank checkout.
  • You work on Web, API.
  • You also want instant refunds.

Questions people ask

Is PgBouncer or Trustly better?
It depends on the job. PgBouncer fits reducing open connections to a busy PostgreSQL server; Trustly fits an e-commerce merchant wanting a lower-cost alternative or complement to card payment acceptance. PgBouncer starts at Free and Trustly at On request.
Which is cheaper, PgBouncer or Trustly?
PgBouncer has a free tier; the other does not. Paid plans start at Free for PgBouncer and On request for Trustly.
Does PgBouncer or Trustly run on more platforms?
PgBouncer runs on Linux, macOS, Windows. Trustly runs on Web, API.
Can I use PgBouncer for free?
Yes. PgBouncer has a free tier, so you can try it without paying. Trustly starts at On request.
What is PgBouncer best used for?
PgBouncer is most often used for reducing open connections to a busy postgresql server, pooling connections from serverless or short-lived application processes, fronting databases spread across several hosts, rolling upgrades without dropping client connections. Of those, reducing open connections to a busy postgresql server and pooling connections from serverless or short-lived application processes are not what Trustly is typically brought in for.
What can PgBouncer do that Trustly cannot?
PgBouncer covers Session pooling, Transaction pooling, Statement pooling, Low memory use per connection. Trustly covers Pay by bank checkout, Instant refunds, Verified payouts, Multi-market bank connectivity.

Answered from the vendors’ own pages

PgBouncer: What is PgBouncer used for?

PgBouncer is a lightweight connection pooler for PostgreSQL. It lets many client connections share fewer server connections, which lowers the load of holding many connections open.

Source
Trustly: Who owns Trustly?

Nordic Capital, a private equity firm, holds a 51.1% majority stake; Alfven & Didrikson and BlackRock hold smaller stakes.

PgBouncer: What pooling modes does PgBouncer support?

It supports session, transaction and statement pooling. Session pooling supports all PostgreSQL features, while transaction and statement pooling restrict some session-based features.

Source
Trustly: Is Trustly going public?

It has discussed an IPO but as of its most recent comments said one remained at least a year away.

PgBouncer: Does PgBouncer run on Windows?

The project's build instructions support Windows only through MinGW. It states that Cygwin and Visual toolchains are not supported, and that LDAP is not supported on Windows.

Source
Trustly: What does it typically cost a merchant?

Roughly 1.15% to 3.15% of transaction value depending on volume and market, negotiated per merchant.

PgBouncer: What do I need to build PgBouncer from source?

The README lists a C11-capable compiler, Libevent 2.0 or newer, pkg-config and, for TLS, OpenSSL 1.0.1 or newer. Optional components include c-ares, LDAP libraries and PAM libraries.

Source
Share

Related pages

Other head to heads