Reloading the Krakend configuration with Reflex and Docker

A recurrent question when we go around is if KrakenD configuration can be hot-reloaded, this is changing endpoints, backends, or any other configuration of the gateway while it’s running. The short answer is: No, you can’t. You must restart the server. And although we might have something to alleviate this, let us explain first why we don’t support such a feature: Performance: This is the #1 reason, and strong enough.

KrakenD 0.5 summer release

KrakenD 0.5 is out and we want to share some of the cool stuff this release is bringing. This release focuses heavily on metrics and its export options to different backend systems such as Zipkin, InfluxDB, Prometheus or Jaeger. It also adds the NoOp logger and exposes all the advanced settings of the http client and server, giving all the power to the user. On the middlware side it extends even more the ecosystem with multiple components.

Running the KrakenD API Gateway on Kubernetes

In this article we are going to show how to configure and deploy the KrakenD API Gateway in a kubernetes environment. We will use for the demonstration Minikube so you cant test it in your own local machine. Let’s get started! Setting up a local Kubernetes We will run Kubernetes locally thanks to Minikube. Just follow the README in the project for the installation and the Quickstart section. Installing minikube it’s quick and easy.

Website development as a sysadmin

As a systems administrator for the past 15 years, I’m not very used to web development as this kind of work has been usually done by other colleagues in every company I’ve worked for. I wanted to create a web application myself using an external API, as an exercise to go out my comfort zone. Some time ago I found that Marvel Comics has a REST API where you can get a lot of information about comics, characters, authors and other interesting information.

Edge computing - A story of buses, raspberries, IoT and API gateways

The IoT industry has been running for some years now adding millions of devices into the network. The range of devices and capabilities is very wide and heterogeneous, from small devices powered with a 9-volt battery to track the location of freight shippings traveling the oceans (using platforms like Sigfox) to permanently plugged devices with more powerful computing like a Raspberry Pi where computation cycles are not a problem.

How to work with Golang plugins and KrakenD

The release of golang 1.8 more than a year ago opened the door to loading dynamic linked components in run time, and we were keen to find out if we could include this great feature in our KrakenD toolbox. We’d like to share our experience and details on how we enhanced our products to support golang plugins. Why would anyone use plugins in Go? The plugin concept is widely known and supported in several programming languages and environments.

Deploying and versioning an API Gateway

When it comes to maintaining and deploying an API Gateway within an organization, you should always be aware of best practice. A gateway is an extra step between the client and the servers with the power to define a whole new interface, yet it’s so flexible and easy to implement that you might be tempted to start creating API interfaces without thinking about it - and end up creating problems for the future.

KrakenD 0.4 release notes

KrakenD 0.4 materializes the announcement we did 3 months ago by going full open source and public releasing the former enterprise-only components. This release note comprehends both the KrakenD framework and the KrakenD Community Edition binary distribution. KrakenD framework The KrakenD framework, engine of the KrakenD API Gateway. The summary of changes introduced in the 0.4 are: Removed ALL external dependencies and placed to krakend-contrib repositories Decoder and Service Discovery register system Response metadata Response decoder and formatter exposed Custom status code handler Minor handler optimizations Config version upgraded Server configuration extended (with timeouts and limits) Now non strict REST urls are allowed Request and response manipulation optimized func version for all the interfaces Link to 0.

An API Gateway is not the new Unicorn

The more we talk to people about API gateways, the more we have come to realize that the term means different things to different people, and more specifically we see a growing trend where developers (but mostly managers) expect an API gateway to be able to perform miracles, usually a long way away from its intended use. It’s as if the API Gateway is the new unicorn that will solve all problems and make everything wonderful in the microservices scene.

Road to KrakenD 0.4

The next iteration of KrakenD is right around the corner and the Devops Faith team and the rest of the community we are working together to launch the 0.4 release before end of year. The jump from the 0.3.9 of the binary and the 0.3 of the framework to the 0.4 will bring a lot of interesting stuff but we also need to do a remarkable change in the code for a brighter future: kill external dependencies with fire.