Skip to product information
Practical knowledge that junior backend developers must know
Practical knowledge that junior backend developers must know
Description
Book Introduction
How to effectively solve various problems frequently encountered in practice

In a service environment, it actually happens that the server stops because the connection is not closed, the delay in the external API causes a full failure, and a small configuration mistake affects all users.
"Practical Knowledge Every Junior Backend Developer Needs" is a practical guide that helps junior backend developers understand and solve problems they frequently encounter in the field.
Even a service that appears to be running well can face a crisis at any time as it grows in size and has more users.
This book systematically explains why these problems occur and how to respond by examining key issues encountered during service operation, such as performance degradation, DB connection errors, asynchronous linkage problems, concurrency control, infrastructure operation, and security vulnerabilities.
This book will help you reduce confusion and trial and error in practice and develop the ability to prevent or resolve various problems that may arise during service operation.
  • You can preview some of the book's contents.
    Preview

index
Chapter 1 Introduction

I just got to be able to code

Chapter 2: Slow Service: Where to Start

Throughput and response time
Basics of Improving Server Performance

Chapter 3: DB design and queries that affect performance

DB is key to performance
Index design considering query traffic
Some ways to improve query performance
A few things to keep in mind
Considering Failures and Transactions

Chapter 4: Things to Consider When External Links Are a Problem

We have no problem
Timeout
Retry
Concurrent request limit
circuit breaker
External linkage and DB linkage
HTTP connection pool
Dualization of linked services

Chapter 5: Asynchronous Interoperability: When and How to Use It

Synchronous and asynchronous linkage
Run in a separate thread
Messaging
Transaction Outbox Pattern
Batch transfer
CDC(Change Data Capture)

Chapter 6: Concurrency: Catch Data Before It Gets Tangled

Running concurrently with the server
Examples of problems caused by incorrect data sharing
Concurrent access control at the process level
Concurrency with DB
Precautions when using locks
Processing with a single thread

Chapter 7: IO Bottlenecks, How to Solve Them

Network IO and Resource Efficiency
Improving resource efficiency with virtual threads
Boost performance with non-blocking IO
When and which method to choose

Chapter 8: Security Knowledge Essential for Practice

Important security
Authentication and Authorization
Data encryption
Data verification using HMAC
Allow only necessary traffic through the firewall
Leave an audit log
Reduce data exposure
Abnormal access handling
Secure coding
Personal Security

Chapter 9: Minimum Server Knowledge You Should Know

Developers and Servers
OS accounts and permissions
Check the process
background processes
Disk space management
File descriptor limit
Match the timing
Scheduling with cron
Registering an alias
Check network information

Chapter 10: Network Basics You'll Be Frustrated If You Don't Know Them

If you don't know the basics of networking
Node, Network, Router
IP address and domain
NAT
VPN
Protocols and TCP, UDP, and QUIC

Chapter 11: Commonly Used Server Structures and Design Patterns

MVC pattern
Hierarchical architecture
DDD and Tactical Patterns
Microservices architecture
Event-driven architecture
CQRS pattern

Appendix A: Basics for Beginner Performance Testing

Types of performance tests
Saturation point and buckle zone
Key Metrics
Considerations when designing performance tests
Performance testing tools
Things to consider when running performance tests

Appendix B: Understanding NoSQL

What is NoSQL?
NoSQL types
Considerations when adopting NoSQL
CAP theorem

Appendix C: Implementing Distributed Locking with DB

Lock information storage table
Distributed locking behavior
DB lock implementation

Detailed image
Detailed Image 1

Publisher's Review
Real backend practices that frameworks don't teach you, solutions to problems you'll encounter right from the start, all in one book!

This book addresses key issues encountered in practice, such as performance bottlenecks, database queries, security, and networks, using real-world examples.
It helps you grow to the next level without trial and error by pointing out why problems arise and how to solve them.
This is a practical guide that developers who are concerned about operations and stability beyond code need right now.

★ Target audience

This book is intended for junior developers who have only been working on backend development for a few years.
You will be able to acquire various basic knowledge necessary to grow as a backend developer.

★ Structure of this book

● Chapter 1: Through practical issues that beginner developers frequently encounter, we will look at factors that need to be considered in addition to function implementation during server development.
● Chapter 2: Learn about response time and throughput, which are key performance indicators.
We'll also explore various performance-related topics (connection pools, caching, etc.) and explore how they can help you reduce response times and increase throughput.
● Chapter 3: Covers DB-related topics.
We'll introduce some ways to understand indexes and improve query performance, along with some caveats, including query timeouts.
● Chapter 4: Covers considerations for a growing microservices environment.
We'll learn about timeouts, retries, concurrent request limits, and circuit breakers, as well as what to watch out for when combining external and database connections.
● Chapter 5: Covers asynchronous external connections.
Here are five ways to achieve asynchronous external connections.
First, we will look at the method using threads and the method using messaging, and then introduce the transaction outbox pattern that takes DB transactions into account.
Next, we will look at transfer using batches and data replication using CDC.
● Chapter 6: Covers concurrency, which should be taken into consideration in server programming.
We will learn about several methods for controlling concurrency at the process level, as well as how to control concurrency using locks in the DB and what to be careful about when using locks.
Chapter 7: Explore the relationship between IO and performance, which significantly impact server throughput. We examine the impact of IO waits on resource efficiency and explore two approaches to addressing this: virtual threads and non-blocking IO.
● Chapter 8: Covers security that developers often overlook.
We'll cover the basic concepts of authentication and authorization and introduce two encryption methods: one-way and two-way encryption. We'll also explore data verification using HMAC and several methods that enhance security.
● Chapter 9: Organizes basic server management knowledge that backend developers should know, including OS accounts and permissions, processes, and disk capacity management.

● Chapter 10: Explains network basics such as IP, NAT, and VPN.
● Chapter 11: Introduces frequently used server architecture patterns. Covers MVC pattern, layered architecture, DDD tactical patterns, microservice architecture, event-driven architecture, and CQRS pattern.

In addition, Appendices A through C contain additional information that may be useful for backend developers.


● Appendix A: Covers the basics of performance testing.

● Appendix B: Brief introduction to NoSQL.
● Appendix C: Describes how to implement distributed locking using DB.
GOODS SPECIFICS
- Date of issue: April 28, 2025
- Page count, weight, size: 356 pages | 183*235*14mm
- ISBN13: 9791169213745
- ISBN10: 116921374X

You may also like

카테고리