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 ]

Developing a deeper understanding of Apache Kafka architecture

Categories

Tags architecture-and-apis data-and-analytics

Insidebigdata team wrote this article in which they provide 30,000 feet overview of Apache Kafka architecture. Kafka, the distributed streaming platform, features an architecture that provides application messaging that is very clear.

Kafka’s main architectural components include Producers, Topics, Consumers, Consumer Groups, Clusters, Brokers, Partitions, Replicas, Leaders, and Followers.

A fundamental explanation of Kafka’s inner workings goes as follows: Every topic is associated with one or more partitions, which are spread over one or more brokers.

It’s important to note the relationships between broker, replica, and partition components, such as:

  • Kafka clusters can have one or more brokers
  • Brokers can host multiple replicas
  • Topics can have one or more partitions
  • A broker can host zero or one replica per partition
  • A partition has one leader replica and zero or more follower replicas

You will discover more relations following the article. And authors also make use of UML diagrams to explain architecture in greater detail. Great read!

[Read More]

Agile architecture -- strategies for scaling agile development

Categories

Tags frontend-and-mobile leadership-and-career software-engineering

An article by Agilemodeling in which they focus on important aspect of architecture in agile scaling. Contrary to popular belief, architecture is an important aspect of agile software development efforts. An architecture is a critical part of scaling agile approaches to meet the real-world needs of modern organizations.

Architecture provides the foundation from which systems are built and an architectural model defines the vision on which your architecture is based.

The article then (in details) explains topics and issues related to agile scalability, e.g.:

  • How to gear up for agile architecture
  • Architecture throughout the lifecycle of Agile Model Driven Development (AMDD)
  • Who is responsible for architecture?
  • Have an “architecture owner” role
  • Agile architecture at scale
  • Base your architecture on requirements
  • Model your architecture
  • Consider several alternatives
  • Remember enterprise constraints

Much more could be learnt from this in depth article. If you are in the Agile business, this blog post is definitely worth your time!

[Read More]

Creating multiple authentication in Laravel 5.5 using middleware

Categories

Tags frontend-and-mobile software-engineering backend-development

An article by Cloudways in which they deal with different roles and permissions in typical web application. To verify the users, applications need to have an authentication module or functionality. Using Middleware, you can easily implement multiple authentication in Laravel. Middleware provides a convenient mechanism for filtering HTTP requests entering your application.

In this tutorial they use PHP 7.1, MySQL, Laravel 5.5. The author then explains:

  • How to create Laravel app
  • Use composer for dependencies installation
  • Configure the MySQL database
  • Set admin Middleware
  • How to run database migration
  • How to use built in Middleware admin

The tutorial contains plenty of code examples and it will help you to setup Multiple Authentication in Laravel projects. Good work.

[Read More]

Getting started with static site generator Vuepress

Categories

Tags frontend-and-mobile software-engineering devops-and-ci-cd

An article by Egwuenu Gift about static site generator tooling in Vue. Vue creator Evan You came up with this awesome tool for writing documentation for Vue. A VuePress site is, in fact, an Single Page Application powered by Vue, Vue Router, and webpack.

VuePress uses markdown. Each markdown file is compiled into HTML with markdown-it and then processed as the template of a Vue component. This allows you to directly use Vue inside your markdown files and is great when you need to embed dynamic content.

Some features:

  • Built-in Markdown extension
  • Default Theme
  • Automatic Service Worker
  • Google Analytics Integration
  • Multi-language Support

Article also deals with installation, setup and example code. Information how to host for free with Netlify is also included. Great read.

[Read More]

How to organize your thoughts on whiteboard and crush your technical interview

Categories

Tags software-engineering leadership-and-career

Doug Arcuri piece on organizational skills and the applied science of gluing lots of things together in the craft of software engineering. Author empathizes with those who experience technical interviews that are not classically trained.

At large and small technical companies, there are whiteboard technical interviews. You are asked a question and are invited to solve the problem.

Make sure to write down the problem in a complete sentence up top. This will get you feeling the marker and will help you overcome the initial hit of the rush of “How do I solve this?”

Author then suggest how you can compose yourself and organize temporary space on whiteboard in few steps:

  • Step 1: The problem, a complete sentence up top
  • Step 2: Assumptions
  • Step 3: The approach with rough pseudocode, steps, and visualizations
  • Step 4: Code implementation
  • Step 5: Test (bonus)

Remember, there is pride in improving on top of code by way of organization and structure. Good read, with images of whiteboards in various stages.

