{"repo":"Nike-Inc/hal","free":true,"listed":false,"github":"https://github.com/Nike-Inc/hal","clone":"git clone https://github.com/Nike-Inc/hal.git","description":"hal provides an AWS Lambda Custom Runtime environment for your Haskell applications.","language":"Haskell","stars":244,"topics":["haskell","haskell-library","aws","aws-lambda","aws-lambda-haskell","aws-lambda-runtime","library","bsd-license","nike"],"license":"BSD-3-Clause","category":"deployment-docker-iac","readme_excerpt":"hal A runtime environment for [Haskell] applications running on [AWS Lambda]. Flexible This library uniquely supports different types of AWS Lambda Handlers for your needs/comfort with advanced Haskell. Instead of exposing a single function that constructs a Lambda, this library exposes many. For lambdas that are pure and safe, then pureRuntime is ideal. It accepts a handler with the signature (FromJSON a, ToJSON b) = a - b . This runtime guarantees that side-effects cannot occur. For advanced use cases mRuntime unlocks the full power of Monad Transformers. It accepts handlers with the signature (MonadCatch m, MonadIO m, FromJSON event, ToJSON result) = (event - m result) This enables users to add caching logic or expose complex environments. With numerous options in between these two, developers can choose the right balance of flexibility vs simplicity. Performant Measuring lambda performance is tricky, so investigation and optimization is ongoing. Current indications show a warm execution overhead of only 20% more than the official [Rust Runtime] (a much lower level language). Robust While testing continues, we have executed over 30k test events without error caused by the runtime. Naive approaches lead to error rates well over 10%. Table of Contents - Supported Platforms / GHC Versions - Quick Start - Local Testing Supported Platforms / GHC Versions We currently support this library under the same environment that [AWS Lambda supports][lambda-env]. Our [CI] currently targe","default_branch":null,"files":null,"tree":[],"storefront":"/r/Nike-Inc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Nike-Inc/hal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}