Softwr

Databases · head to head

PgBouncer vs Token.io

PgBouncer logo

PgBouncer

Databases

Lightweight open-source connection pooler for PostgreSQL

From
Free
Free plan
Yes
Token.io logo

Token.io

APIs

Account to account pay by bank infrastructure across the UK and Europe

From
On request
Free plan
No

The short version

  • PgBouncer is an open-source connection pooler.
  • PgBouncer is free; Token.io prices on request.
  • Only PgBouncer lists session pooling; only Token.io lists payment initiation.
  • Where PgBouncer falls short: works with PostgreSQL only; it cannot pool connections for other database engines.

How do PgBouncer and Token.io differ?

PgBouncer and Token.io 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 Token.io actually diverge.

Attributes where PgBouncer and Token.io differ
AttributePgBouncerToken.io
Starting priceFreeOn request
Pricing modelOpen-sourceQuote
Free tierYesNo
PlatformsLinux, macOS, WindowsWeb, API
CategoryDatabasesAPIs

Which features does each one have?

They share no listed features; 9 appear only for PgBouncer and 8 only for Token.io. 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 Token.io

  • Payment initiation
  • Variable recurring payments
  • Bank network coverage
  • giroAPI membership
  • Payouts and refunds
  • Data and account information
  • Hosted payment pages
  • Reconciliation reporting

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 Token.io
  • Pooling connections from serverless or short-lived application processesnot Token.io
  • Fronting databases spread across several hostsnot Token.io
  • Rolling upgrades without dropping client connectionsnot Token.io

Token.io

  • A utility or telecom collecting high value bills where card interchange makes acceptance expensivenot PgBouncer
  • An investment or trading platform funding customer accounts without card chargeback exposurenot PgBouncer
  • A payment service provider adding pay by bank to its merchant proposition without building bank connectivitynot PgBouncer
  • A German merchant using giroAPI scheme access for recurring and future dated bank paymentsnot PgBouncer

Where do PgBouncer and Token.io 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

Token.io

  • Account to account payments carry no chargeback scheme, so merchants gain cost savings but consumers lose the dispute protection cards provide, which limits adoption in general retail
  • Conversion depends on each bank's own authentication journey, and slow or broken bank redirects cost sales in ways the merchant cannot fix or even always diagnose
  • Variable recurring payments beyond sweeping are still being rolled out unevenly across banks and markets, so a subscription use case may be supported at one bank and not another
  • Token.io initiates payments rather than acting as acquirer of record, so merchants still need settlement, safeguarding and reconciliation arrangements elsewhere
  • Coverage and feature parity vary by country, so a pan European rollout means different capabilities and different bank behaviour in each market rather than one uniform product

How much do PgBouncer and Token.io cost?

PgBouncer is free to use; Token.io 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.

Token.io

On request
  • Token.io platformOn request
    • Quoted per customer, typically per initiated payment
    • Volume tiers and monthly minimums are common
    • No interchange, so unit cost is usually well below card acceptance

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 Token.io if

  • You need payment initiation.
  • You work on Web, API.
  • You also want variable recurring payments.

Questions people ask

Is PgBouncer or Token.io better?
It depends on the job. PgBouncer fits reducing open connections to a busy PostgreSQL server; Token.io fits a utility or telecom collecting high value bills where card interchange makes acceptance expensive. PgBouncer starts at Free and Token.io at On request.
Which is cheaper, PgBouncer or Token.io?
PgBouncer has a free tier; the other does not. Paid plans start at Free for PgBouncer and On request for Token.io.
Does PgBouncer or Token.io run on more platforms?
PgBouncer runs on Linux, macOS, Windows. Token.io runs on Web, API.
Can I use PgBouncer for free?
Yes. PgBouncer has a free tier, so you can try it without paying. Token.io 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 Token.io is typically brought in for.
What can PgBouncer do that Token.io cannot?
PgBouncer covers Session pooling, Transaction pooling, Statement pooling, Low memory use per connection. Token.io covers Payment initiation, Variable recurring payments, Bank network coverage, giroAPI membership.

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
Token.io: Does pay by bank remove card fees?

It removes interchange and scheme fees, so unit cost is normally far below card acceptance, particularly on high value payments.

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
Token.io: What about chargebacks?

There are none. That is the cost saving and the consumer protection gap, which is why it suits bills, top ups and account funding more than retail.

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
Token.io: Is Token.io regulated?

Yes, it is an authorised third party provider under UK and European open banking rules, but it initiates payments rather than holding merchant funds as an acquirer.

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