Red Hat OpenShift

Ruby logo
Article

Towards Faster Ruby Hash Tables

Vladimir Makarov

Hash tables are an important part of dynamic programming languages. They are widely used because of their flexibility, and their performance is important for the overall performance of numerous programs. Ruby is not an exception. In brief, Ruby hash tables provide the following API: insert an element with given key if it is not yet on the table or update the element value if it is on the table delete an element with given key from the table get the...

Red Hat OpenShift
Article

OpenShift for Developers: Set Up a Full Cluster in Under 30 Minutes

Grant Shipley

One of the common questions I get asked by developers is how they can use OpenShift locally for their own development. Luckily, we have a lot of different options and selecting one depends on the specific development environment that you prefer to work with. For example, if you prefer to have things working in a virtual machine without having to worry too much about the installation, the all-in-one or official CDK is probably what you are after. These two options...

GNU C library
Article

Memory Error Detection Using GCC

Martin Sebor

Introduction GCC has a rich set of features designed to help detect many kinds of programming errors. Of particular interest are those that corrupt the memory of a running program and, in some cases, makes it vulnerable to security threats. Since 2006, GCC has provided a solution to detect and prevent a subset of buffer overflows in C and C++ programs. Although it is based on compiler technology, it's best known under the name Fortify Source derived from the synonymous...

Red Hat Logo
Article

An Incremental Path to Microservices

Raffaele Spazzoli

As a consultant for Red Hat, I have the privilege of seeing many customers. Some of them are working to find ways to split their applications in smaller chunks to implement the microservices architecture. I’m sure this trend is generalized even outside my own group of the customers. There is undoubtedly hype around microservices. Some organizations are moving toward microservices because it’s a trend, rather than to achieve a clear and measurable objective. In the process, these organizations are missing...

Article Thumbnail
Article

Five-Day Sprint Process meets Raleigh Innovators Program - Part 1 of 5

Beverly Heustess

Hi, Red Hat Developers! I’m new to the Red Hat Developers blog and wanted to give you a quick introduction before diving into the Innovators Program and how you can use some of the theories and processes in your day to day. I’m a Red Hatter and I specialize in UX and knowledge management for internal support at Red Hat. Basically, I make sure Red Hat employees and the teams that support them get everything they need out of our...

Carnegie Mellon University
Article

October 2016 ISO C Meeting Report

Martin Sebor

Trip Report: October 2016 WG14 Meeting In October 2016, I attended the WG14 (C language committee) meeting in Pittsburgh, Pennsylvania. The meeting was hosted by the Computer Emergency Response Team ( CERT ) at the Software Engineering Institute ( SEI ) at Carnegie Mellon University ( CMU ). We had 25 representatives from 18 organizations in attendance, including CERT, Cisco, IBM, INRIA, Intel, LDRA, Oracle, Perennial, Plum Hall, Siemens, and the University of Cambridge. It was a productive four days...

Microservices Deployments Evolution
Article

Microservices Deployments Evolution

Bilgin Ibryam

Microservices Are Here, to Stay A few years back, most software systems had a monolithic architecture and slow release cycle. In the recent years, there is a clear move towards Microservices architecture, which is optimized for scalability, elasticity, failure, and speed of change. This trend has been further enforced by the adoption of cloud and containers, which also enabled practices such as DevOps. Trends in the IT Industry All these changes have resulted in a growing number of services to...

Article Thumbnail
Article

Spring Cloud for Microservices Compared to Kubernetes

Bilgin Ibryam

Spring Cloud and Kubernetes both claim to be the best environment for developing and running Microservices, but they are both very different in nature and address different concerns. In this article we will look at how each platform is helping in delivering Microservice based architectures (MSA), in which areas they are good at, and how to take best of both worlds in order to succeed in the Microservices journey. Background Story Recently I read a great article about building Microservice...

Article Thumbnail
Article

Red Hat adds .NET Core 1.1 to Red Hat Enterprise Linux and Red Hat OpenShift Container Platform

Mike Guerette

