Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

Service mesh: promise or peril?

Categories

Tags architecture-and-apis cloud-and-infrastructure

An article by Richard Li about service meshes such as Istio, Linkerd, and Cilium which are gaining increased visibility as companies adopt microservice architectures. Richard Li is the CEO/co-founder of Datawire, which builds open source tools for developers on Kubernetes.

The arguments for a service mesh are compelling: full-stack observability, transparent security, systems resilience, and more. ** Microservices aren’t free – they introduce new failure modes.**

The three core strategies for managing failure in a microservices architecture are proactive testing, mitigation, and rapid response.

If you have a small number of microservices or a shallow topology, consider delaying adoption of a service mesh, and evaluate alternative strategies for failure management.

If you are deploying a service mesh, be prepared to invest ongoing effort in integrating the mesh into your software development lifecycle.

This and more information about how to adopt service mesh or what to consider before adopting in the article. Excellent read!

[Read More]

Why did we choose Elixir for backend development of MoodleNet?

Categories

Tags backend-development frontend-and-mobile

Alex Castaño short technical post on their decision to use Elixir in production for their web site. MoodleNet empowers communities of educators to share and learn from each other to improve the quality of education.

They first did some research around languages for both frontend and backend development. After talking with people and reading a lot of information, they decided that they should use Elixir (Phoenix) for backend development.

The main points from the article boil to:

  • Performance, ability to handle massive amount of requests
  • Scalability, Erlang VM’s model of concurrency is great for multi-core CPU and scales easily to multiple machines
  • Developer productivity & happiness
  • Reliability, with almost no downtime, like having multiple levels of “supervising” processes in a system to reboot parts that have errors
  • Concurrency

… and much more information in the article. Please click, to lean more!

[Read More]

Deploying Clojure applications to Google Cloud

Categories

Tags software-engineering cloud-and-infrastructure miscellaneous

Guide by by Alexey Klochay, developer at CircleCI, focusing on continuously deploying Clojure apps to Google App Engine. At CircleCI they use Clojure heavily, but when he wanted to use it for his side projects he realized that cloud provider he was using required too much overhead for infrastructure.

He started looking at alternatives that would give him CD right out of the box with as little configuration as possible. While Heroku was a good option, he was looking for something a bit more flexible, and ideally affordable.

Tutorial walks you through these steps explaining how:

  • Set up a Google Cloud project and enable Google App Engine Flexible environment
  • Create a service account and enable GAE API access
  • Create the CircleCI project and add service account credentials
  • Edit the project name in the CircleCI config and push it
  • Gotchas

We found some interesting gotchas mentioned in the article worth mentioning: Java 8 doesn’t support cgroup-based memory limits which can lead to Docker killing the container if the memory usage surpasses the limit.

Find workaround and detailed information in this well written guide.

[Read More]

Google Cloud Functions for Go

Categories

Tags backend-development cloud-and-infrastructure architecture-and-apis

JBD from Google engineering team shared this guide and experiences how to migrate services to Google Cloud Functions (GFC)for golang.

The article provides reader with example of simple “hello world” to introduce the overall build and deploy experience with GFC. GCF expects an http.HandlerFunc to be the entry point.

In Go, we organize packages by responsibility. This also fits well with serverless design patterns – a function is representing one responsibility.

The article explains how:

  • How to create and package dependencies
  • How to organize the code
  • How to chain handler (to utilize existing middlewares)
  • How to (automatically) create traces for incoming HTTP requests

If you have external dependencies, you have to vendor them under the library package. This is possible by any vendoring tool. The dependency is vendored locally and function can be redeploy afterwards again.

Author recommends to create a new module for each function, provide function-specific other APIs from the same module. Common functionality lives in a separate module and vendored on the function package because GCF CLI uploads and deploys only one module at a time.

To learn more read that brief tutorial in whole!

[Read More]

Understanding the difference between grid-template and grid-auto

Categories

Tags frontend-and-mobile product-and-design miscellaneous

Post by Ire Aderinokun focusing on CSS Grid Layout and about difference between grid-template and grid-auto. Mainly about the difference between grid-template-rows/columns and grid-auto-rows/columns. At face value they seemed to be doing almost the same thing.

The definitions of explicit and implicit grids can be a bit circular.

In the article you will find examples how to work with explicit and implicit grids. And also good explanation how grid-auto works. Because the structure and syntax of the grid-template-* and grid-auto-* property names have some similarities, it can be easy to think the values they accept and therefore what they achieve, are similar as well.

To summarize, the grid-template-* properties are used to create, place, and size cells for the explicit grid.

Any cell that exists in the grid that is not explicitly created by this property forms part of the implicit grid, which can be sized by the grid-auto-* properties. Good read for any frontend developer.

[Read More]

Building minimal Docker containers for Python applications

Categories

