posts
-
Introducing Nebulex, a fast, flexible and powerful caching library for Elixir
Caching might be one of the most common and used techniques to improve performance, and in Elixir there are different options available; some of them very good options. However, most of them are focused on local caching, but let’s face it, we seldom deploy our systems in a single node, it’s not a common scenario, specially in the Elixir/Erlang...
-
Transparent and out-of-box sharding support for ETS tables in Erlang/Elixir.
This blog post is about how to scale-out ETS tables and be able to support high levels of concurrency without worrying about write-locks. Here is where Shards comes in. Shards is an Erlang/Elixir tool compatible with the ETS API, that implements Sharding support on top of ETS totally transparent and out-of-box.
Introduction
I’ll...
-
Simple, Distributed and Scalable PubSub in Erlang
This blog post is about how to build high scalable and distributed messaging-based applications using ErlBus, which is a lightweight and simple library to enable what we want here.
Since current release
0.2.0
(in progress), ErlBus was improved substantially. The current PubSub implementation was taken from the original, remarkable, and proven Phoenix PubSub Layer, but... -
ErlBus: Erlang Message Bus
IMPORTANT:: This blog post was written based on ErlBus 0.1.0. Now there is a new release in progress (
0.2.0
), with a totally different implementation and substantial improvements. To read more about it, you can go to this Blog Post or directly to the GitHub Repo.Messaging in Erlang is easy by default,...
-
Programming Languages and Multicore Crisis
For a couple of years ago we have witnessed the rise of programming languages different from conventional imperative paradigm (C/C++, Java, C#, PHP, etc..), such as Erlang, Elixir, Scala, etc. The question is why?
History
To explain why this phenomenon is happening and why it’s getting stronger, we have to refer to the history first....
inaka
-
Cowboy Trails
Today the most used web server and framework to build web-based applications in Erlang world is Cowboy, which is awesome, but it doesn’t mean that it cannot be improved to make it even better. Furthermore, because Cowboy is an Open Source project, it is pretty easy to extend it and here is where cowboy-trails comes in.
First,...
erlang
-
Testing Distributed Apps with Common Test
This post is about a very common scenario: how to test distributed applications in Erlang? Well, fortunately, Erlang has a remarkable testing framework: Common Test. With CT it is possible to achieve it, and the best part is that it’s extremely easy.
The best way to explain how to test a distributed app with CT is with as...
-
Cowboy Swagger
In a previous post about Swagger in Erlang, we had seen how to add a nice documentation to our RESTful APIs with Swagger, but following the long/tedious path:
- Download Swagger-UI and put it within your
priv/swagger
folder. - Add the new static contents to your Cowboy routes to be compiled.
- Then, create the
swagger.json
file (manually)...
- Download Swagger-UI and put it within your
-
Cowboy Trails
Today the most used web server and framework to build web-based applications in Erlang world is Cowboy, which is awesome, but it doesn’t mean that it cannot be improved to make it even better. Furthermore, because Cowboy is an Open Source project, it is pretty easy to extend it and here is where cowboy-trails comes in.
First,...
cowboy-trails
-
Cowboy Trails
Today the most used web server and framework to build web-based applications in Erlang world is Cowboy, which is awesome, but it doesn’t mean that it cannot be improved to make it even better. Furthermore, because Cowboy is an Open Source project, it is pretty easy to extend it and here is where cowboy-trails comes in.
First,...
cowboy
-
Cowboy Swagger
In a previous post about Swagger in Erlang, we had seen how to add a nice documentation to our RESTful APIs with Swagger, but following the long/tedious path:
- Download Swagger-UI and put it within your
priv/swagger
folder. - Add the new static contents to your Cowboy routes to be compiled.
- Then, create the
swagger.json
file (manually)...
- Download Swagger-UI and put it within your
rest
-
Cowboy Swagger
In a previous post about Swagger in Erlang, we had seen how to add a nice documentation to our RESTful APIs with Swagger, but following the long/tedious path:
- Download Swagger-UI and put it within your
priv/swagger
folder. - Add the new static contents to your Cowboy routes to be compiled.
- Then, create the
swagger.json
file (manually)...
- Download Swagger-UI and put it within your
documentation
-
Cowboy Swagger
In a previous post about Swagger in Erlang, we had seen how to add a nice documentation to our RESTful APIs with Swagger, but following the long/tedious path:
- Download Swagger-UI and put it within your
priv/swagger
folder. - Add the new static contents to your Cowboy routes to be compiled.
- Then, create the
swagger.json
file (manually)...
- Download Swagger-UI and put it within your
swagger
-
Cowboy Swagger
In a previous post about Swagger in Erlang, we had seen how to add a nice documentation to our RESTful APIs with Swagger, but following the long/tedious path:
- Download Swagger-UI and put it within your
priv/swagger
folder. - Add the new static contents to your Cowboy routes to be compiled.
- Then, create the
swagger.json
file (manually)...
- Download Swagger-UI and put it within your
cowboy-swagger
-
Cowboy Swagger
In a previous post about Swagger in Erlang, we had seen how to add a nice documentation to our RESTful APIs with Swagger, but following the long/tedious path:
- Download Swagger-UI and put it within your
priv/swagger
folder. - Add the new static contents to your Cowboy routes to be compiled.
- Then, create the
swagger.json
file (manually)...
- Download Swagger-UI and put it within your
common-test
-
Testing Distributed Apps with Common Test
This post is about a very common scenario: how to test distributed applications in Erlang? Well, fortunately, Erlang has a remarkable testing framework: Common Test. With CT it is possible to achieve it, and the best part is that it’s extremely easy.
The best way to explain how to test a distributed app with CT is with as...
distribued-apps
-
Testing Distributed Apps with Common Test
This post is about a very common scenario: how to test distributed applications in Erlang? Well, fortunately, Erlang has a remarkable testing framework: Common Test. With CT it is possible to achieve it, and the best part is that it’s extremely easy.
The best way to explain how to test a distributed app with CT is with as...