codestates / codestates/DEVzine-port

[DEV LOG] 2021.08.18 강하은

Open
#196 0 comments 0 reactions 1 assignee Claimed by @vodkamitlime View on GitHub
@vodkamitlime/ code for life 🍷 Dev-log
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Contributions

- 기사글 → 개별 Article Page 완료
- 캐싱의 장점을 활용한 응답 속도 유지를 위해 DB, 캐시 업데이트는 비동기 처리함
- 비동기 처리 하지 않았을 때 응답 속도: 80ms ~90ms 대

![image](https://user-images.githubusercontent.com/75682050/130423501-f3a4c75d-2520-4038-9391-80b5fab1338e.png)
![image](https://user-images.githubusercontent.com/75682050/130423541-bb38694a-7005-46a8-aaf8-0fd2097f66b3.png)

- 비동기 처리 했을 때 응답 속도: 5~8ms 대 (바로 캐시에서 응답하는 평균 속도와 일치)
- 단점: 비동기 처리 반영되는 속도보다 빠르게 요청이 들어온다면 조회수 반영이 안 될 수 있음 (but 매크로 돌리지 않는 이상 그럴 일은 없다고 봐야 함)

![image](https://user-images.githubusercontent.com/75682050/130423584-83b880cc-6e5f-413a-9bad-55494b5805c9.png)
![image](https://user-images.githubusercontent.com/75682050/130423593-e94a87ea-0bb5-4d6a-934d-92cb5820bc72.png)

- 기고글
- 개별 기고글 Page (데이터 조회, 캐싱 처리 완료)
- 전체 기고글 Page (데이터 조회, 캐싱 처리 완료)
- 전체 Magazine Page 완료 (데이터 조회, 캐싱 처리 완료)
- article List, article View 클라와 테스트 완료
- DB 유저, 관리자 비번 해시값으로 update

## Difficult point
- 코드 양이 많아짐에 따라 컨벤션에 어긋나는 코드가 많아져, 리팩토링의 필요성을 절감함

## TODO tomorrow
- 기고글 관리 페이지 작업

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.