Open in app

Sign In

Write

Sign In

Larry | Peng Yang
Larry | Peng Yang

1.7K Followers

Home

About

Published in

Computer Science Fundamentals

·Pinned

System Design — Storage

Storage concepts and considerations in System Design — ❤️ Thank you for your interest in this article, if you like the content feel free to Subscribe, clap👏🏻 and share it.❤️ Table of Contents Disk — RAID and Volume File Storage, Block Storage, and Object Storage Hadoop Distributed File System (HDFS) Storage comparisons Choose the right datastore Storage options in the Cloud 1. Disk — RAID and Volume

System Design Interview

14 min read

System Design — Storage
System Design — Storage
System Design Interview

14 min read


Published in

Mastering Java

·Jun 18

Mastering Java Serializable Interface with Examples

When and how you should use it — Overview In Java, Serialization is the conversion of the state of an object into a byte stream; deserialization does the opposite. Stated differently, serialization is the conversion of a Java object into a static stream (sequence) of bytes, which we can then save to a database or transfer over a network. …

Java

12 min read

Mastering Java Serializable Interface with Examples
Mastering Java Serializable Interface with Examples
Java

12 min read


Published in

Computer Science Fundamentals

·Jun 10

Mastering Design Patterns with Examples — Iterator and Composite Patterns

Keep your collections well encapsulated — Overview In this chapter, we are going to walk you through two design patterns: Iterator and composite with which you’re going to see how you can allow your clients to iterate through your objects without ever getting a peek at how you store your objects. You’re also going to learn how…

Design Patterns

12 min read

Mastering Design Patterns with Examples — Iterator and Composite Patterns
Mastering Design Patterns with Examples — Iterator and Composite Patterns
Design Patterns

12 min read


Published in

Computer Science Fundamentals

·Jun 4

Mastering Design Patterns with Examples — Template Method Pattern

Encapsulating Algorithms — Overview We’re on an encapsulation roll; we’ve encapsulated object creation, method invocation, complex interfaces, ducks, pizzas…what could be next? We’re going to get down to encapsulating pieces of algorithms so that subclasses can hook themselves right into a computation anytime they want. In this chapter, we will talk about another behavioral…

Template Method Pattern

10 min read

Mastering Design Patterns with Examples — Template Method Pattern
Mastering Design Patterns with Examples — Template Method Pattern
Template Method Pattern

10 min read


Published in

Computer Science Fundamentals

·May 28

Mastering Design Patterns with Examples — Adapter and Facade Patterns

Being Adaptive and simplify interfaces — Overview Welcome to another post on the design pattern series! In this chapter, we’re going to attempt some features such as putting a square peg in a round hole. Sound impossible? Not when we have Design Patterns. Remember the Decorator Pattern? We wrapped objects to give them new responsibilities. Now we’re…

Adapter Pattern

11 min read

Mastering Design Patterns with Examples — Adapter and Facade Patterns
Mastering Design Patterns with Examples — Adapter and Facade Patterns
Adapter Pattern

11 min read


Published in

Computer Science Fundamentals

·Apr 18

Mastering Design Patterns with Examples — Command Pattern

Let’s encapsulate method invocation — Overview Welcome to another post on the design pattern series! In this chapter, we take encapsulation to a whole new level: we’re going to encapsulate method invocation. The Command Design Pattern is a powerful behavioral pattern that allows developers to encapsulate a request or action as an object, thereby promoting loose…

Design Patterns

9 min read

Mastering Design Patterns with Examples — Command Pattern
Mastering Design Patterns with Examples — Command Pattern
Design Patterns

9 min read


Published in

Computer Science Fundamentals

·Apr 7

Mastering Design Patterns with Examples — Singleton Pattern

It can easily go wrong than you might think of — Overview Singleton Pattern has the simplest structure among all the design patterns, but it isn’t easy to implement it correctly. The Singleton Pattern is a popular design pattern that ensures a class has only one instance and provides a global point of access to that instance. It is particularly useful when…

Design Patterns

10 min read

Mastering Design Patterns with Examples — Singleton Pattern
Mastering Design Patterns with Examples — Singleton Pattern
Design Patterns

10 min read


Published in

Computer Science Fundamentals

·Apr 1

Mastering Design Patterns with Examples — Factory Method and Abstract Factory Patterns

Creating objects with factories — Overview Welcome to the fourth chapter of this design patterns series. Let’s first review the design principles we have learned. Encapsulate what changes Program to interface, not implementation Favor composition over inheritance Loosely coupled designs between objects that interact Open/Closed principle In this post, we will be learning another two creational…

Design Patterns

13 min read

Mastering Design Patterns with Examples — Factory Method and Abstract Factory Patterns
Mastering Design Patterns with Examples — Factory Method and Abstract Factory Patterns
Design Patterns

13 min read


Published in

Computer Science Fundamentals

·Mar 30

Mastering Design Patterns with Examples — Decorator Pattern

Extension at runtime, rather than at compile time — Overview Let’s review the four OO design principles in the introduction and observer pattern chapters as they are the building blocks to support our design patterns. Encapsulate what changes Program to interface, not implementation Favor composition over inheritance Loosely coupled designs between objects that interact In this post, we will be…

Design Patterns

10 min read

Mastering Design Patterns with Examples — Decorator Pattern
Mastering Design Patterns with Examples — Decorator Pattern
Design Patterns

10 min read


Published in

Computer Science Fundamentals

·Mar 25

Mastering Design Patterns with Examples — Observer Pattern

Keeping your objects in the know — Overview In the first post of this design pattern series, we introduced three design principles and a design pattern (strategy pattern). In this post, we will learn the fourth design principle and another behavior design pattern — Observer Pattern. The Observer Pattern defines a one-to-many dependency between objects so that when…

Design Patterns

13 min read

Mastering Design Patterns with Examples — Observer Pattern
Mastering Design Patterns with Examples — Observer Pattern
Design Patterns

13 min read

Larry | Peng Yang

Larry | Peng Yang

1.7K Followers

Software Engineer in Tokyo. Aim to understand computer science very well. www.buymeacoffee.com/yangpeng. www.linkedin.com/in/yangpeng-tech.

Following
  • The Educative Team

    The Educative Team

  • javinpaul

    javinpaul

  • Fahim ul Haq

    Fahim ul Haq

  • McKinsey Digital

    McKinsey Digital

  • Ethan Yanjia Li

    Ethan Yanjia Li

See all (77)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams