Archive of "Jeroen Gordijn"

Functional Programming in Scala with the Monoid

This blog will look at the Monoid and is the 3rd in a sequence of 5, as a result of our Coding Guild session on August 1st about functional programming concepts. In the session, TypeClasses, Semigroups, Monoids, Functors and Applicatives were covered. The Cats library has been used, but not extensively introduced. This time it…

Read More...

Kata bowling at Trivento

As a Tech company it is important to keep updating our knowledge. Therefore we organize a Coding Guild every month. In this Coding Guild we share knowledge and experiment on how we should write Software. Monday June 26 we took up a programming challenge or kata. The challenge was to implement the bowling score (highly…

Read More...

Trait Linearization in Scala

Trait what? Trait linearization is the process in Scala that kicks in when you mixin traits in your class. The subject might look intimidating at first, but the process is actually quite simple. I expect that you already know what traits are and what you can do with them. This blog will focus on the…

Read More...

Write a Custom Protocol for Gatling

Write a Custom Protocol for Gatling Gatling is a great open source load testing framework. Out of the box it has great support for HTTP. There is also support for JMS, JDBC and Redis, but I’ve never tried these. A lot of services which are written use HTTP as their external interface. Therefore HTTP support…

Read More...

AWS Lambda inside insight (part 3)

AWS Lambda part 3: Call Lambda via SDK Lambda Invocation without API Gateway During our previous blog post (http://www.trivento.io/aws-lambda-inside-insight-part-2/) in this series we saw strange response spikes during the invocation of our Lambda function. Our conclusion was that API Gateway caused those spikes. This week we’re invoking our Lambda function without AWS API Gateway to…

Read More...

AWS Lambda inside insight (part 2)

AWS Lambda part 2: API Gateway playing tricks? Last week we looked at how AWS Lambda behaves with one user at a frequent request rate (see first post). We figured that AWS Lambda will create a pool of running instances. When an event triggers a lambda function, AWS Lambda will look in the pool to…

Read More...

AWS Lambda inside insight

AWS Lambda inside insight Currently microservices are gaining a lot in popularity. But innovation will continue. So what will be the next big thing after microservices? With microservices you still have the burden to manage the application deployments and infrastructure to run them. At Trivento we’re constantly on the lookout to spot innovative technology that…

Read More...

QCon 2016 – London

Last week I went to QCon in London and it was a great conference. Every day had 7 tracks with each 5 talks and an open space session. The overall quality of the talks were great and you could really see that the speakers had deep knowledge of their subject. Even though there were about…

Read More...

Microservices – Service Discovery

When you are running microservices you are dealing with multiple services that somehow have to communicate with each other. A microservice can run anywhere in your landscape and doesn’t have a fixed IP address and port number. This seems complex. How do I know where my services are running and how can a service communicate…

Read More...

Akka Process Framework

Akka Process Framework Akka is a great framework when you want to write reactive applications. While writing applications with Akka I noticed that it was somewhat difficult to write processes flows. In this blog post I will show why it is not trivial to write a process with Akka and how the ProcessFramework (https://github.com/jgordijn/process) solves…

Read More...