The quest for simplicity Link to heading For some time now, I’ve been looking for a lightweight solution to handle periodic tasks on servers. These tasks range from backups and system maintenance to application-specific jobs. Here’s what I need: Run scripts periodically Monitor job status (working/failing, last execution time) Output Prometheus-compatible metrics for Grafana…
This article describes how to build a service that automatically creates thumbnails of uploaded pictures that can, for example, be used for a blog. To create our service we will use S3 - the AWS file storage service - to store the pictures and thumbnails, and AWS Lambda - the AWS serverless computing service - to create the thumbnails. When a user uploads a picture to the source S3 bucket, a…
With Reddit Hyped Stocks you can explore currently hyped stocks on certain subreddits. It shows a chart of the most hyped stock tickers on Reddit. Additionally, a detail view displays detailed information of a chosen company including the descriptions and selected key figures, which is queried live from Yahoo Finance. You can classify stocks as “buy” or “sell” to keep track…
The Project Loom is a project of the JDK team to implement virtual (“green”) threads on the Java platform. In the Java world the classic thread-per-request model is still very common. In this model, a separate thread is started on a web server for each incoming request to process the request. This “blocking” of the thread is done to pretend that an operation (e.g. reading a…
The cointegration trading strategy implemented in Java Link to heading I’ve recently wrapped up a personal project, a lightweight backtesting engine for stock trading strategies written in Java. I built it to explore certain algorithmic trading concepts. The primary motivation for this project was to explore a particular strategy: cointegration trading , often referred to as pairs trading.…
Doing asynchronous calls using React hooks is not straightforward. One has to know how correctly write a functional component and also comply to the Rules of hooks . In this post we discover various challenges doing asynchronous calls when using functional components. We then build our own custom hooks, one which triggers the asynchronous calls when the component is mounted and one that triggers…
I’m a passionate Software Engineer based in Vienna 🇦🇹. I work at Senacor , an IT consulting company, where I help clients build awesome software. My work involves developing backend systems (using Java, Kotlin, Python), building frontends (with React), often deployed on Kubernetes on AWS or Azure. I’m drawn to the challenge of creating efficient, robust and maintainable solutions. In…