All Projects → postgres-haskell → postgres-wire

postgres-haskell / postgres-wire

Licence: MIT license
A native Haskell driver for PostgreSQL

Programming Languages

haskell
3896 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to postgres-wire

edgedb-elixir
Elixir client for EdgeDB
Stars: ✭ 57 (-9.52%)
Mutual labels:  database-driver
Oracle.jl
Oracle Database driver for the Julia language.
Stars: ✭ 32 (-49.21%)
Mutual labels:  database-driver
Asyncpg
A fast PostgreSQL Database Client Library for Python/asyncio.
Stars: ✭ 5,216 (+8179.37%)
Mutual labels:  database-driver

License MIT Linux build

Postgres-wire

A native Haskell driver for PostgreSQL.

Postgres-wire is an efficient implementation of the PostgreSQL binary protocol designed specifically for the high performance and low latency.

Performance

Requests

Each test consisted of running queries that select 300 rows of 100 bytes each in a loop with 8 concurrent connections to the database server for 10 seconds. The benchmark results were obtained from Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 32 GB DDR4, PostgreSQL 9.5.5.

Features

  • No dependencies on C libraries such as libpq-dev.
  • Concise Haskell API.
  • First-class notifications support.
  • Sending multiple queries in a single batch.
  • Built-in prepared statement cache.
  • Fast serialization/deserialization.
  • In progress. Built-in TLS.
  • In progress. Encoders/decoders for built-in PostgreSQL types and advanced types: arrays, ranges, composites.

Documentation and examples

Will be available on Hackage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].