Skip to main content

You are currently viewing the Trifork Blog, to view our full website please go to Trifork.com

Exposing asynchronous communication through a synchronous REST API with Spring 5

Exposing asynchronous communication through a synchronous REST API with Spring 5

On my current project, we opted not to use REST for the communication between our services. Instead we make use of AxonIQ’s AxonHub, which acts as a specialized message broker. Messages can be of three types: Command – You want to change something Event – You want to inform others of something that happened Query […]

Refactoring from Elasticsearch version 1 with Java Transport client to version 6 with High Level REST client

Every long running project accrues technical debt. It may be that the requirements today have evolved in a different direction from what was foreseen when the project was designed, or it may be that difficult infrastructure tasks have been put off in favor of new functionality. From time to time, you need to refactor your […]

Deep Learning for Natural Language Processing – Part II

Deep Learning for Natural Language Processing – Part II

Author – Wilder Rodrigues Wilder continues his series about NLP.  This time he would like to bring you to the Deep Learning realm, exploring Deep Neural Networks for sentiment analysis. If you are already familiar with those types of network and know why certain choices are made, you can skip the first section and go […]

Deep Learning for Natural Language Processing – Part I

Deep Learning for Natural Language Processing – Part I

Author – Wilder Rodrigues Nowadays, the task of natural language processing has been made easy with the advancements in neural networks. In the past 30 years, after the last AI Winter, amongst the many papers have been published, some have been in the area of NLP, focusing on a distributed word to vector representations. The […]

Using Axon with PostgreSQL without TOAST

The client I work for at this time is leveraging Axon 3. The events are stored in a PostgreSQL database. PostgreSQL uses a thing called TOAST (The Oversized-Attribute Storage Technique) to store large values. From the PostgreSQL documentation: “PostgreSQL uses a fixed page size (commonly 8 kB), and does not allow tuples to span multiple […]

Smart energy consumption insights with Elasticsearch and Machine Learning

Smart energy consumption insights with Elasticsearch and Machine Learning

At home we have a Youless device which can be used to measure energy consumption. You have to mount it to your energy meter so it can monitor energy consumption. The device then provides energy consumption data via a RESTful api. We can use this api to index energy consumption data into Elasticsearch every minute […]