Even the simplest software can sometimes tangle up into spaghetti code and become a nightmare to navigate, especially in legacy systems. In this article, view some bad code from an application’s business layer and how to fix it with better design practices. Take care of nightmare code before it becomes too much to handle with these small improvements.
The usage of web scraping is actively increasing, especially among large e-commerce companies as a way to gather data in order to compete, analyze rivals, and research new products. Web scraping is a method of extracting information from websites. In this tutorial, learn how to create a Python-based scraper. Dive into the code and see how it works.
Did you know that your Java app can be integrated with any available SMTP server to send emails? This tutorial goes over how to send emails via your Java app, from setting it up, to building messages, to sending them with Gmail SMTP. Jakarta Mail (previously called Java Mail) can send and receive HTML emails, even with attachments and images.
When it comes to load balancing, round robin may not be the best algorithm to choose from. If auto-scaling is instrumented, it is even worse. In this article, see a simple example explaining why this is so, how the round robin algorithm works, and which load balancing algorithm you should potentially pick instead for even traffic distribution.
In this article, Kamesh Sampath shows us how to master the first steps on the journey towards a serverless application. He shows how to set up the right environment and takes us through its deployment.
This is part two of a tutorial series by Tomas Fernandez. By the end of this article, you will know how to introduce Kubernetes into CI/CD. Docker allows us to create easy-to-deploy, portable packages for our application. With Kubernetes, we can run those packages in the cloud, scaling them up and down to go along with fluctuating demands, and releasing updates with no downtime.
Mobile security has become more important than ever, especially as many employers adopt Bring Your Own Device for remote and in-house employees. What is TLS certificate pinning? Find out all about it and how to implement TLS pinning on Android and iOS apps and prevent man-in-the-middle (MiTM) attacks on mobile apps.
Coding is fun, especially when your “weapon of choice” is Python! There are, however, some common mistakes that keep you from having a fun time with Python. Here’s a quick tutorial to help you steer away from the most common mistakes.
How can you get started with Continuous Integration with Spring Boot? In this tutorial, learn how Continuous Integration and Delivery will help you test and prepare a Java app for Docker. This is part one of a tutorial series by Tomas Fernandez. By the end of this article, you will have set up your first CI/CD pipeline and know all about it!
Ram Lakshmanan discusses a curious production problem with an application running on multiple AWS EC2 instances behind Elastic Load Balancer. In this article, find out about the error message “TCP: out of memory — consider tuning tcp_mem”, how it was handled, and some concluding advice about memory problems and the ‘dmesg’ command.
Apache Cassandra is a database that offers high availability and massive scalability. In this tutorial, Scott Hendrickson, Cloud Architect Team Lead, at DataStax shows you how to get started using Apache Cassandra. Find out how to create a service for a video recommendation application as a starting point for learning more about how Apache Cassandra works.
In this article, Ram Lakshmanan goes over some commonly asked questions about the System.gc() API call. What is System.gc()? How do you detect whether System.gc() calls are made from your application? What are the downsides of invoking System.gc()? Find out all this and more.
Nick Lewis, Senior Software Engineer for Puppet teaches us how to deploy a TIG stack – that’s a stack with Telegraf, InfluxDB, and Grafana – using Bolt. Bolt is an automation tool that can run scripts in almost any language thanks to the plugins provided at the Puppet Forge. Let’s get stuck in!
Maven’s rich ecosystem of plugins can be used for automating all kinds of mundane, repetitive tasks. In this tutorial, you can learn how building and deployment of Docker containerized OSGi applications on Kubernetes can be automated.