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 of conversation about quality and simplicity of new code, your first steps are addressing bugs discovered by the regression testing suite? …
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:
https://github.com/kooba/nameko-examples-k8s/tree/master/k8s
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...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster. …
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.
If you’re new to Nameko I highly recommend that you to get familiar with its documentation, source code and sample application to get a feel for what it is and how you could use it in your system. …
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.
To accomplish our task we’ll be relying on Docker Compose and Docker Machine
We’ll be using Nginx as our front end web server and PostgreSQL as our database.
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 familiarity with it. …
About