[Read More]

End-to-End web testing with TestCafe

Categories

Tags software-engineering testing-and-quality backend-development

Moataz Nabil wrote this article about faster end to end testing of web applications. TestCafe is a Node.js tool to automate end-to-end web testing. You can write tests in JS or TypeScript, run them and view results.

End-to-end testing is where you test your whole application from start to finish. It involves assuring that all the integrated pieces of an application function and work together as expected.

End-to-end tests simulate real user scenarios, essentially testing how a real user would use the application.

Here are some features this article explains:

  • What is TestCafe and why it does not use WebDriver
  • TestCafe works on all popular environment including mobile
  • Tests can be written in TypeScript or JavasScript
  • Supports parallel testing against multiple browsers
  • TestCafe and Jenkins ci tooling
  • IDE plugins and support

Good read with installation instructions, code and test examples!

[Read More]

How to build a mini supercomputer for under $100

Categories

Tags software-engineering cloud-and-infrastructure data-and-analytics leadership-and-career

An article by Daniel Oberhaus in which he offers a quick inside how Wei Lin built a scalable computing cluster comprised of $7 chips. Github user Wei Lin has demonstrated, it’s possible to make a home made computing cluster that doesn’t break the bank.

In most cases, a supercomputer is actually a computing cluster that is comprised of hundreds or thousands of individual computers that are all linked together and controlled by software.

In his solution Lin used ESP32 chips. A single Raspberry Pi costs around $30, an ESP32 only costs about $7 (manufactured in China).

The main challenge, according to Lin, was figuring out how to coordinate computing tasks across each of the chips. For this, they used a program called Celery that is optimized for synchronizing computing tasks across several cores.

For video and more resources read this brilliant article.

[Read More]

TensorFlow on Mobile: TensorFlow Lite introduction

Categories

Tags frontend-and-mobile data-and-analytics product-and-design

Sagar Sharma short introduction to TensorFlow on mobile. TensorFlow Lite is a lightweight and a next step from TensorFlow Mobile. You can do almost all the things that you do on TensorFlow mobile but much faster.

Just like TensorFlow Mobile it is focused on the mobile and embedded device developers, so that they can make next level applications on systems like Android, iOS, Raspberry PI etc.

What is included with TensorFlow Lite:

  • Android neural networks API and C++ API
  • New model file format .tflite
  • Speed: new neural network API makes computation much faster
  • Privacy: the data does not leave the device
  • Availability: it works offline
  • No computation cost: computation on your device, no server needed
  • Pre-tested models: models work out of the box

There are some caveats as well. You will need to pay attention to the size of your models. Models may take up multiple megabytes of space. Evaluating neural networks involve a lot of computation, which could increase battery power usage.

Links to further reading, resources and explanation charts also included in this article. Nice reading!

[Read More]

Parallel development is killing your productivity!

Categories

Tags software-engineering leadership-and-career

Mike Hall to the point article about similarity between content switching and parallel development. Parallel Development is working multiple projects or features at the same time. Parallel Development has, unfortunately, become commonplace in industry and accepted as the default standard way of organizing work.

We have more work than people. Thus, our people need to be good enough to work multiple projects and show good progress on all of them.

There are many disadvantages to Parallel Development including:

  • Delayed delivery of business value
  • High cost of context switching
  • Inefficient work model
  • Low employee morale

The good news is this: there is a better way! Serial Development is when the Agile team focuses on a single project and single feature at a time. Well written, to learn more follow the link below!

[Read More]

Minimum Viable Product (MVP) and design -- balancing risk to gain reward

Categories

Tags product-and-design frontend-and-mobile leadership-and-career

An article from Interaction Design Foundation on the merit of MVP. The idea of the minimum viable product (MVP) has been around for some time. But why is the concept of value vital to the MVP strategy?

The simplest definition is that an MVP must be the simplest core feature set of any product that allows it to be deployed and absolutely nothing more.

The term itself was coined by Frank Robinson but was made popular by two influential names in product design – Steve Blank, a serial-entrepreneur and academic, and Eric Ries, the pioneer of the Lean Startup movement.

An article then dives into what are the benefits of using an MVP process for design, e.g.:

  • You can test your understanding of whether the product is needed without having to use a huge amount of resources
  • You can accelerate the team’s learning
  • You can minimize the number of wasted hours
  • You can go to market faster

And much more. Nice visuals and graphs are also included to explain the subject better. Good read!

[Read More]