Salesforce Architecture, from the Field
Guides on the problems architects actually get called for: auth flows, integrations, data at scale, and record access. Written from real projects, not documentation summaries.
Generate a JWT Access Token in Salesforce: The OAuth JWT Bearer Flow, Step by Step
Certificate, Connected App, signed JWT, token exchange. Server-to-server auth without storing a single password, including the invalid_grant errors you will hit and how to fix each one.
Read the guide → Integration · SecurityNamed Credentials and External Credentials: Stop Hardcoding Secrets in Apex
The split model explained: External Credentials hold the auth, Named Credentials hold the endpoint, permission sets glue it together, and your Apex never touches a secret again.
Read the guide → Architecture · IntegrationChoosing a Salesforce Integration Pattern: REST, Platform Events, CDC or Bulk API
Four questions that pick the pattern for you, where each option quietly falls apart in production, and a worked example combining all three styles in one project.
Read the guide → Architecture · DataDesigning for Large Data Volumes in Salesforce: What Actually Works
Selectivity and indexes, data skew, skinny tables, Big Objects and archiving. What to apply, in what order, when an org crosses into the tens of millions of records.
Read the guide → Architecture · SecuritySalesforce Sharing Architecture: Designing Record Access That Scales
OWDs, role hierarchy, sharing rules, teams and Apex managed sharing: which tool for which job, and the recalculation traps that turn sharing design into a performance problem.
Read the guide →