Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

FSL custom Apex REST web services (GradeSlotsService / ESO scheduling) show higher latency after Hyperforce migration

公開日: Sep 16, 2026
説明

Symptoms

  • Custom Apex REST services (e.g. /services/apexrest/ecgetslots/, /ecscheduleappointment/*, /eccancelappointment/*) respond more slowly post-migration.
  • The FSL method FSL.GradeSlotsService.GetGradedMatrix() takes longer to return a graded slot matrix.
  • Slot-grading / appointment-booking flows that were faster before the Hyperforce migration now show elevated latency.
  • The difference is most visible when comparing a Hyperforce org against a legacy non-Hyperforce org running the same code and configuration.

Environment

  • Salesforce Field Service (FSL) managed package
  • Enhanced Scheduling and Optimization (ESO)
  • Org migrated to Hyperforce
  • Custom @RestResource endpoints calling FSL scheduling APIs
  • Integrations that perform external/third-party handshakes as part of the transaction

Cause

  • Architectural differences between Hyperforce and non-Hyperforce infrastructure. Some performance variation is expected, particularly for transactions that include third-party/external handshake integrations.
  • The end-to-end request time for these endpoints includes both the FSL scheduling computation and one or more external callouts/handshakes. The external portion of the transaction is not fully within the platform's control and contributes to the observed latency.
解決策

  1. Confirm the scope of the latency. Isolate the time spent in the FSL scheduling call (e.g. GetGradedMatrix()) from the time spent in external/third-party callouts using debug logs, Splunk transaction traces, or endpoint timing.
  2. Apply available product optimizations. The FSL product team introduced skinny tables to improve scheduling query performance. This yields measurable improvement but does not fully restore pre-migration timings.
  3. Enable/validate ESO. Compare ESO vs. non-ESO scheduling on the Hyperforce org to ensure the most optimized scheduling path is in use.
  4. Optimize the customer-controlled portion of the callout chain where the largest gains remain:
    • Minimize and streamline third-party/external handshakes.
    • Reduce payload size and the number of records/slots requested per call.
    • Cache or reuse authentication tokens instead of re-handshaking per request where possible.
  5. Set expectations. After the above, a residual latency difference relative to the legacy non-Hyperforce org is expected and is not a platform defect. There is no further platform-side change available to eliminate the difference for callouts that involve third-party handshakes.
ナレッジ記事番号

005460090

 
読み込み中
Salesforce Help | Article