Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Overview
The Lura Project is an extensible, simple, stateless, high-performance API gateway framework that works in both cloud-native and on-prem environments. It started out as the core framework of KrakenD, was later donated to the Linux Foundation, and is now maintained as open source under the name Lura Project (a project of LF Projects, LLC). Its technical charter was approved on April 14, 2021, and it is governed by a Technical Steering Committee (TSC).
The Problem It Solves
In a microservices architecture, frontends and mobile apps often have to call several backend endpoints that were not designed specifically for the UI. As a result, clients have to handle complicated call logic and deal with very large responses. Lura is an API gateway builder and proxy generator that sits between the client and the various origin servers. It adds a layer of abstraction that moves this complexity away from the client and returns only the data the UI actually needs.
Key Features
- Multi-source aggregation: merge multiple backend endpoints into a single endpoint
- Response processing: group, wrap, transform and trim backend responses so that only the required fields are returned
- Middleware and plugins: extend functionality through a large number of middleware and plugins, for example to add OAuth authorization or other security layers
- Not limited to HTTP: Lura is a set of generic libraries, so besides HTTP(S) gateways it can be used to build other types of gateways and proxies, such as RPC gateways
- Stateless design: suited to horizontal scaling and cloud-native deployment
A Practical Example
Suppose a mobile home page needs to call 4 backend endpoints:
api.store.server/products
api.store.server/marketing-promos
api.users.server/users/{id_user}
api.users.server/shopping-cart/{id_user}
With Lura, the client only needs to request a single endpoint:
lura.server/frontpage/{id_user}
Lura merges the data from each backend and returns only the required fields. This reduces the number of network round trips and also shrinks the size of the response.
Target Users
- Backend and platform engineers who want to build their own custom API gateways or proxies
- Teams using a microservices architecture that need a BFF (Backend for Frontend) layer
- Developers who want to reduce the number of requests and the amount of data transferred by mobile apps or frontends
Getting and Using It
Lura is a framework delivered as a library, not a ready-to-use service out of the box. Developers include it in their own programs to build a gateway. The following official resources are available:
- Source code and releases: the luraproject/lura repository on GitHub (downloads are available on the Releases page)
- Documentation: https://luraproject.org/docs
If you want an out-of-the-box gateway product built on this framework, take a look at KrakenD.
Notable Characteristics
- Hosted by the Linux Foundation, with transparent community governance
- Modular, generic library design that makes it highly extensible
- Focused on aggregation and data trimming, making it especially well suited to BFF scenarios
Discover more
Aastro
Extensible API Gateway written in Go. Load custom plugins to extend functionality.
RapidForge
Lightweight, self hosted platform for building webhooks, scheduled tasks and pages. Implement your logic with Bash, Lua or mRuby
autokitteh
Durable workflow automation in just a few lines of code
Bencher
Suite of continuous benchmarking tools designed to catch performance regressions in CI.
Coder
Remote development machines on your own infrastructure.
Dify.ai
Build, test and deploy LLM applications.