Giving something back

Let's face it, we've all been there. Here we post the things we think it can help the community to have a deep understanding and to solve common problems.

Articles by Fabrizio Albertoni

AWS Architectures: E-Commerce Service

Posted by Fabrizio Albertoni

E-Commerce Website

1- Front-end

An e-commerce website can be hard to maintain, since it should have a large product catalog and a global customer base. That catalog should be searchable, and product pages should contain images, PDF files, customer reviews, etc. 

Customers want to find the products they are looking for quickly, and they expect the pages to load fast. The website must provide high availability since worldwide customers want to be able to make purchases at any time, at any place. These requirements are hard to achieve, and it becomes harder as the catalog and customer base grow ...

Read More

Machine Learning in Python

Posted by Fabrizio Albertoni

Machine Learning is the science of building mathematical models automatically from data (a training dataset), without being explicitly programmed, in order to make predictions on new data. This has a large and growing number of applications, from spam filtering and fraud detection to facial recognition and autonomous vehicles. Machine learning algorithms have existed for a long time, but the computational power available today to perform complex mathematical calculations over huge datasets makes them have much more practical applications than ever. Recommendation systems like Netflix’s and Amazon’s, or Google’s self driving car are some of the most successful cases of machine ...

Read More

Map/Filter/Reduce in Python

Posted by Fabrizio Albertoni

What is Map/Filter/Reduce?

Map/Filter/Reduce is a high-level design pattern that simplifies the implementation of functions that operate over sequences (any datatype that has an iterator) making use of functional programming. This paradigm enables the programmer to treat sequences as a unit, making it possible to get rid of the entire control flow (no need of for or if statements).

How to use it

There are three basic functional operators: Map, Filter and Reduce. We will look over them one at a time and then see how they work together.

Map

Map is a high-order function that ...

Read More

MapReduce and Hadoop

Posted by Fabrizio Albertoni

MapReduce

MapReduce is a programming model for processing and generating large datasets allowing massive scalability, inspired on the map and reduce primitives found in many functional programming languages. Basically, it refers to two separate tasks: the map job, which takes data and converts it into another set of data where each element is broken into key/value pairs, and the reduce job, which takes those pairs and combines them into a smaller set of data.

Programs that implement this paradigm can be automatically parallelized and executed on clusters of computers, since the input data can be partitioned. A system like ...

Read More

Back