Today, we’re pleased to announce that .NET Core 1.1 is now available and supported on Red Hat Enterprise Linux and Red Hat OpenShift Container Platform. This second .NET Core release shows Red Hat’s continued commitment to opening up platform choices for enterprises seeking to use .NET in Linux environments, including container-centric operating systems. We’re also pleased to lead the way in the Linux world yet again with our support for .NET, as Red Hat Enterprise Linux is the only commercial...

RedHat Shadowman Logo
Article

Red Hat Summit, DevNation, and an Application Development call for papers

Mike Guerette

Red Hat Summit has always catered to multiple user roles and this year will be no different. What will be different in 2017 is an expanded focus on professional application developers much like DevNation has done in recent years. As such, we will not be hosting a separate DevNation event alongside Summit 2017. Instead, Summit will include more advanced Application Development sessions, CodeStarters, labs, birds of a feathers, a new "Developer Zone" in the expo area, and much more. What...

Article Thumbnail
Article

Improving User Experience using The Cloud - Reducing Response Sizes

Evan Shortiss

In part one of this series of blog posts, we discussed the importance of user experience within the mobile industry, and how your API has a significant effect on this. In the this article, we’ll outline a number of techniques that you can leverage on an MBaaS solution such as Red Hat Mobile Application Platform to reduce the data downloaded by mobile devices when they make requests to your RESTful API. Reducing the size of a response is conceptually simple...

Red Hat JBOSS BRMS
Article

Micro-rules on OpenShift: The CoolStore just became even cooler!

Duncan Doyle

One of our most popular Red Hat JBoss BRMS demo's, and one that has been available for quite some time, is the CoolStore demo . The CoolStore demo shows how business rules can be used to calculate values like promotional and shipping discounts in a shopping-cart. It furthermore illustrates concepts like ruleflow-groups and dynamic rule updates using KieScanner . Rules and micro-services: the JBoss BRMS Decision Server One of the more interesting features we've recently released in the Red Hat...

Microservices CI/CD Pipelines in Red Hat Openshift
Article

Microservices CI/CD Pipelines in Openshift

Rafael Benevides

One of the greatest advantages of using docker containers is the fact that you can move them between environments. A promotion from Development to a Production environment, shouldn’t take more than some few seconds. This is one aspect of “Continuous Delivery” Because Microservices Architectures are “independently replaceable and upgradeable”, they are the best scenario to show a “Deployment Pipeline” . Red Hat Developers has produced a sample and free application called “Red Hat Helloworlds MSA” that demonstrates different aspects of...

Article Thumbnail
Article

Using Visual Studio with Linux (Hint: Windows is still required)

Don Schenck

Running .NET on Linux, using the Red Hat Container Development Kit (CDK), means your Linux VM is running "headless" -- you don't have a desktop UI. You have a command line, and that's it. Note: If you aren't running .NET on Linux, hop over to the Red Hat Developer's web page and download the CDK to get started. Red Hat Enterprise Linux's built-in editor, VIM, which is launched by the command vi , is not a full-featured development environment. Not...

Article Thumbnail
Article

Provisioning Vagrant boxes using Ansible

Saurabh Badhwar

Ansible serves as a great tool for those system administrators who are trying to automate the task of system administration. From automating the task of configuration management to provisioning and managing containers for application deployments, Ansible makes it easy. In this article, we will see how we can use Ansible to provision Vagrant boxes. So, what exactly is a Vagrant box? In simple terms, we can think of a vagrant box as a virtual machine prepackaged with the development tools...

Article Thumbnail
Article

What’s new with the Red Hat Developer Program?

Heinz Windzio

The Red Hat Developer Program was introduced to make it easier for any developer to create quality software. The program began with great developer tools and content provided through our developers.redhat.com website, which allows developers to download and use our enterprise products for development purposes through a free membership. This enables you to develop, prototype, test, and demo your software on the enterprise products that can be trusted to run the most demanding of enterprise production environments. Here are the...

Article Thumbnail
Article

The Hardest Part About Microservices: Your Data

Christian Posta

