postgres-wire/README.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

2017-01-28 03:42:20 +03:00
[![License MIT][badge-license]][license]
2017-02-18 19:18:02 +03:00
[![Linux build][badge-travis]][travis]
2017-01-02 01:42:09 +03:00
# Postgres-wire
2017-02-17 19:39:58 +03:00
A native Haskell driver for PostgreSQL.
2017-01-02 01:42:09 +03:00
2017-02-21 01:35:22 +03:00
Postgres-wire is an efficient implementation of the PostgreSQL binary protocol
designed specifically for the high performance and low latency.
## Performance ##
![Requests](.images/requests.png)
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.
2017-02-18 19:18:02 +03:00
## 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.
2017-02-21 01:35:22 +03:00
* In progress. Built-in TLS.
* In progress. Encoders/decoders for built-in PostgreSQL types and advanced types: arrays, ranges, composites.
2017-02-18 19:18:02 +03:00
2017-02-21 01:35:22 +03:00
## Documentation and examples
Will be available on Hackage.
2017-02-18 19:18:02 +03:00
2017-01-02 01:42:09 +03:00
2017-02-17 19:41:02 +03:00
[badge-travis]: https://img.shields.io/travis/postgres-haskell/postgres-wire.svg
[travis]: https://travis-ci.org/postgres-haskell/postgres-wire
[badge-license]: https://img.shields.io/badge/license-MIT-blue.svg?dummy
[license]: https://github.com/postgres-haskell/postgres-wire/blob/master/LICENSE