15,510

YAWNDB. Time Series Database Written in Erlang

I work at Selectel and a lot of our clients, who are leasing dedicated servers, require the information about traffic consumption. Cloud server users need statistics of hardware and network resources use. As for cloud storage users, they need downloads statistics. The simplest way to provide statistic data is plotting. There are plenty of software solutions for analyzing statistic data with further visualization. We have been looking for an appropriate tool with high performance as a basic requirement.
5,960

Erlang for the Little Ones. The Basic Syntax of Functions

Dear %username%, Let’s continue learning Erlang for the little ones. In the previous post we’ve reviewed the way of declaring functions and uniting them into modules. In this post we’ll consider the syntax of functions in details. The source code of all the examples in this post is here. Pattern Matching To begin with, let’s write a function that will greet a user and the welcome text will depend on user’s gender.
7,291

Introduction to Elixir

Who This Article Is For I would say that the article is mainly for people who already have an experience with some other programming languages, but they want to look around. Also, functional programming is a trending thing nowadays. So if you want to see what it actually is, welcome. If you are a complete beginner, it’s still may be useful, as it’s always good to know what’s going on around the world of IT.
6,525

Erlang for the Little Ones. Modules and Functions

Dear %username%, Let’s continue to learn Erlang. In the previous post we’ve reviewed the basic data types, lists and tuples. We also learnt how to use pattern matching and lists generator. In this post we’ll move on to the next level and review modules and functions. All functions in Erlang are defined in modules. Standard functions of the language, which we invoke as “global” (for instance, length, hd, tl), are actually inside of the module as well.
14,805

2048 in Erlang

This article is about a WebSocket server on Erlang rather than about the game itself. I’ll tell you a small prehistory. When I began playing 2048 I couldn’t stop. It was to the detriment of both my job and family. So I decided that a bot should play instead of me. But the problem was that it’s a user game, there’s no global rating and it’s not comfortable to play without a browser.
5,787

Erlang for Beginners. Data Types, Variables, Lists and Tuples

Dear %username%, It’s the first article of the series. For many of you it may seem terribly trite as I’ll review the very basis of the subject. But this tutorial is going to be really useful for Erlang beginners. I’ll also dwell on some interesting things that aren’t obvious. In order to begin your work with Erlang, execute the following in the terminal: $ sudo apt-get install erlang $ erl That will start the Erlang interpreter.
39,660

N2O: Erlang Web Framework

Introduction This post implies a good intro into N2O. In order to learn about Erlang/OTP Web Framework N2O main features you should visit the github page or the official SynRC website. You will find there all the charts and presentations which you like so much. In this article I will cover the principles of framework operation. Version under consideration: N2O: 1.1.0. It’s always more interesting to see the result than to talk about it.
1,804

Erlang/OTP 17.0 has been released on April 9

New data type — Maps Erlang/OTP has been ported to the real time operating system OSE Anonymous functions can have names Improved Unicode support And much more Erlang — is a general-purpose concurrent, garbage-collected programming language and runtime system. The release has a lot of new different features and changes. The first thing is that the versioning scheme has been changed.