Tags backend-development devops-and-ci-cd

Nick Joyce popular tutorial explaining how to keep Docker containers size to a minimum. The fewer bytes you have to shunt over the network or store on disk, the better. Keeping the size down generally means it is faster to build and deploy your container.

Each container should contain the application code, language-specific dependencies, OS dependencies and that’s it.

If you have tools like gcc inside a container that is deployed to production, then an attacker with shell access can easily build tools to access other internal systems.

These topics are explained in tutorial:

  • Different images for development and production
  • Layer caching
  • Cached dependencies
  • Multistage builds

The tutorial also explains that minimalism is important but too small can be harmful as well. You could build all containers from scratch, but that means you have to deal with low-level OS primitives like shell, cat, find, etc. Nice one!

[Read More]

Comparison between Angular and React and their core languages

Categories

Tags frontend-and-mobile architecture-and-apis

Dler Ari brings you an article, in which he will compare two of the most popular web technologies in 2018, and also address their history, key differences, core languages used (TypeScript and JavaScript) and so forth.

The goal of this article is not to find the best technology, but to compare, highlight, and clarify few misconceptions.

This article will help you to understand:

  • What are the key differences between Angular and React?
  • What makes TypeScript so special?
  • How popular are these technologies?
  • What is the current open-source status?
  • Which technology do companies use the most?
  • Do static typed languages influence code quality and development time?

The above is compared in great details, with comparison charts and resources to further reading.

The best recommendation I can offer is to setup a basic application both in Angular and React, and then evaluate the language and work flow before you make a decision. Good job!

[Read More]

Launching my first Flutter app

Categories

Tags product-and-design frontend-and-mobile

Dawid Kunicki article about working with Flutter and getting out first app written in it. Taken from Android developer perspective. Flutter is a new technology that is clearly gaining more and more popularity among mobile developers.

Flutter is an open source mobile app SDK made by Google. It’s used for creating native apps for both Android and iOS. The framework uses Dart as its programming language.

Flutter comes with some remarkable features, which are beneficial for companies as well as for mobile engineers.

Author then explains some Flutter advantages:

  • From business perspective
  • From developer’s point of view
  • Explains some Flutter tools

It also pays attention to Dart language. Dart is an object-oriented programming language of general purpose developed by Google. It is used in mobile application development, web development as well as on the server side.

It also explains why Flutter was excellent choice for developing Offhub app. Read to know more!

[Read More]

JVM Profiler: open source tool for tracing distributed JVM applications at scale

Categories

Tags software-engineering backend-development architecture-and-apis miscellaneous devops-and-ci-cd data-and-analytics

Bo Yang, Nan Zhu, Felix Cheung, Xu Ning from Uber Engineering team published blog post about JVM Profiles. Data is at the heart of strategic decision-making process at Uber. Right sizing the resources allocated to Spark applications and optimizing the operational efficiency of Uber data infrastructure requires fine-grained insights about these systems, namely their resource usage patterns.

The challenge they faced:

  • Existing tools could only monitor server-level metrics
  • Need to monitor large number of processes (e.g. thousands of executors) running across many servers
  • The profiler needs to be launched automatically with each process (unknown when these processes will launch and how long they will take)

To address these challenges, Uber built and open sourced JVM Profiler. There are some existing open source tools, like Etsy’s statsd-jvm-profiler, which could collect metrics at the individual application level, but they do not provide the capability to dynamically inject code into existing Java binary to collect metrics. Inspired by some of these tools, we built our profiler with even more capabilities, such as arbitrary Java method/argument profiling.

What does the JVM Profiler do?

  • A Java agent
  • Advanced profiling capabilities
  • Data analytics reporting:

JVM Profiler supports a variety of use cases, most notably making it possible to instrument arbitrary Java code. And it is easy to change via simple configuration change.

You will find more info in the article, together with explanation schemes on its architecture and guides for various use cases. Brilliant!

[Read More]

Fifty data structure and algorithms interview questions for programmers

Categories

Tags software-engineering leadership-and-career miscellaneous

Excellent list of curated interview questions for programmers by javinpaul. Many of programmers interviewing in large technology companies have no idea of what kind of programming interview questions to expect when you’re applying. In this article author shares frequently asked programming interview questions from different interviews for programmers at different levels of experience, from people who have just graduated from college to programmers with one to two years of experience.

Coding interviews are comprised mainly of data structure and algorithm-based questions as well as some of the logical questions such as, How do you swap two integers without using a temporary variable?

The questions are grouped into few categories, e.g.:

  • Array coding interview questions
  • Linked list programming interview questions
  • String coding interview questions
  • Binary tree coding interview questions
  • Miscellaneous coding interview questions

These common coding, data structure, and algorithm questions are the ones you need to know to successfully interview with any company, big or small, for any level of programming job. Nice!

[Read More]