https://www.youtube.com/watch?v=MrV0DqTqpFU The challenge of data with microservices Of the reasons we attempt a microservices architecture , chief among them is allowing your teams to be able to work on different parts of the system at different speeds with minimal impact across teams. So we want teams to be autonomous, capable of making decisions about how to best implement and operate their services, and free to make changes as quickly as the business may desire. If we have our teams organized...

Article Thumbnail
Article

Keeping track of my subscriptions using the Red Hat Content Delivery Network API

John Herr

In a previous post, where-have-all-my-subscriptions-gone , I mentioned that you can access the Red Hat Content Delivery Network (CDN) using its API --- allowing you to query CDN for subscriptions and their usage, registered hosts, and more as well as unregistering hosts, and more. I wanted to do some analysis for my own subscription usage, so I wrote some scripts that let me more easily tell where my subscriptions are being used. Since Python scripting is still fairly new to...

Article Thumbnail
Article

A week of hacking the Java Language Server

Gorkem Ercan

As you may recall, Red Hat recently announced support for a common language server protocol . Furthermore, we demoed our initial implementation for a Java language server during the DevNation keynote . I posted an earlier blog covering these topics, and I would like to do an update in this post on the progress we've made since DevNation. While preparing for DevNation, we had the idea that it would be a good feature boost if the engineering teams from Red...

Article Thumbnail
Article

From Fragile to Antifragile Software

Bilgin Ibryam

One of my favourite books is Antifragile by Nassim Taleb where the author talks about things that gain from disorder. Nacim introduces the concept of antifragility which is similar to hormesis in biology or creative destruction in economics and analyses it charecteristics in great details. If you find this topic interesting, there are also other authors who have examined the same phenomenon in different industries such as Gary Hamel , C. S. Holling , Jan Husdal . The concept of...

Article Thumbnail
Article

Red Hat at the ISO C++ Standards Meeting (June 2016, Oulu): Library

Jonathan Wakely

The recent WG21 meeting in Oulu, Finland, was an especially busy one for the Library Working Group. Every day was spent working through the list of proposals intended for inclusion in C++17, and we also had three "evening" sessions that ran well past the evening (until nearly midnight, although the sun was still up to trick us into working late). This post describes what I think are the most important library features that were reviewed and approved for inclusion in...

GNU C library
Article

Red Hat at the ISO C++ Standards Meeting (June 2016, Oulu): Core Language

Jason Merrill

It was quite a trek to get to Oulu, Finland for the June 2016 C++ Standards Committee meeting, but we were warmly received and the meeting went well once we arrived. We had very pleasant weather most of the week, and it was fun to experience the midnight sun, even though it played havoc with my sleep schedule. The main order of business at this meeting was to vote on a first Committee Draft (CD) of the (expected) C++17 standard...

Article Thumbnail
Article

A Mongo Shell Cheat Sheet

Cian Clarke

There’s a whole host of GUI tools to connect to MongoDB databases and browse, however despite a steeper learning curve, I’ve always found myself more productive using a command line interface (CLI). Then, there’s that moment when something has gone wrong on the database server, and we need to SSH 4-levels deep in order to debug a problem with a database. Sometimes, there’s no other option available, and this makes familiarity with the CLI invaluable. I learn best by example...

Article Thumbnail
Article

Carving the Java EE Monolith Into Microservices: Prefer Verticals Not Layers

Christian Posta

Following my introduction blog about why microservices should be event-driven , I’d like to take another few steps and blog about it. (Hopefully I saw you at jBCNconf and Red Hat Summit in San Francisco , where I spoke about some of these topics). Follow me on twitter @christianposta for updates on this project. In this article we discuss the first parts of carving up a monolith. The monolith I’m exploring in depth for these articles will be from the...

Article Thumbnail
Article

DevNation Live Blog: CDK 2.0: Docker, Kubernetes, and OSE on your desk

Brian Atkisson

As a systems engineer, I enjoy building deploying production and pre-production services. These production services tend to be built at scale in a highly redundant architecture. The problem has always been how do we give developers a sandbox that matches production in all the ways that matters-- but without the pain (and love), overhead, compute and networks resources actual production environments require. Moreover, how does one snapshot this environment so it can be recreated at will. This has been a...