Tag: 백엔드공부
All the articles with the tag "백엔드공부".
-
Reflecting on My First Backend Assignment — I Should Have Just Built It Dirty and Refactored Later
I got an assignment to re-expose, as a REST API, a lookup that an existing screen already handled. Building Controller, Service, Mapper, and XML in order, I understood dependency injection and MyBatis for the first time — and still couldn't finish the extension even after spending a whole day on it.
-
Feature-by-Feature Study #2 — JWT Authentication: An Access Pass the Server Doesn't Remember
How JWT solves the weakness of the session approach (the server having to remember every session). Covers the structure that packs information into the token itself (header, payload, signature), the trap that the payload is just base64, not encryption, code for creating and verifying tokens with jjwt, and the new problem JWT introduces (no revocation).
-
Studying by Feature #1 — Session-Based Authentication: Why Doesn't HTTP Remember Me?
I decided to dig into features like login/auth, reservations, and payments one by one. The first topic is session-based authentication. Covers authN vs authZ, the fundamental problem caused by HTTP being stateless, how sessions work like a 'locker number tag,' Spring Security, why passwords are hashed with BCrypt, and the weaknesses of the session approach.
-
Spring Boot #6 — Looking Into JVM Memory and GC, and a Connection Pool Bottleneck Experiment
I watched the heap with jps and jstat, and printed out GC logs. From the heap structure split into Young/Old, to the contrast with C's manual memory management, to reproducing a bottleneck where reducing the DB connection pool to 1 turned a 2-second task into a 6-second one.