{"id":834,"date":"2024-03-06T17:03:10","date_gmt":"2024-03-06T17:03:10","guid":{"rendered":"https:\/\/fde.cat\/index.php\/2024\/03\/06\/how-the-new-einstein-1-platform-manages-massive-data-and-ai-workloads-at-scale\/"},"modified":"2024-03-06T17:03:10","modified_gmt":"2024-03-06T17:03:10","slug":"how-the-new-einstein-1-platform-manages-massive-data-and-ai-workloads-at-scale","status":"publish","type":"post","link":"https:\/\/fde.cat\/index.php\/2024\/03\/06\/how-the-new-einstein-1-platform-manages-massive-data-and-ai-workloads-at-scale\/","title":{"rendered":"How the New Einstein 1 Platform Manages Massive Data and AI Workloads at Scale"},"content":{"rendered":"<p>In our \u201cEngineering Energizers\u201d Q&amp;A series, we feature Leo Tran, Chief Architect of Platform Engineering at Salesforce. With over 15 years of engineering leadership experience, Leo is instrumental in developing the Einstein 1 Platform. This platform integrates generative AI, data management, CRM capabilities, and trusted systems to provide businesses with personalized customer experiences and AI-driven insights.<\/p>\n<p>Discover how Leo and his team overcame significant technical obstacles and tackled massive scaling challenges to create a powerful platform that revolutionizes the way businesses operate and interact with their customers\u2026<\/p>\n<p><strong>What\u2019s your role in developing the Einstein 1 Platform?<\/strong><\/p>\n<p>As Chief Architect, my role is to bridge the gap between the various technologies within our layered architecture and how our customers and apps utilize them. Our architecture can be visualized as a layered cake, with each layer serving a specific purpose. The foundation layer comprises a resilient data and infrastructure framework, guaranteeing high availability and data security for our runtimes and data stores.<\/p>\n<p>Above this foundation, the middle layers of the stack offer essential platform capabilities, enabling engineers to evolve existing capabilities, introduce new technologies, and phase out outdated ones, all without disrupting the functionality of our customers\u2019 apps and solutions. This is achieved through the development and upkeep of a unified metadata layer that translates database tables into customer-centric concepts, a security layer for data access control, and an Einstein layer that empowers predictive, generative, and autonomous AI capabilities.<\/p>\n<p>Finally, at the top of the stack, we have the apps that our customers utilize. My role is to optimize this architecture, ensuring that the architecture optimally separates the tough challenges our customers face, allowing them to focus on their core business. Additionally, the architecture supports our internal engineering teams, empowering them to build high-scale, high-availability, and compelling technologies.<\/p>\n<p><em>A look at Einstein 1 Platform\u2019s layered architecture.<\/em><\/p>\n<p>Lastly, my team and I provide essential capabilities for building applications on the Einstein 1 Platform, such as login, data manipulation, app configuration, and event synchronization. These capabilities are unified under Lightning Experience\u2019s capabilities, ensuring a seamless and cohesive Salesforce interface across devices that optimizes the customer experiences.<\/p>\n<p><em>Leo dives deeper into how he supports Einstein 1 Platform.<\/em><\/p>\n<p><strong>What technical issues did the team face when integrating generative AI into the Einstein 1 Platform?<\/strong><\/p>\n<p>One of the main issues was the need to expand the platform to incorporate new AI technologies without regressing or breaking the existing solutions and apps that were built over the years. The team had to be cautious not to disrupt the tens of thousands of customers relying on the platform.<\/p>\n<p>To mitigate this issue, the team adopted a strategy of staggered rollouts. They made changes incrementally, ensuring thorough testing and using feature gates to control the release of new AI features. The changes were initially rolled out as pilots and betas to a few customers and then gradually expanded to more customers over the course of several months. The team was proud of the fact that some of these significant architectural changes were also successfully rolled out without customers being aware or disrupted.<\/p>\n<p><em>Leo shares what makes Salesforce Engineering\u2019s culture unique.<\/em><\/p>\n<p><strong>What was a key engineering challenge the team faced during the development of the Einstein 1 Platform?<\/strong><\/p>\n<p>A key challenge was scaling the metadata frameworks and systems to handle a significant increase in the number of schema definitions and use cases. Initially, the Platform supported only 2,000 customer-created entities.<\/p>\n<p>Salesforce supported the creation of customer-created entities by developing an abstraction over a physical database. This introduced the concept of entities and fields to represent data tables and columns, and established the convention of \u201cSalesforce Object Records\u201d (SObject records) to represent rows. This allowed the Platform to handle thousands of entities and work with hundreds of millions of records. This was sufficient for most customers who had hundreds of custom entities capturing data related to their customers and business operations.<\/p>\n<p>However, with the integration of Data Cloud into the Platform and the goal of unifying data from multiple sources, the team needed to seamlessly handle one to two orders of magnitude more metadata. This required scaling the abstraction to accommodate customers working across tens of thousands of entities and billions of SObject records. Additionally, the team had to evolve its conventions for customer data interaction to incorporate new data technologies introduced by Data Cloud, alongside the relational database that Salesforce apps and platform were built on.<\/p>\n<p><em>Platform data abstraction: Entity represents the schema (metadata) and SObjects represent the data values<\/em><\/p>\n<p><strong>How did the Einstein 1 Platform team tackle that significant scaling challenge?<\/strong><\/p>\n<p>A major architecture evolution was implemented to manage metadata and support the new scale requirements. The complexity of integrating metadata with various platform capabilities, such as data modeling, access controls, CRUD and query APIs, formulas, and UI customizations, needed to be addressed. It was crucial to ensure that any evolution did not disrupt existing functionality or impact customers while maintaining deep integration.<\/p>\n<p>The journey began by evolving how the unique 15-character IDs were defined and assigned to created entities. This involved updating the database tables to accommodate a two orders of magnitude increase in scale.<\/p>\n<p>Next, a carefully planned data migration process was implemented to ensure a smooth transition of entity definitions to the new database tables. This was executed as a staggered rollout, allowing thorough internal testing before gradually deploying it to a few production environments.<\/p>\n<p>Finally, after meticulous testing and refinement, the rollout was successfully completed to all existing customers. The team took great pride in achieving this significant architectural milestone while ensuring minimal impact on all customers.<\/p>\n<p>Moving forward, the team\u2019s focus will be on enhancing the usability of tools and data management APIs to facilitate working with tens of thousands of entities that can span across CRM apps and Data Cloud.<\/p>\n<p><em>Leo shares why engineers should join Salesforce.<\/em><\/p>\n<p><strong>How does your team incorporate customer feedback on AI features to improve Einstein 1 Platform?<\/strong><\/p>\n<p>To ensure successful adoption and usage of new AI features, the engineering teams employ a comprehensive approach. Internally, various monitoring and metrics frameworks are leveraged to track feature adoption and usage. This includes collecting data on the number of active organizations and users, as well as the frequency of usage per day. By analyzing this data, product assumptions can be validated, customer needs can be identified, and areas for improvement can be pinpointed, all without relying solely on direct customer feedback.<\/p>\n<p>On the customer-facing side, product managers actively engage with customers through focus groups and pilots. Besides gathering feedback about how the feature\u2019s implemented, these interactions also allow for the evaluation of the effectiveness of marketing and customer enablement efforts. The assessment includes determining whether customers are aware of a feature\u2019s existence and if the documentation provides clear instructions. This evaluation helps in determining whether any issues lie in marketing or feature functionality.<\/p>\n<p>In addition to direct customer engagement, Salesforce online communities are leveraged as a valuable feedback channel. The IdeaExchange and Trailblazer Communities provide a platform for customers and partners to share their feedback, propose feature requests, and identify roadmap items. This democratizes the feedback process and fosters a collaborative environment where customers and partners can learn from each other.<\/p>\n<div class=\"wp-block-group is-layout-constrained wp-container-1 wp-block-group-is-layout-constrained\">\n<h4 class=\"wp-block-heading\"><strong>Learn more<\/strong><\/h4>\n<p>Want to dive deeper? <a href=\"https:\/\/www.salesforce.com\/news\/stories\/what-is-einstein-1-platform\/\">Check out Leo\u2019s post<\/a> on how Einstein 1 Platform transforms customer experiences with CRM, AI, data, and trust.<\/p>\n<p>Stay connected \u2014 join our<a href=\"https:\/\/flows.beamery.com\/salesforce\/eng-social-2023\"> Talent Community<\/a>!<\/p>\n<p>Check out our<a href=\"https:\/\/www.salesforce.com\/company\/careers\/teams\/tech-and-product\/?d=cta-tms-tp-2\"> Technology and Product<\/a> teams to learn how you can get involved.<\/p>\n<\/div>\n<p>The post <a href=\"https:\/\/engineering.salesforce.com\/how-the-new-einstein-1-platform-manages-massive-data-and-ai-workloads-at-scale\/\">How the New Einstein 1 Platform Manages Massive Data and AI Workloads at Scale<\/a> appeared first on <a href=\"https:\/\/engineering.salesforce.com\/\">Salesforce Engineering Blog<\/a>.<\/p>\n<p><a href=\"https:\/\/engineering.salesforce.com\/how-the-new-einstein-1-platform-manages-massive-data-and-ai-workloads-at-scale\/\" target=\"_blank\" class=\"feedzy-rss-link-icon\" rel=\"noopener\">Read More<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>In our \u201cEngineering Energizers\u201d Q&amp;A series, we feature Leo Tran, Chief Architect of Platform Engineering at Salesforce. With over 15 years of engineering leadership experience, Leo is instrumental in developing the Einstein 1 Platform. This platform integrates generative AI, data management, CRM capabilities, and trusted systems to provide businesses with personalized customer experiences and AI-driven&hellip; <a class=\"more-link\" href=\"https:\/\/fde.cat\/index.php\/2024\/03\/06\/how-the-new-einstein-1-platform-manages-massive-data-and-ai-workloads-at-scale\/\">Continue reading <span class=\"screen-reader-text\">How the New Einstein 1 Platform Manages Massive Data and AI Workloads at Scale<\/span><\/a><\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-834","post","type-post","status-publish","format-standard","hentry","category-technology","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":859,"url":"https:\/\/fde.cat\/index.php\/2024\/04\/23\/einstein-copilot-for-tableau-building-the-next-generation-of-ai-driven-analytics\/","url_meta":{"origin":834,"position":0},"title":"Einstein Copilot for Tableau: Building the Next Generation of AI-Driven Analytics","date":"April 23, 2024","format":false,"excerpt":"In our \u201cEngineering Energizers\u201d Q&A series, we explore the extraordinary journeys of engineering leaders who have achieved success in their specific domains. Today, we meet John He, Vice President of Software Engineering, who leads the development of Einstein Copilot for Tableau \u2014 an innovative tool that redefines how users interact\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":785,"url":"https:\/\/fde.cat\/index.php\/2023\/11\/07\/einstein-for-flow-bringing-ai-innovation-to-the-next-generation-of-automation\/","url_meta":{"origin":834,"position":1},"title":"Einstein for Flow: Bringing AI Innovation to the Next Generation of Automation","date":"November 7, 2023","format":false,"excerpt":"By Vera Vetter, Zeyuan Chen, Ran Xu, and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional journeys that have shaped Salesforce Engineering leaders. Meet Vera Vetter, Product Management Director for Salesforce AI Research and a co-Product Manager for Einstein for Flow, a game-changing AI product that\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":866,"url":"https:\/\/fde.cat\/index.php\/2024\/05\/15\/revealing-einsteins-blueprint-for-creating-the-new-unified-ai-platform-from-siloed-legacy-stacks\/","url_meta":{"origin":834,"position":2},"title":"Revealing Einstein\u2019s Blueprint for Creating the New, Unified AI Platform from Siloed Legacy Stacks","date":"May 15, 2024","format":false,"excerpt":"In our insightful \u201cEngineering Energizers\u201d Q&A series, we delve into the inspiring journeys of engineering leaders who have achieved remarkable success in their specific domains. Today, we meet Indira Iyer, Senior Vice President of Salesforce Engineering, leading Salesforce Einstein development. Her team\u2019s mission is to build Salesforce\u2019s next-gen AI Platform,\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":863,"url":"https:\/\/fde.cat\/index.php\/2024\/05\/07\/the-new-einstein-for-developers-streamlines-your-workflow-say-goodbye-to-time-consuming-tasks\/","url_meta":{"origin":834,"position":3},"title":"The New Einstein for Developers Streamlines Your Workflow: Say Goodbye to Time-Consuming Tasks","date":"May 7, 2024","format":false,"excerpt":"In our latest article for our \u201cEngineering Energizers\u201d Q&A series, we meet Christopher Williams, Vice President of Software Engineering. With over 17 years at Salesforce under his belt, Christopher today leads the development of Einstein for Developers. From eliminating time-consuming tasks to providing intelligent code completions, this groundbreaking tool empowers\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":774,"url":"https:\/\/fde.cat\/index.php\/2023\/10\/17\/how-the-einstein-team-operationalizes-ai-models-at-lightning-speed-and-massive-scale\/","url_meta":{"origin":834,"position":4},"title":"How the Einstein Team Operationalizes AI Models at Lightning Speed and Massive Scale","date":"October 17, 2023","format":false,"excerpt":"By Yuliya Feldman and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. Meet Yuliya Feldman, a Software Engineering Architect at Salesforce. Yuliya works on Salesforce Einstein\u2019s Machine Learning Services team, responsible for operationalizing AI models, which serves as\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":789,"url":"https:\/\/fde.cat\/index.php\/2023\/10\/17\/how-the-einstein-team-operationalizes-ai-models-at-lightning-speed-and-massive-scale-2\/","url_meta":{"origin":834,"position":5},"title":"How the Einstein Team Operationalizes AI Models at Lightning Speed and Massive Scale","date":"October 17, 2023","format":false,"excerpt":"By Yuliya Feldman and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. Meet Yuliya Feldman, a Software Engineering Architect at Salesforce. Yuliya works on Salesforce Einstein\u2019s Machine Learning Services team, responsible for operationalizing AI models, which serve as\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/comments?post=834"}],"version-history":[{"count":0,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/834\/revisions"}],"wp:attachment":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/media?parent=834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/categories?post=834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/tags?post=834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}