InterviewSolution
| 1. |
What Is Filter Phasing? |
|
Answer» ACTIONS WITHIN filters are carried out in one of three phases. All phase 1 actions are carried out immediately. Phase 2 and phase 3 actions are queued to be carried out later. The following phase 1 actions are always performed as soon as they can be:
Phase 2 actions are queued when they are encountered and performed after all phase 1 actions from all filters execute. If a phase 2 action triggers more phase 1 actions, then those phase 1 actions are performed before the next phase 2 action. If a phase 2 action triggers more phase 2 actions, then they are added to the end of the phase 2 queue. Phase 2 actions include:
Phase 3 actions do not include any database interaction. All phase 3 actions encountered are queued and performed after all phase 1 and phase 2 actions. Phase 3 actions include: Phase 3 actions can fail and not affect the operation’s success. Actions within filters are carried out in one of three phases. All phase 1 actions are carried out immediately. Phase 2 and phase 3 actions are queued to be carried out later. The following phase 1 actions are always performed as soon as they can be: Phase 2 actions are queued when they are encountered and performed after all phase 1 actions from all filters execute. If a phase 2 action triggers more phase 1 actions, then those phase 1 actions are performed before the next phase 2 action. If a phase 2 action triggers more phase 2 actions, then they are added to the end of the phase 2 queue. Phase 2 actions include: Phase 3 actions do not include any database interaction. All phase 3 actions encountered are queued and performed after all phase 1 and phase 2 actions. Phase 3 actions include: Phase 3 actions can fail and not affect the operation’s success. |
|