MonkeyVault
  • Home
Razvan Draghici

Razvan Draghici

16 posts •
Cryptography in Elixir using Rustler
rust

Cryptography in Elixir using Rustler

I recently started learning Rust and I didn't wait long to try writing a NIF library for Elixir. My toy project block_keys is using a C NIF for the libsecp256k1 library used

  • Razvan Draghici
    Razvan Draghici
4 min read
Distributed consensus with Raft
elixir

Distributed consensus with Raft

When working with distributed systems so many of the problems we're trying to solve boil down to managing state across multiple nodes. Whether it's replicating databases, mirroring message queues or achieving consensus in

  • Razvan Draghici
    Razvan Draghici
8 min read

Kubernetes WAF

Motivation I'm not going to attempt to properly define what a Web Application Firewall (WAF) is. I will just say this: unlike a traditional firewall that filters/routes ports & TCP packets, a

  • Razvan Draghici
    Razvan Draghici
9 min read

Rails on Kubernetes - Part 3

Overview This is Part 3 of the Rails on Kubernetes series. Part 1: Rails and Docker Compose Part 2: Kubernetes Part 3: Deployments, Rolling updates and Scaling Code If you don't want to

  • Razvan Draghici
    Razvan Draghici
5 min read

Rails on Kubernetes - Part 2

Overview This is Part 2 of the Rails on Kubernetes series. Part 1: Rails and Docker Compose Part 2: Kubernetes Part 3: Deployments, Rolling updates and Scaling Updates 2017-11-13: Updated all docker images

  • Razvan Draghici
    Razvan Draghici
8 min read

Rails on Kubernetes - Part 1

Overview This is a lengthy topic that is split into multiple parts: Part 1: Rails and Docker Compose Part 2: Kubernetes Part 3: Deployments, Rolling updates and Scaling Updates 2019-09-29: Upgrade gems, few

  • Razvan Draghici
    Razvan Draghici
7 min read

Wordpress and Varnish on Kubernetes Step by Step

Overview My goal with this post is to explore Kubernetes' Ingress Controller and Ingress resources. The best way to do that is to deploy a real application: a Wordpress site with a Varnish

  • Razvan Draghici
    Razvan Draghici
7 min read

Mocking Stripe with Rspec

Motivation There are a many ways to deal with testing integrations. In the past I have used VCR with great success, specially when external responses are complex JSON or XML structures. In my

  • Razvan Draghici
    Razvan Draghici
2 min read

React - starting from scratch with Webpack, Babel and ESLint

Contents Introduction Webpack Webpack-dev-server Styles ES6/ES7 React ESLint Source Maps Production Build What is this about About a month ago, I decided to learn React and begun reading Getting started articles on

  • Razvan Draghici
    Razvan Draghici
10 min read

Getting started with Kubernetes

I recently started playing with Kubernetes and deployed a simple Express app as practice. You can follow along after you have installed minikube for your OS. You can then follow along this tutorial

  • Razvan Draghici
    Razvan Draghici
2 min read

Docker Ruby Images

In this article I will explore Docker more hands-on and describe various features of Docker using a few Ruby images as examples. You can read my previous article for an intro to Docker

  • Razvan Draghici
    Razvan Draghici
5 min read

Docker vs Virtualization

The motivation behind this post is to answer a simple question: What's the difference between Docker and classic Virtualization techniques? I set out to research this topic in depth and I will share

  • Razvan Draghici
    Razvan Draghici
5 min read
coreos

CoreOS Test Drive

Vagrant setup If you follow the CoreOS documentation and try to get a Vagrant cluster up and running - the etcd cluster is not created by default. After cloning the Vagrant CoreOS repo,

  • Razvan Draghici
    Razvan Draghici
1 min read
nginx

Configuring Nginx and Unicorn

I first heard about Unicorn in an interview with 37Signal's server admin Mark Imbriaco and it made me really curious. There are a few great resources explaining how Unicorn works and a neat

  • Razvan Draghici
    Razvan Draghici
3 min read
haproxy

Setting up a High Availability Ruby on Rails environment with keepalived, nginx, HA Proxy and Thin on Debian Lenny

Contents Configure Keepalived and Nginx Configure HA Proxy Configure Thin Overview Nginx and HA Proxy have similar functions: they can both be used as reverse proxies and load balancers. In our case Nginx

  • Razvan Draghici
    Razvan Draghici
6 min read
javascript

Building your own Lightbox with Javascript

Why write your own lightbox? The simple answer is: to learn how it's done. If you're going to use if for an image gallery, embed flash and videos or even to load Ajax

  • Razvan Draghici
    Razvan Draghici
4 min read
MonkeyVault © 2021
Latest Posts Ghost