サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
夏の料理
www.codecentric.de
The Pipeline-as-Code pattern is implemented by most CI/CD platforms today. So what could be the next evolutionary step? Based on GitHub Actions, the article outlines why open-source Pipeline-as-Code Building Blocks will take your pipelines to the next level. GitHub Actions – blog seriesPart 1: GitHub Actions CI pipeline: GitHub Packages, Codecov, release to Maven Central & GitHub Part 2: Publishin
So you´re doing Infrastructure-as-Code? Sure. But have you ever heard of test-driven development (TDD)? It´s that dev team thing, right? Hell no! It should be equally important to infrastructure coding. Ansible & Molecule – blog seriesPart 1: Test-driven infrastructure development with Ansible & Molecule Part 2: Continuous Infrastructure with Ansible, Molecule & TravisCI Part 3: Continuous cloud i
In this article series, we show different machine and deep learning approaches on the use case of detecting diesel cars as well as environmental zone badges and type labels on the cars. This article gives an introduction and an overview of the article series. Automated detection of a environmental zone badge in flowing traffic. Important links related to this series (released week by week) >codece
It´s time to shed some light on the integration of Vue.js with the popular Java Enterprise framework Spring Boot! Both frameworks are shining stars in their respective domain – but how could they be set up together properly? What is a practical project structure and build process? How does the development work locally and how is the app deployed? Let´s elucidate these questions! Vue.js looks like
This is a quick tutorial on how to test code using the GoMock mocking library and the standard library testing package testing . GoMock is a mock framework for Go. It enjoys a somewhat official status as part of the github.com/golang organization, integrates well with the built-in testing package, and provides a flexible expectation API. The code snippets referenced in this post are available on
Spring Boot is a framework that follows the convention over configuration principle. Whenever a convention does not do the right thing for you, it is usually easily possible to configure the desired behavior. As I have discovered lately, there is currently no easy way to configure the parsing behavior for LocalDate instances used as query parameters. In this blog post I will present my findings as
The terms “object-functional” and “object-functional programming” are heard time and again in the context of software development. But what does the object-functional approach look like and what advantages does it have? Isn’t object-orientation or the functional approach good enough all by itself? And what does Scala have to do with all of this? Nontrivial software has to realize two types of beha
In the first part of this series we gave you a high-level overview of Akka – now we are going to take a deep dive into the realm of Akka actors as provided by the akka-actor module which lay the foundations for all other Akka modules. As we believe that one cannot learn coding without reading and/or writing code, we will develop a tiny actor-based library step by step: a publish-subscribe-based ev
Reindexing Elasticsearch could be so easy. Well in the first place, we all wouldn’t have to reindex at all. Why should you do this? There is dynamic mapping! In this post I will explain why dynamic mapping won’t do you much good, how you can deal with inevitable errors in your static mapping, what zero downtime reindexing is, and finally how you can deal with the drawbacks this approach has. Basic
Strings consume a lot of memory in any application. Especially the char[] containing the individual UTF-16 characters is contributing to most of the memory consumption of a JVM by each character eating up two bytes. It is not uncommon to find 30% of the memory consumed by Strings, because not only are Strings the best format to interact with humans, but also popular HTTP APIs use lots of Strings.
There have been posts about Ansible on this blog before, so this one will not go into Ansible basics again, but focus on ways to improve your use of variables, often, but not only used together with the template module, showing some of the more involved features its Jinja 2 -based implementation offers. The examples are mostly taken right out of our Ansible provisioning for CenterDevice, with only
You plan to index large amounts of data in Elasticsearch? Or you are already trying to do so but it turns out that throughput is too low? Here is a collection of tips and ideas to increase indexing throughput with Elasticsearch. Some of them I have successfully tried myself, others I have only read about and found them reasonable. In any case, I hope you will find them useful. In order to fit all
Elasticsearch offers a highly useful plugin mechanism as a standard way for extending its core. Plugins enable developers to add new functionality, e.g., a custom analyzer, or provide alternatives to existing functionality, like swapping in another transport module implementation. Additionally, plugins may contain static content which Elasticsearch then serves via its HTTP server. Of the latter ca
This is the first post in a series about transactions in Spring Batch, you find the second one here , it’s about restarting a batch, cursor based reading and listeners, and the third one here , it’s about skip and retry. Transactions are important in almost any application, but handling transactions in batch applications is something a little more tricky. In standard online applications you usuall
The last part of this series is about garbage collection logging and associated flags. The GC log is a highly important tool for revealing potential improvements to the heap and GC configuration or the object allocation pattern of the application. For each GC happening, the GC log provides exact data about its results and duration. -XX:+PrintGC The flag -XX:+PrintGC (or the alias -verbose:gc) acti
When I run the following Java program, which consumes all free memory with artificial data structures, something interesting happens. Something very similar happens to all real applications: https://gist.github.com/CodingFabian/8708393 [node04] ~ ➜ jdk1.7.0_51/bin/java -Xms31g -Xmx31g -Xmn50m Memory Total Memory (in bytes): 33279705088 Free Memory (in bytes): 33278908064 Max Memory (in bytes): 332
In my previous article , I introduced Docker as a lightweight alternative to hypervisor-based virtualization. The article described the basic usage of Docker. Today, we dig a bit deeper and cover advanced topics regarding Docker networking and how to connect containers with each other as well as the outside world. Finally, I show how to fully integrate containers in your real network. As an exampl
AgilitätAPIBig DataCI/CDCloudContainerDevOpsDigitalisierungIoTIT-SecurityKünstliche IntelligenzKubernetesMicroservicesProduktmanagement Rust in der Cloud: Performance-Vergleich mit TypeScript und Java in AWS...In diesem Artikel setzen wir Rust ein, um AWS-Lambda-Funktionen zu implementieren und vergleichen die Performance mit TypeScript (Node.js) und Java (JVM). Rust ist momentan in aller Munde un
Writing REST services with JAX-RS (and its reference implementation Jersey) is easy. A class annotated with @Path and some methods with @GET, @POST, … annotations is enough for a fully functional REST service. Real world applications however are more complex. There are request-filters for authorization and access control, context providers for injecting data-access-objects, mappers that convert ex
Some time ago I thought about developing a plugin for Jenkins . Inspired by the Performance plugin, I wanted to develop a plugin for AppDynamics , making use of the REST interface it provides. It would enable to execute performance tests in e.g. an acceptance environment, and fetch certain performance measurements via the AD REST interface by supplying the start and end time of the test. My advent
The upcoming release 2.4 of MongoDB will include a first, experimental support for full text search (FTS). This feature was requested early in the history of MongoDB as you can see from this JIRA ticket: SERVER-380 . FTS is first available with the developer release 2.3.2 . Full Text Search 101Before looking at how MongoDB implemented its initial full text search, we need to learn a little bit abo
I must admit, when looking at Spring 3.0’s feature list for the first time I didn’t see one thing I wanted to use right away in my next project. There was the Spring Expression Language, the stereotype annotation model, there was some Spring MVC stuff which I didn’t care about because I had nothing to do with Spring MVC back then, and there was Java based configuration. I saw potential in SpEL whi
Android platform is based on Java but is somehow different. It compiles into Dalvik rather than into Java byte code and runs in emulator which is enough to make some of your standard Java tools fail and become unusable. There was one specific problem I was interested in. I must say, there is number of articles describing how to build Android applications using Maven and CI environment but none of
When developing a site in JSF many people like to use the Richfaces Framework . It is a pretty solid framework that comes wit a lot of functionality and nice components. It also comes with an Ajax framework called Ajax4JSF (also called a4j). When deploying this site then facing the Internet to production, many people start finding out that their applications eat a lot of memory, leading to unrespo
When starting to automate acceptance tests that include a web UI, you probably will hit a wall quite quickly: how to verify a document that is available for download against some criteria? If you tried that one you know: doing file downloads automatically seems to be a mission impossible … or … is it really? Frequent weapon of choice for testing web UIs is Selenium. In the fight “Selenium vs. Down
このページを最初にブックマークしてみませんか?
『codecentric AG | Creating the digital future together.』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く