Table inheritance is one of the most misunderstood — and powerful — features of PostgreSQL. With it, certain kinds of hard problems become easy. While many folks who have been bitten by table inheritance tend to avoid the feature, this blog post is intended to provide a framework for reasoning about when table inheritance is actually the right tool for the job.

Table inheritance is, to be sure, a power tool and thus something to use only when it brings an overall reduction in complexity to the design. Moreover, the current documentation doesn’t provide a lot of guidance regarding what the tool actually helps with and where are the performance costs and because inheritance sits orthogonal to relational design, working this out individually is very difficult.

Source de l’article sur DZONE

We got a few requests for some guidance on how to optimize the RavenDB insert rate. Our current benchmark is standing at 135,000 inserts/sec on a sustained basis on a machine that costs less than $1,000. However, some users tried to write their own benchmarks and got far less (about 50,000 writes/sec). Therefore, in this post, I’m going to do a bunch of things and see if I can make RavenDB write really fast.

I’m going to be writing this post as I’m building the benchmark and testing things out. So, you’ll get a stream of consciousness. Hopefully it will make sense.

Source de l’article sur DZONE

There’s no room for ‘gung-ho’ coding when quality and efficiency are your goals.

Writing code is like finding your path through a dark forest. Behind each tree can lurk a monster, a treasure, or a pit. Or there is no path at all. You don’t know until you look.

For me, this attitude encapsulates the essence of writing software empirically.

Source de l’article sur DZONE

In this article, I am going to talk about how to best implement filters over HTTP requests in Spring. That is, assuming we have a program listening in a URI, we can specify that we want to execute something before the requests are processed by the controller.

This is very useful if we want all the requests to meet a requirement, for example, that they must include a specific header.

Source de l’article sur DZONE

I’ve worked with Developer Relations for many years now, and I think it’s a fascinating topic with many takes on what it is and how to do it! I wanted to share my view on it here, and what I think it encompasses.

Last year I gave a presentation called "Have you tried listening?" at the DevRel Summit which I think outlines a number of the main DevRel concepts and areas, and examples from my personal experiences with them.

Source de l’article sur DZONE

Attention to detail matters, folks.

If you’re one of the more than ten million developers who downloaded the official Docker images for OpenJDK 8 and 11 from mid April until about a month ago, you’ll really want to make sure you get those updated stat

Due to innocent enough confusion over tagging protocols, Debian volunteers populated their repos with unreleased versions of the JDKs some weeks before the final versions were ready to go, but failed to clearly label them as such.

Source de l’article sur DZONE

Introduction

Creating an intuitive navigation UI is essential for any mobile app. Because we build custom software at SmartLogic, most of our mobile apps require different navigation setups, but they often have a lot in common. We use React Navigation which makes it easy for users to move across different screens. Built-in options allow us to quickly add UI features while also being fully customizable. In this post, I’ll walk through a basic React Navigation pattern we’ve used and the steps to get it up and running.

Below is an example of the architecture of common patterns we use. We have the main navigation for our app, different navigation stacks (more on this later), screens and a tab navigation setup as well.

Source de l’article sur DZONE

Over in the TechWell Hub, I was recently asked by a fellow community member, "Is there value in having traditional testers do security testing in addition to the testing taking place from our security group?" I thought it was a great question, and it deserves a more detailed response.

For many organizations, traditional software and testing groups are separated from the IT security group. The first is just concerned with functionality, while the latter cares only about security. In many cases this results in adversarial relationships, which almost always leads to some challenges for software development teams:

Source de l’article sur DZONE

One of the key innovations that changed how businesses function and operate is cloud computing. Modern IT is becoming more and more commoditized and enterprises are now looking at a hybrid IT model as a key enabler for driving their business to reduce costs, increase time-to-market, and become Agile and innovative. Many of the leading market analysts have already envisaged that hybrid architectures would become the default models in the coming years.

Every technology transformation also comes with the challenge to adopt. The rising popularity of hybrid IT come with the challenge of adapting to these environments, which are rather fragmented with multiple providers and various toolsets used for governance. The key factor are on how enterprises could scale their adoption and proactively manage business-critical IT services across multi-cloud federations without sacrificing for availability, compliance, and security.

Source de l’article sur DZONE

In the video below, we take a closer look at how to send or receive product objects to or from a queue using Spring, JMS, and RabbitMQ with annotations. So, let’s get started!

Check out the links below to download the code and PPT:

Source de l’article sur DZONE