gatekeeper
gatekeeper copied to clipboard
Batch packets for Lua policy lookups
GT blocks ask the Lua policy for policy decisions one packet at a time. Sophisticated policies can take advantage of the batched packets to perform better. For example, policies that use LPM tables to classify addresses could batch lookups of LPM tables. Another example is when a policy can quickly identify that a number of packets falls under the same policy decision and avoids duplicate work.