Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SalesforceArchitectGroupOsaka#17_Well-Architect...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
atomica7sei
May 31, 2024
Technology
460
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SalesforceArchitectGroupOsaka#17_Well-Architected_Reliable
atomica7sei
May 31, 2024
More Decks by atomica7sei
See All by atomica7sei
TDX '26 Global Gathering for Dev_Arch_Agentforce_Labs
atomica7sei
0
110
SalesforceArchitectGroupOsaka_23_Agentforce_Implementation_Five_Agent_Patterns
atomica7sei
0
130
SalesforceArchitectGroupOsaka#22_Agentforce Vibes
atomica7sei
0
180
SalesforceArchitectGroupOsaka#20_CNX'25_Report
atomica7sei
0
440
SalesforceArchitectGroupOsaka#16_Well-Architected_ALM
atomica7sei
0
410
Salesforce World Tour Tokyo 2023秋 振り返り会 for Arch
atomica7sei
0
200
SalesforceArchitectGroup#15_Integration
atomica7sei
0
610
SalesforceArchitectGroupOsaka#14_platform-multitenant-architecture
atomica7sei
0
140
SalesforceArchitectGroupOsaka#13_Sharing_and_Visibility
atomica7sei
0
760
Other Decks in Technology
See All in Technology
enechainの内製セルフサービスプラットフォーム
hiyosi
0
160
[2026-09-11]SREは誰のもの?運用エンジニアが始める 「SRE領域への越境」とチームの進化の軌跡 〜Road to NEXT CRE
tosite
0
170
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
610
Claude Code本って、 読む必要あるの?
oikon48
2
430
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
14
8.1k
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
1
690
あるけみー式LTスライド作成術
alchemy1115
1
200
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
0
460
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
160
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
1
1.5k
AIネイティブプロダクトで顧客価値を最大化するプロダクトエンジニアとFDEの協働
righttouch
PRO
0
260
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
360
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
270
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
480
The SEO identity crisis: Don't let AI make you average
varn
0
550
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
330
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
540
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
The Curious Case for Waylosing
cassininazir
1
500
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
Salesforce Architect Group, Japan Well-Architected Reliable(信頼性)-パフォーマンス-スループット- 非同期処理 Salesforce Architects Meetup
Osaka#17 #archjapan 1
Reliable(信頼性)-パフォーマンス-スループット-非同期処 理 Well-Architected
Well-Architectedのページ紹介 3 パフォーマンス (Well-Architectedの日本語訳より) • パフォーマンスとは、システムアーキテク チャの文脈では、システムの全体的な処 理能力(スループット)と、リクエストに対す る応答速度(レイテンシー)を示す指標で す。一般的に、システムのパフォーマンス
については、テストや実稼働時の監視を 通じて把握することができます。パワフル なシステムは、予想される需要のレベルに 応じて、タイムリーに処理を完了させま す。 • パフォーマンスの低下は、遅延の増大や スループットの低下を招き、生産性の低下 やユーザーの不満の増大につながりま す。さらに、パフォーマンスの問題は緊急 性の高い問題であることが多く、顧客の信 頼を失い金銭的な損失にもつながりかね ません。 • スループット • レイテンシー • パターンとアンチパターン
スループット(Well-Architectedの日本語訳より) 4 システムのスループットを最適化するために、考慮すべきことがあります。 • 非同期処理を重視する • 常に一括処理を使用する • 検索にはSOSLを使用し、SOQLはデータ操作のように扱う •
プラットフォームキャッシュを使用する
Automated(自動化)(Well-Architectedの日本語訳より) 5 「データ整合性のパターンとアンチパターン」より パターン データ処理 Apexにおいて: • すべての同期DML文またはDatabaseクラスメソッドは、トリガー実行前のコンテキストで実行さ れる •
非同期Apex実行では、Queueableを使用してトランザクションにまたがる複雑なDMLを「連鎖」 させる • Batch Apexは大容量データ専用に使用される • @future Apexは、コールアウトやシステムオブジェクトのDMLなど、特定の用途に限定して使 用される フローにおいて: • ユーザーコンテキストで起動したすべてのフローは、すべてのシステムコンテキストトランザク ションをサブフローに抽象化し、一貫してPause要素の後に配置され、新しいトランザクションを 作成する • 関連するデータ操作の複雑な順序をOrchestratorで作成する(単一フロー内で複数のサブフ ローを呼び出す代わりに) • レコードトリガー型のフローには、すべてトリガーの実行順序が入力されている • 外部システムのコールアウトや長時間稼働するプロセスを含むフローは、非同期パスを使用す る
フロー非同期パスのデモシナリオ 6 レコードトリガーフロー ① ② 非同期HTTPコールアウト(Patch) ④ 処理結果(Chatter) ③ 新規登録
or 更新(Upsert) 取引先 非同期パスを使用した外部システムへのレコードトリガフローの接続 ⇒非同期パスは、レコードの保存後に実行されるレコードトリガフローで使用できる <構成要素> • 外部ログイン情報 • 指定ログイン情報 • 権限セット ◦ 外部ログイン情報プリンシパルアクセス ◦ オブジェクト設定-ユーザの外部ログイン情報 • レコードトリガーフロー <構成要素> • 接続アプリケーション ◦ クライアントログイン情報フローを有効化 • Salesforce Integrationライセンスユーザ • Salesforce Integrationライセンス用権限セット ◦ 取引先の権限を付与 取引先 外部システム
デモ(フローの非同期パス) Salesforce Well-Architected
参考リソース 8 • Reliable architect.salesforce.com • reliable.pdf 日本語訳 ◦ 非同期処理を重視する ▪ Architecture
Basics トランザクション ▪ Automated 自動化 • Record-Triggered Automation ◦ 常に一括処理を使用する ▪ Platform Multitenant Architecture • Salesforce の非同期実行アプローチ - ローコード、プロコード、ハイブリッド • Flow HTTP Callout コミュニティグループ • HTTP コールアウトを介してコードなしで Salesforce データを外部サーバーに送信 (正式リリース) Winter'24 • Make a Callout using OAuth 2.0 Client Credentials Flow | Named & External Credentials YouTube • HOW TO USE THE HTTP CALLOUT PATCH METHOD IN FLOW | Winter'24 Update YouTube • 外部 ID を使用してレコードを挿入 /更新 (Upsert) する • OAuth 2.0 クライアントログイン情報フローの接続アプリケーションの設定 • Order of Execution Overview png
None