The independent daily for Salesforce admins, developers and architects

Curated by Abhinav (opens in a new tab)

How MuleSoft moved observability to Hyperforce without breaking customers (opens in a new tab)

You will learn how MuleSoft consolidated nearly 3,000 monitoring clusters into 24 multi-tenant clusters, kept legacy query APIs working through a translation layer, and used continuous automated validation and staged cutovers to migrate 39 petabytes of telemetry.

Legacy architecture

  • Nearly 3,000 monitoring clusters
  • 153 services and components
  • Statically provisioned per customer

Hyperforce architecture

  • 24 shared clusters
  • 43 services and components
  • Multi-tenant with automated rebalancing
The legacy architecture was replaced by a consolidated multi-tenant platform

MuleSoft’s legacy observability platform ran on nearly 3,000 independently provisioned monitoring clusters, and operating it at that scale was increasingly hard. The team first stabilized the existing system by reorganizing ownership around horizontal capabilities such as ingestion and logging, so each team maintained its part of the legacy system while building its replacement. Replacing ad hoc production fixes with root cause analysis brought incidents down within about six weeks.

The replacement moved to a shared, multi-tenant platform on Hyperforce. Because customers rarely reach peak utilization at the same time, the team could meet each customer’s capacity guarantees without reserving the sum of every maximum allocation. High-utilization customers were spread across clusters, and automated mechanisms moved customers when utilization rose, with data kept within its region. Unifying ingestion, processing and storage cut the number of services and components from 153 to 43, and the clusters fell to 24, a reduction of about 99 percent.

The backend changed substantially, but customers were meant to notice little. The team standardized telemetry on OpenTelemetry and kept existing log and metrics query APIs working through a translation layer that mapped requests to the new databases. Customers received 60 days of access to both user interfaces when new features such as enhanced log search arrived, so they could give feedback before switching.

Migration ran alongside production. Automated end-to-end validation compared log and metrics queries, alerts and notifications across both environments and reported discrepancies, which surfaced differences caused by customer-specific implementations. Shadow validation covered selected alerting scenarios. Cutovers were grouped into about eight to ten batches by region, service, feature and customer category, moving from lower-risk to more complex workloads, with feature flags and rollback available throughout. The rollout ran for more than a year across more than 12 regions. The authors report P95 telemetry delay falling from several minutes to under one minute and query latencies improving 2X.

Read the original at Salesforce Engineering (opens in a new tab)

Worth reading?

Must-read

Choosing replacements for Salesforce to Salesforce before its Spring '27 retirement (opens in a new tab)

You will know how Salesforce to Salesforce works, what its retirement means for cross-org sharing, and how to choose among Experience Cloud, Partner Connect, Salesforce Connect, Data 360 and MuleSoft as replacements.

Why read this

You will also see the steps to inventory existing connections and plan a controlled cutover. The piece is aimed at architects and admins who inherit orgs that share data with partners or other orgs.

  1. Inventory every connection in each org
  2. Retire connections no longer needed
  3. Gather business requirements for the rest
  4. Choose a partner or platform option
  5. Plan a controlled implementation
The first step in replacing S2S is inventorying every connection in each org

Salesforce to Salesforce (S2S) is a declarative, point-to-point integration that shares records between two Salesforce orgs without code or middleware. The publishing org chooses what to share, the subscribing org maps it to its own fields, and forwarded records are sent asynchronously with retries and errors logged in the Connection History. Authentication relies on a mutual invitation, so no credentials are managed. Salesforce is retiring S2S with the Spring ’27 release, so teams need a new strategy, and the article suggests using the retirement as a chance to close gaps the current setup leaves open.

The first step is an inventory of every connection in each org. Record what is shared, how records are forwarded and accepted, and who owns each connection, along with the automation, assignment rules and logic that depend on it. Retire connections no longer needed, then gather business requirements for the rest. For partner scenarios, Experience Cloud is the choice when partners can work in your org on records you own, with Default External Access set to Private and access granted through partner roles and Sharing Rules. Partner Cloud adds onboarding, tiers and channel revenue management on top of that site, at the cost of licenses and program design. Partner Connect (Beta) suits partners that need their own synced copy, but it supports only accounts, contacts, leads, opportunities and cases as of Winter ’27, and not formula, multiselect or most lookup fields. MuleSoft can replicate records as an alternative for production.

When no partner-facing option fits, the article works through platform options in order of how much data must move. Salesforce Connect’s cross-org adapter reads or writes records in place as external objects but suits only small, on-demand operations. Data 360 offers a shared view through Data Cloud One or Data 360 to Data 360 sharing, though neither creates or updates CRM records. MuleSoft for Flow or Anypoint Platform handles replicated records where each org keeps its own copy. A custom build, using Apex, REST, Change Data Capture or Bulk API 2.0, is a last resort and takes on duplicate handling, backfill, deletes and credential management.

Finally, the article recommends a controlled implementation. Agree timelines and field ownership with the other org’s owner. Identify every flow, trigger, report and integration that touches the moved data, since automation also runs on records the new integration writes. Test duplicate prevention and failure cases in a sandbox with pass criteria set in advance, and finish production cutover several weeks before the instance’s Spring ’27 upgrade date, without running S2S and the replacement side by side.

Read the original at Salesforce Architects (opens in a new tab)

Worth reading?