📖
WeekEndStudy
  • WeekEndStudy
  • WebWorker와 ServiceWorker
  • IndexedDB
  • WebSocket
  • Nodejs Mysql 과 Serialize
  • Template Callback Pattern
  • JPA
  • Spring HATEOAS
  • CPU, GPU, Memory and Multi process
  • Docker
  • 도메인 주도 설계로 시작하는 마이크로서비스 개발
  • Reconcilation
  • Kotlin
  • Kotlin Study 2
  • GraphQL
Powered by GitBook
On this page
  • Web Worker란?
  • Web Worker의 단점

Was this helpful?

WebWorker와 ServiceWorker

2021.03.27 스터디 내용

PreviousWeekEndStudyNextIndexedDB

Last updated 3 years ago

Was this helpful?

Web Worker란?

웹 워커는 스크립트 연산을 웹 어플리케이션의 주 실행 스레드와 분리된 별도의 백그라운드 스레드에서 실행할 수 있는 기술. 웹 워커를 통해 무거운 작업을 분리된 스레드에서 처리하면, 주 스레드가 멈추거나 느려지지 않고 동작할 수 있다.

Web Worker의 단점

  1. 워커에서 DOM을 직접 조작할 수 없고, Window의 일부 메서드와 속성은 사용 불가. 그러나 를 포함한 많은 수의 항목도 사용 가능

WebWorker
ServiceWorker
웹소캣
IndexedDB
WebWorker에서 사용가능한 함수