Can Kubernetes Deployment be fun and simple?

Short answer: YES (scroll to end to find out, or check out the sample repo). Long answer: Read along to find out! Kubernetes deployment seems pretty simple: all you need is just a bunch of YAML files, and by using kubectl (the Kubernetes command line utility) you’ll have your service up and running in your Kubernetes cluster. Although deploying one service is an easy task, how do you deploy hundreds of microservices? At Soluto, we have more than 100 live…

Read More

Keeping your Golang Docker image healthy

At Soluto we are working on an open-source project named Tweek. One of its components is a proxy server that we decided to implement in Go. In order to make the Docker  image of the proxy server lighter we built it from scratch. But, while building a container from scratch has its advantages, it also comes with a big setback. # Stage 1: Build executable FROM golang:1.9.2 as buildImage WORKDIR /go/src/github.com/Soluto/golang-docker-healthcheck COPY main.go . RUN CGO_ENABLED=0 go build -a -installsuffix cgo…

Read More

Lesson learned: Disabling weak TLS cipher suites without breaking up everything

Recently, I caused a pretty big production issue. It was bad. It all happened when I tried to harden our APIs – by disabling weak cipher suites in the TLS protocol. If you’re not sure what that means – or how it is done, stay tuned! In this post, I’ll explain what happened, why it’s important to harden your APIs, and how to do it properly. Mmm, something looks weird here… A few months ago, while investigating a bug in…

Read More

Applying microservices design patterns to scale react app development

Working with React and React Native for the past two years has been a great experience. It’s helped us overcome many issues with our hybrid app, improved the look and feel of the app, and generally had a very positive impact on our development experience. As great as these technologies are, having multiple teams working on the same app (a single, shared codebase) was still a difficult task and we were still dealing with some challenging issues: A team could…

Read More

GraphQL-to-MongoDB, or how I learned to stop worrying and love generated query APIs

In this post we’ll have a look at leveraging GraphQL types to expose MongoDB capabilities in NodeJs. We will also examine graphql-to-mongodb, the unobtrusive solution we came up with for our service, and its rationales. The advent of the GraphQL MongoDB stack Relative newcomer GraphQL and established MongoDB are two technologies that appear well suited to one another. MongoDB is a document-oriented DB with a flexible query language. GraphQL is a service API and a query language at the same…

Read More

Page 1 of 6

Powered by WordPress & Theme by Anders Norén