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
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
クロスボーダーM&AのValue Upを支えるプロダクト開発。日米チームのハブになったプロダクトエンジニアの実践 / Product Engineering Conference 2026
genda
0
120
AI 駆動 Terraform 開発/SRE_BizReach_MIXI_2
visional_engineering_and_design
5
2.1k
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
4
1.6k
AI時代、データエンジニアが一番おもろい
genshun9
0
470
Screen Lens - 今見てる画面を翻訳する
komagata
0
270
Adaptive Warehouse を今すぐ導入すべき理由と迷ったときの判断基準
__allllllllez__
0
210
10分で知る最近のOmarchy
komagata
0
280
20260912_スクフェス三河
kgnkhkr
0
340
Reactの設計論
uhyo
18
9.5k
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
8
740
DEFCON34-Write-up_HYCu-MYCu
daikiokazaki
0
160
あるけみー式LTスライド作成術
alchemy1115
1
210
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
600
Mind Mapping
helmedeiros
1
350
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
190
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
Color Theory Basics | Prateek | Gurzu
gurzu
0
460
Claude Code のすすめ
schroneko
67
230k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
Leo the Paperboy
mayatellez
9
2.3k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
300
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
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