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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部