Each developer spends a lot of time with his / her system. It is very important to have the system configured in the most intuitive manner for easing the daily tasks. In this post, I am going to showcase a setup I have done in my system for the development.
We extensively use ELK ( Elasticsearch, Logstash & Kibana ) for our logging requirements as well as for dashboards. One of the major constraints we have faced while using Kibana was the limitation of querying an index with the nested object array. Also, Kibana does not gracefully display the nested object data in the Discover tab. In this post, we are going to see how to manage nested object array and include the nested object fields in our queries.
Logging is an important aspect of a production application. They are a single source of truth when you require an issue to be debugged or an event to be traced once your application has gone into production. Logback is one of the logging utilities supported in spring based applications. It’s even better in spring boot as it supports different profiles and configurations based on the profile.
Spring boot is an awesome library that allows swift spring web application development and deployment. We heavily use start.spring.io for generating the skeleton project with a basic setup and then use the required dependencies. The primary focus of Spring boot is a hassle-free dependency management and autoconfiguration. But there are different other aspects that can be used in production for better functionality and control. We will see those configurations below.
I am a big fan of Nova Launcher and have been using it for quite some time. I am also a fan of Google Now which is very useful for getting the information that you care about at the right time. Unfortunately ( till now ), the only option to get the Google Now was to either open the Google app or configure a Swipe gesture on the Nova Gestures section. But that was missing the accessibility of Google Now launcher which had the option to access it by swiping to the left.
Now, Nova has introduced an option to have the Google Now configured on left swipe. But due to some restrictions on the usage of Google Now from Google, we need to have an apk from creators of Nova side loaded into the Android device ( no root required ).
I have started playing around with docker containers lately and was looking for a solution for container orchestration. I stumbled upon Kubernetes and started exploring it and I must say that it’s surely worth a try.
Kubernetes as per website is container orchestration at planet scale. The statement is so true when you understand that Kubernetes is derived from the same architecture used by Google for managing their containers ( which is a massive billion per week !!! )
We started dockerizing our applications ( since we have been breaking our monolith into microservices ) and have seen that docker is the best way to support a containerized and automated continuous integration with microservices.
In this post, I am going to show the details on how to have a spring boot application created as a docker container and run using docker.
Following are the points we are going to cover
I have already written different posts on ELK stack ( Elasticsearch, Logstash and Kibana), the super-heroic application log monitoring setup. If you are not familiar with them, please check my posts here. We were using SCP to copy files from the application server to the log server and the logs were then read by the Logstash component. As the application moved to microservices-based architecture, we started having more and more servers running small services and setting up the SCP from each server to ELK server became a pain.
Time for Filebeat
This is where Filebeat came to the rescue. To quote about Filebeat from the official website.
We have got our application running in the cloud and wanted to implement SSL ( https ) for the requests. We had previously thought it as an expensive affair as the certificate authority like verisign charges decent amount per year. That’s when we came across letsencrypt.org which is a opensource and free certificate authority sponsored by tech giants like cisco.
They provide easy and intuitive methods to generate free certificates for any number for websites and sub domains. In this post, I am going to explain implementing https for a site running tomcat 8.
I have been using ubuntu for the past 5 years and have done a lot of customization which helped me in organizing and optimizing the desktop and system for the time I spent on it. And this is how it looks now.
Recently I had written an answer in quora regarding the customization done by programmers to their system and received a lot of requests to share how I did my setup. So in this post , I am going give a step by step guide on how to customize the ubuntu desktop.