gRPC is a great tool for fast, cross platform RPC communication. With a support for many languages, it brings down barriers between disparate service implementations.
Nameko is a robust framework for building Python Microservices. Nameko-gRPC extension library has just landed and in this article I’d like to show you how easy you can utilise power of gRPC with Nameko.
TLDR: Dive straight into implementation of Nameko gRPC Examples here: https://github.com/nameko/nameko-examples-grpc
Traditionally to communicate with Nameko services you had an option of either using HTTP REST APIs or implementing Nameko’s own RPC over AMQP protocol. …
With the advent of Microservice architectures, limitless compute resources enabled by Kubernetes has to be utilised in the early stages of the development lifecycle to ensure continuous high velocity development.
TLDR: With large and complex Microservices deployments, running services locally is, at some point, not feasible. Automate creation of Preview Environments to allow Developers early and frequent experimentations. Tools like Brigade, Telepresence, Ksync (and many others) can help you get there easily. Dive straight into config repository for code examples. Keep your PRs green!
Have you ever been in a situation when you or your peers open PR and, instead…
In this article I’ll demonstrate how easy it is to run Nameko Microservices on Kubernetes Cluster.
We’ll be using local Minikube cluster hosted on VirtualBox along with community maintained Helm Charts to deploy 3rd party services. We will also create a set of custom Helm Charts for Nameko Example Services found in Nameko Examples repository.
Tested with Kubernetes v1.8.
GitHub repository for this article:
Please make sure these are installed and working
We’ll use basic Minikube command to create our k8s cluster:
$ minikube start --vm-driver=virtualboxStarting local Kubernetes v1.8.0 cluster...
Getting VM IP address...
We’ve finally released Nameko Example App. You can find here https://github.com/nameko/nameko-examples
It’s a basic demonstration of a common microservices pattern implemented with a help of Nameko framework.
This is what you can find in the repo:
Once you clone repository simply run
docker-compose up . This will pull pre-built images from public Docker Hub repository and you should be up and running.
In this solution you can find examples of:
Please send any questions about the example to Nameko mailing list https://groups.google.com/d/forum/nameko-dev
Happy microservicing! 😉
Sending messages between data centers in different regions is something most globally distributed systems have to do sooner or later. Since Nameko has a built-in support for AMQP messaging via RabbitMQ, this task is fairly straightforward to accomplish once federation between RabbitMQ clusters is configured.
What is Nameko? The headline of Nameko’s documentations says it all:
A microservices framework for Python that lets service developers concentrate on application logic and encourages testability.
In this tutorial I’ll be showing one way of moving Django CMS project to Docker Containers. As with anything Docker this can be accomplished in many different ways. For development I’m using Mac and project at the end will be hosted on DigitalOcean.
Repo with code for this article can be found here: https://github.com/kooba/django-cms-docker
Few assumptions are that you have a Python environment with Virtualenv configured and you have some degree of…