Skip to main content TDX, the developer conference for the AI agent era is happening now. Watch live on Salesforce+ for exclusive digital content, a revolutionary keynote, and more.
Gruppo

Salesforce Scalability

Welcome! This group is the official discussion forum for customers and partners who are looking for guidance on scale best practices around key platform areas. It's a forum for customers to provide feedback, requirements and share ideas. Customers may also leverage this group to collaborate with each other on best practices. This group is maintained and moderated by a salesforce.com employee(s). The content received in this group falls under the official Safe Harbor. Please also see our official Salesforce Customer Community Terms of Use.

🚀 Gen AI meets Apex – Introducing ApexGuru! 

 

Building high-performance Apex code isn’t easy—performance bottlenecks, inefficient SOQL, and unoptimized DML can slow things down. But what if an AI-powered coach could analyze, detect, and optimize your code for you? 

 

🔍 Meet ApexGuru—your AI-driven coding partner that: 

✅ Spots inefficient Apex patterns instantly basis Run time profiling information 

✅ Provides AI-generated recommendations to fix issues 

✅ Helps you build scalable, high-performing applications effortlessly 

 

Don't let inefficiencies creep into your code—let AI do the heavy lifting! 💡 

 

📖 Read the full blog to see ApexGuru in action: http://sfdc.co/brbMmL

 

@Karishma Lalwani  

0/9000

PRODUCT ANNOUNCEMENT!!!

 

Scale Center is now generally available for our Unlimited Edition customers at no additional cost to help teams optimize their implementations on our platform.

 

Scale Center capabilities will enable our customers and partners to proactively assess and resolve performance issues in a self-service manner by providing 'visibility' into observability data and scale insights in near real-time.

 

With Scale Center, customers can now

✅ Identify performance and scale hotspots

✅ Launch analysis to troubleshoot errors

✅ Compare Performance over two different time periods

✅ Obtain recommendations to improve their org’s scalability

 

Thank you to all our pilot and beta customers who have worked tirelessly with us throughout this journey.

 

To enable Scale Center, visit https://lnkd.in/dCPtd6Ht

 

Got Feedback? Send us an email at scalecenter@salesforce.com

 

#productlaunch #salesforce #scalability

17 commenti
  1. 19 dic 2024, 22:40

    Scale center,  the anlaysis output/results will impact my Org storage limits? 

0/9000

Just discovering the tool and I really enjoy it.

 

I was wondering if you plan to add download options ?

 

Pdf would be helpful as we may want to adress some concerns to our ISV regarding some metrics 

 

JSON or other data format could also be helpful to do long time analysis

 

Thanks for this nice tool anyway

 

Fabrice

0/9000

Feature idea - trigger execution time monitoring and alerts

 

I would love a feature that shows me the average execution time of a trigger, broken down by context. Then I can perform alerting on that.

 

This would allow performance issues in triggers (either from new Apex code, something else in a transaction that starting for a trigger DML, some Salesforce or package update, or something else) to be found straight away, rather than either not being found at all, or only being found when timeouts start occurring or users start complaining about how long it takes to save a record.

 

I created a POC using event monitoring. It works fine, but I wish this were something that were natively integrated with scale center. I could see this being well-received by devs in orgs with years of trigger tech dept.

 

POC from event monitoringFeature idea - trigger execution time monitoring and alerts I would love a feature that shows me the average execution time of a trigger, broken down by context. Then I can perform alerting on that.

2 commenti
  1. 6 nov 2024, 02:42

    Thank you for the great suggestion! Real-time trigger monitoring and alerting would be very useful, and your POC with event monitoring is impressive. I’ll share this feedback with our team as we explore enhancements for proactive performance monitoring.

     

    Thanks @Dylan Morrill, @James Quinn

0/9000

Hi Team,

 

We are pretty much excited to get our hands on to new offering of Apex guru.

 

Unfortunately I am not able to see scale insights option in my sandbox (I am able to see it in production - UE).

I was able match production license in my sandbox. I assigned scale center permission set license, Scale Center Standard Permission Set for my user, while I am trying to add 'Salesforce apex guru' permission set I am getting error: Can't assign permission set to this user, user license doesn't match. I can see license used for creating permission set is 'cloud integration user' and I am not able to clone this PS to change license type.

 

Can you please help me in setting up scale insights to see apex guru in action?

Scale insights not visible in Sandbox

 

 

1 risposta
0/9000
1 risposta
  1. 25 ott 2024, 11:49

    Hi @sweeny santo,

     

    Scale Test Bookings use Salesforce full copy sandboxes. When you book a test slot, they’re scheduled on a first-come, first-served basis per instance.

     

    1. From Setup, in the Quick Find box, enter Scale Test and select Test Scheduler. Scale Test is available as a paid add-on for customers with a Hyperforce Full Copy Sandbox, which includes the Test Scheduler and Test Execution features. To purchase scale test days, contact your AE. Even if your production instance doesn't reside on Hyperforce, you can use Scale Test if your sandbox does. Scale Test isn't available in Developer Edition or Trailhead Playground orgs.
    2. To create a booking, click New Booking and choose the available start and end date. Your booking is automatically confirmed and you receive a toast notification that confirms your booking.
    3. View your past, upcoming, and live bookings in this section. Past bookings have the status Completed. Upcoming bookings have the status Confirmed and live bookings have the status Live with the number of days left in that particular booking. A scale test booking lasts from one day to two weeks of continuous scale test days.
    4. To delete a confirmed booking, click the dropdown in the row of the test you want to cancel and click Delete.

    https://trailhead.salesforce.com/content/learn/modules/scale-test-quick-look/plan-schedule-and-run-scale-tests

     

    Thanks!

