With the Spring '14 release, all Force.com developers have access to an exciting new tool: an "explain" parameter option in the platform's REST API. John Tan of Technical Enablement and guest author Chris Peterson have written an article that explains the Query Resource Feedback Parameter pilot and shows you how to use it to retrieve the query execution options that the Force.com query optimizer is considering. The article also gives you a simple Visualforce page and Apex controller to wrap the REST API call.
Tag Archives: Best Practices
As we put another DevOps conference in the books, we reflect back on an amazing Day 2. We kicked off the conference with a panel of DevOps practitioners: Bruno Connelly, VP Engineering, Site Reliability at LinkedIn; Jeremy Carroll, Operations Engineer, Pinterest; Pedro Canahuati, Director, Production Engineering & Site Reliability at Facebook; and, Jason Wong, Director of Engineering, Infrastructure, Etsy.
Affecting a DevOps transformation at a large enterprise like salesforce.com is no small endeavor. Being one of the leading cloud companies in the industry however, well positions us to bring more DevOps practices into our organization. We practice DevOps principles every day, but a few times a year we set aside time to really level up. Tomorrow marks one of these times as we host our third internal DevOps mini-conference. We’ve found that spending this time together to discuss DevOps principles and to share knowledge on a level that reaches far beyond our daily interactions can pay dividends throughout the rest of the year.
Do you have a SOQL query or a report that takes a long time to complete because you are querying data from an object that has tens of millions of rows, yet your business requirements won’t allow you to add a selective filter? Read on to learn more about sort optimization, a simple technique that many developers and architects overlook when applying SOQL performance tuning best practices.
With the powerful Salesforce sharing features, you can support collaboration within your organization while keeping sensitive information secure. And while you must always balance collaboration with security, there are situations in which you might need to make absolutely sure that record access is limited to a very small number of people, regardless of their position within the corporate hierarchy. In this post, you'll learn about the sharing features and strategies you can use to do just that.
As an experienced Salesforce architect or developer, your job is as dynamic as your organization and its users. You don’t just need to design a sharing model, Force.com applications, and SOQL queries that meet your company’s current security, page performance, and data requirements; you must also design an architecture that can scale to support your organization’s future data volumes and user bases. So why chance facing additional work and long wait times later, or wishing that you had a time-traveling Delorean to hop in? Just attend Technical Enablement’s sessions and workshops at Dreamforce to learn a few performance-related best practices, test what you learned in a hands-on environment, and scale your organization to success.
Every day, the Technical Enablement team works with customers like you to review their architectures and help them solve implementation challenges on the Salesforce platform. One of those implementation challenges involves a seemingly simple platform feature: formula fields. Under the hood, poorly designed formula fields can consume a lot of resources, lead to slow query response times, and hurt your users’ productivity. We see these problems in many of our customer cases, and we know that the best way to avoid them involves learning both what makes formula fields efficient and how to build efficient formula fields. If you're a developer, architect, or administrator who wants to build lightning-fast formula fields, you'll want to attend our intermediate-level Dreamforce session, "Revving Up the Force.com Formula Engine," and its associated workshop.
Agents widely use the Salesforce Console on a day-to-day basis while working with several entities like cases, accounts, leads etc. They spend almost the entire day within the console, opening and closing several tabs. Considering this, the end user performance of the application becomes vitally important. In this write-up, I have presented my observations when comparing the performance of the Salesforce Console in various browsers in a typical contact center environment.
One advantage of the Force.com platform is that it allows you to develop applications quickly and easily using both standard and custom features, such as custom Visualforce pages and Apex classes. But how can you test whether your application can scale to meet the needs of your growing user base? The Force.com platform includes a framework for creating and running test classes, but when you need to account for larger volumes of data and more demanding application conditions, you might need to move a level beyond unit testing. This blog post helps you plan for growth by outlining your application testing options, explaining which ones you should use and when you should use them, and suggesting how you should work with salesforce.com Customer Support to maximize your tests’ effectiveness and value.
Do you use a long list of filters in your reports or SOQL statements to exclude “noisy” data from your query results? Do you wonder why your requests take so long to run, even when they return only a few hundred rows? You might be able to overcome your performance issue with indexed formula fields, which this blog post explains in detail.