Categories
Programming Software Architecture

What distinguishes MVC, MVP, MVVM, MVVM-C, and VIPER 5 architecture patterns from each other?

These architecture patterns are among the most commonly used in app development, whether on iOS or Android platforms. Developers have introduced them to overcome the limitations of earlier patterns. So, how do they differ? MVC, the oldest pattern, dates back almost 50 years Every pattern has a โ€œviewโ€ (V) responsible for displaying content and receiving [โ€ฆ]

Categories
Agile Development Programming Software Architecture

The 8 Levels of Code Review Pyramid : One Diagram to Remember for Code Reviews

An essential step in the software development lifecycle is code review. Code reviews are powerful means to improve code quality, establish best practices, opportunity to learn, and knowledge sharing and mentoring, as well as promotes team cohesion. What to look for in a code review? Try to look for things such as ๐—ฑ๐—ฒ๐˜€๐—ถ๐—ด๐—ป (does this [โ€ฆ]

Categories
Programming Software Architecture

How Git commands work?

Almost every software engineer has used Git before, but only a handful know how it works ๐Ÿ™‚ To begin with, itโ€™s essential to identify where our code is stored. The common assumption is that there are only two locations โ€“ one on a remote server like Github and the other on our local machine. However, [โ€ฆ]

Categories
IT Books Software Architecture

How to Scale your Application from ZERO to Millions users?

Designing an application to cater larger audience is an evolutionary journey. Letโ€™s start this voyage together. Weโ€™ll begin with a Single user system and gradually evolve to million users. Single Server setup Single server setup 1. User access website through Domain name (i.e. www.example.com) 2. DNS returns the IP address to the browser 3. Browser [โ€ฆ]

Categories
Programming Software Architecture

From 0 to Millions: A Guide to Scaling Your App

In this article, weโ€™ll discuss a typical architectural evolution of a website/app, and how/why we make technical choices at different stages to Scaling Your App from 0 to Millions. Do we build a monolithic application at the beginning? When do we add a cache? When do we add a full-text search engine? Why do we [โ€ฆ]

Categories
Software Architecture

What are the top 6 API architectural styles?

The diagram below shows the common API architectural styles in one picture. ๐Ÿ”น 1. REST Proposed in 2000, REST is the most used style. It is often used between front-end clients and back-end services. It is compliant with 6 architectural constraints. The payload format can be JSON, XML, HTML, or plain text. ๐Ÿ”น 2. GraphQL [โ€ฆ]

Categories
Software Architecture

What are the 6 common load-balancing algorithms?

6 Common load-balancing algorithms The diagram below shows 6 common load-balancing algorithms. Static Algorithms Round robin The client requests are sent to different service instances in sequential order. The services are usually required to be stateless. Sticky round-robin This is an improvement of the round-robin algorithm. If Aliceโ€™s first request goes to service A, the [โ€ฆ]

Categories
Agile Development DevOps/SRE Software Architecture

Azure for Architects

Check this free eBook, provided free by Microsoft! [eBook] Azure for Architects https://bit.ly/3E2xQOV Get expert guidance for cloud, serverless, and data analytics design Base your cloud solutions on strategy and architecture that meet the needs of your organization. In the Azure for Architects e-book from Packt Publishing, youโ€™ll find guidance for everything from understanding core [โ€ฆ]

Categories
Software Architecture

๐——๐—ถ๐—ณ๐—ณ๐—ฒ๐—ฟ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ฏ๐—ฒ๐˜๐˜„๐—ฒ๐—ฒ๐—ป ๐—ฎ๐—ป ๐—”๐—ฃ๐—œ ๐—š๐—ฎ๐˜๐—ฒ๐˜„๐—ฎ๐˜† ๐—ฎ๐—ป๐—ฑ ๐—ฎ ๐—Ÿ๐—ผ๐—ฎ๐—ฑ ๐—•๐—ฎ๐—น๐—ฎ๐—ป๐—ฐ๐—ฒ๐—ฟ

An API gateway is focused on ๐—ฟ๐—ผ๐˜‚๐˜๐—ถ๐—ป๐—ด requests to the appropriate microservice, while a load balancer is focused on ๐—ฑ๐—ถ๐˜€๐˜๐—ฟ๐—ถ๐—ฏ๐˜‚๐˜๐—ถ๐—ป๐—ด requests evenly across a group of backend servers. An API gateway and a load balancer are both types of infrastructure that can be used in a computer network to manage incoming requests and enhance the [โ€ฆ]

Categories
Software Architecture

System Design Interview: The step-by-step guide

Here is a simple but powerful, step-by-step framework we put together to help you crack system design interviews. The Framework: Step 1 โ€“ Understand the problem and establish the design scope Step 2 โ€“ Propose high-level design and get buy-in Step 3 โ€“ Design deep dive Step 4 โ€“ Wrap up In this 10 minutes [โ€ฆ]