0/9000

🎉 ApexGuru Just Got Smarter! 🎉

Hey, Trailblazers! Ready to take your Apex game to the next level? 🔥 We’re thrilled to announce that the ApexGuru Antipatterns Resource Page is now live and ready for you to explore! 🌟

 

🚀 Check it out: ApexGuru Antipatterns Resource

 

This page is your secret weapon to slay inefficient code! 💻🔧 It’s packed with insights into Apex antipatterns and supercharged recommendations to help you write code that performs like a dream. And here’s the best part: it’s constantly updated with new antipatterns every release, so you'll always be on top of your game! 🎯

💡 What’s Inside?

  • Avoid costly mistakes like SOQL in loops or expensive string comparisons
  • Optimize your code with best practices on Schema.getGlobalDescribe usage
  • And much more!

💥 Why You Need This:

Whether you're battling with governor limits or trying to streamline your app’s performance, this resource is your ultimate guide. Think of it as your Apex battle plan, ready to arm you with the knowledge to write smarter, faster, and more efficient code.

📢 What to Do Next:

Dive in and start using these insights in your projects! Share it with your teammates, your dev friends, and anyone who wants to code like a pro. 💪

 

Let’s optimize together, one antipattern at a time! ⚡✨

#ApexGuru #Salesforce Developer  #Scalability

 

@Karishma Lalwani @Mohith Shrivastava @Alba Rivas @John Belo @Ravi Raina @Vaishnavi Nulu Reddi @Ryan Schmid

0/9000

Exciting Announcement from Dreamforce '24: ApexGuru x Code Analyzer Integration Pilot is Now Live!

 

At Dreamforce this year, we unveiled some major updates for developers, and one of the updates that stands out is the ApexGuru Integration with Code Analyzer. This new capability is a game-changer for anyone building on the Salesforce platform.

 

What does this integration offer? 

  1. Real-Time Code Analysis: Detect antipatterns during the early stages of development—right in your IDE.
  2. Quick-Fix Recommendations: Get actionable solutions instantly to resolve inefficiencies before they hit production.

By embedding ApexGuru’s intelligence directly into the development process, this integration ensures smoother deployments, higher quality code, and fewer headaches down the road. 🎯

 

We’re kicking off the pilot this month and are inviting interested participants to join us on this exciting journey!

 

🔗 Want to learn more and get involved?

Let’s redefine how we build scalable, efficient solutions on Salesforce! 🚀

 

@Karishma Lalwani @John Belo @Karen Fidelak @* Salesforce Developers * 

Exciting Announcement from Dreamforce '24: ApexGuru x Code Analyzer Integration Pilot is Now Live! At Dreamforce this year, we unveiled some major updates for developers, and one of the updates that s

1 commento
  1. 8 ott 2024, 03:49

    Nomination submitted and I will harass our AE about it tomorrow in our scheduled catchup 🤣

0/9000

Load Generation Pilot Launch!

 

We’re excited to announce our new Load Generation features, currently in pilot and open for sign-up for all Scale Test customers! This innovative tool enables you to run your JMeter-based test scripts directly from a dedicated Salesforce environment curated for load testing, streamlining your load-testing process.

 

With the Load Generation app, you can:

  • Manage all your test definitions and workloads under a single UI.
  • Schedule and execute tests during peak scale test days with ease.
  • Access new features such as live test monitoring, test logging, and download individual JMeter load artifacts.

This approach significantly reduces test execution costs, as it eliminates the need for additional load generation compute — all included within Scale Test. Maintenance is also simplified, as the Load Generation app will seamlessly integrate with Scale Test once we reach general availability (GA).

 

Sign up for the pilot here and reach out to us to setup product demos and Q&A today!

Load Generation Pilot Launch! We’re excited to announce our new Load Generation features, currently in pilot and open for sign-up for all Scale Test customers! This innovative tool enables you to run

0/9000

When ApexGuru, identifies 'Unused Classes and Methods' how far do you go out?

 i.e these 'Classes and Methods' were not invoked during last 30 days, 100 days, since the inception of the org, etc. ?

4 risposte
  1. 30 ago 2024, 17:53

    @Mayuresh Verma Thanks.  when you say 'latest snapshot of prod code' .... WHEN is this snapshot taken for analysis ?  Follow Up Question: Does ApexGuru use EventLogs for this analysis ? (I thought EventLogs are available for last 30 days).

0/9000