Asynchronous Processing Basics 01

Jaehyun_Ban·2022년 4월 15일
0

After completing this unit, you'll be able to

  • Explain the difference between synchronous and asynchronous processing.
  • Choose which kind of asynchronous Apex to use in various scenarios.
    선택해라 - 어떤 종류의 비동기 Apex를 다양한 시나리오에서 사용할

Asynchronous Apex

비동기 Apex

In a nutshell, asynchronous Apex is used to run processes in a separate thread, at a later time.
간단히 말해서, 비동기 Apex는 실행 프로세스에서 사용된다 - 나중에 별도의 스레드에서

An asynchronous process is a process or function that executes a task "in the background" without the user having to wait for the task to finish.
비동기 프로세스는 진행 또는 기능이다 - 그건 "백그라운드에서" 작업한다 사용자의 작업이 완료될 때까지 기다릴 필요없이

Here's a real-world example. Let's say you have a list of things to accomplish before your weekly Dance Revolution practice.
여기 실제 사례가 있다. 너가 헤야할 목록이 있다고 말해보자 너의 주간 댄스 레볼루션 연습 이전에


Increased Governor and Execution Limits

거버너 그리고 실행제한의 증가

One of the main benefits of asynchronous Apex is higher governor and execution limits.
비동기 Apex의 중요한 이점 중 하나는 높은 거버너 그리고 실행제한이다.

For exaample, the number of SOQL queries is doubled form 100 to 200 queries when usin g asynchronou calls.
예를 들어보자, SOQL쿼리들의 개수는 100에서 200으로 두배가 된다 - 비동기식 호출을 사용할 때

The tital heap size and maximum CPU time are similarly large for asynchronous calls.
총 힙사이즈와 최대 CPU시간은 비슷하게 크다 - 비동기식을 호출할 때

Not only do you get higher limits with async, but also those governor limits are independent of the limits in the synchronous request that queued the async request initially.
더 높은 제한을 얻을 수 있을 뿐만 아니라 이러한 거버너 제한은 제한에 독립적이다 - 동기요청에 - 처음에 비동기 요청을 ??????

0개의 댓글