Haxl

A Haskell library that simplifies access to remote data, such as databases or web-based services.

  • 所有者: facebook/Haxl
  • 平台:
  • 許可證: BSD 3-Clause "New" or "Revised" License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Haxl Logo

Haxl

Build Status

Haxl is a Haskell library that simplifies access to remote data, such
as databases or web-based services. Haxl can automatically

  • batch multiple requests to the same data source,
  • request data from multiple data sources concurrently,
  • cache previous requests,
  • memoize computations.

Having all this handled for you behind the scenes means that your
data-fetching code can be much cleaner and clearer than it would
otherwise be if it had to worry about optimizing data-fetching. We'll
give some examples of how this works in the pages linked below.

There are two Haskell packages here:

To use Haxl in your own application, you will likely need to build one or more
data sources: the thin layer between Haxl and the data that you want
to fetch, be it a database, a web API, a cloud service, or whatever.

There is a generic datasource in "Haxl.DataSource.ConcurrentIO" that
can be used for performing arbitrary IO operations concurrently, given
a bit of boilerplate to define the IO operations you want to perform.

The haxl-facebook package shows how we might build a Haxl data
source based on the existing fb package for talking to the Facebook
Graph API.

Where to go next?

概覽

名稱與所有者facebook/Haxl
主編程語言Haskell
編程語言Haskell (語言數: 1)
平台
許可證BSD 3-Clause "New" or "Revised" License
發布數6
最新版本名稱2.1.2.0 (發布於 )
第一版名稱0.3.1.0 (發布於 )
創建於2014-04-02 20:10:58
推送於2023-11-01 21:17:41
最后一次提交
星數4.2k
關注者數196
派生數334
提交數308
已啟用問題?
問題數37
打開的問題數3
拉請求數16
打開的拉請求數5
關閉的拉請求數91
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部