Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Momentoとは? ~JAWS FESAT 2023 お祭りセッション~
Search
yoshitaka KOITABASHI
October 15, 2023
Technology
2
110
Momentoとは? ~JAWS FESAT 2023 お祭りセッション~
yoshitaka KOITABASHI
October 15, 2023
Tweet
Share
More Decks by yoshitaka KOITABASHI
See All by yoshitaka KOITABASHI
コードファーストの考え方。 Amplify Gen2から学ぶAWS次世代のWeb開発体験
yoshiitaka
2
530
大規模なアジャイル開発の現場と技術負債 / Technical Debt
yoshiitaka
23
4.7k
テクノロジーの革新: オンプレミスから クラウドへの転換とサーバレス技術の衝撃
yoshiitaka
1
43
Re:cap container Services
yoshiitaka
2
290
The_Frugal_Architectの観点から眺めるServerless.pdf
yoshiitaka
1
77
re:Inventに行くと何を得られ、なぜ人はラスベガスに行くのか
yoshiitaka
0
56
(2023/12/11時点)Momento 概要&最新情報
yoshiitaka
2
300
パブリックなAPIは、”すべて” Postman API Networkで公開してくれぇ
yoshiitaka
1
140
コンテナ支部recapをrecapしよう_気になったコンテナの周りのアップデートを紹介.pdf
yoshiitaka
1
710
Other Decks in Technology
See All in Technology
Secrets of a PowerShell "Guru"
guyrleech
1
110
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
180
競技としてのKaggle、役に立つKaggle
yu4u
7
2.5k
LayerXにおけるLLMプロダクト開発の今までとこれから
layerx
PRO
4
1.4k
中年男性がメインフレームから クラウドへキャリアシフトしてみた
uechishingo
1
420
CockroachDB はどのくらい「しぶとい」のか? / How tough is CockroachDB?
kota2and3kan
6
3.8k
同じ様なUIをiOS/Android間で合わせるヒントNo.2
fumiyasac0921
1
110
AWS学習者向けにAzureの解説スライドを作成した話
handy
3
220
IaCからAWSに入門した初心者が CloudFormationを通して考えた「AWS操作」の使い分け
maimyyym
3
610
個人的、Kubernetes の最新注目機能! (2024年5月版) / TechFeed Experts Night#28 〜 コンテナ技術最前線
pfn
PRO
1
120
Babylon.js JAPAN活動紹介 (2024/4)
limes2018
1
120
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
37k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
The Language of Interfaces
destraynor
151
23k
What's in a price? How to price your products and services
michaelherold
238
11k
The Invisible Customer
myddelton
114
12k
Atom: Resistance is Futile
akmur
260
25k
Designing for humans not robots
tammielis
247
25k
Gamification - CAS2011
davidbonilla
77
4.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
9
1.3k
Code Review Best Practice
trishagee
56
15k
How STYLIGHT went responsive
nonsquared
92
4.8k
RailsConf 2023
tenderlove
9
570
Practical Orchestrator
shlominoach
183
9.7k
Transcript
@MomentoJP Momentoͱ? ~JAWS FESAT 2023 ͓ࡇΓηογϣϯ~
© 2023, Momento, Inc. ࣗݾհ Yoshitaka KOITABASHI (@yoshii0110) Momento -
Community Advocate @MomentoJP
None
@MomentoJP ։ൃऀΛॿ͚Δ࠷ߴͷαʔόϨεϓϥοτϑΥʔϜ
@MomentoJP ͳͥαʔόϨεͳͷ͔ʁʁ Ϛʔέοτʹରͯ͠ૉૣ͘σϦόϦʔ͕Ͱ͖Δ ίϯγϡʔϚͷརศੑ্͕͢Δ (εέʔϦϯάͷ؍Ͱ) ΑΓηΩϡΞʹͳΔ අ༻͕҆͘ͳΔ
@MomentoJP αʔόϨεͷఆٛ 1ͭͷAPI ݺͼग़͠Ͱར༻Մೳ ϓϩϏδϣϯෆཁ ཧෆཁ ࠷ྉۚͷແ͍ ͚ͬͨͩͷࢧ͍ ܭըఀࢭ͕ແ͍ Πϯελϯε͕ແ͍
@MomentoJP αʔόϨεͷັྗ 5ߦΈࠐΊ͑Δखࠒ͞ Create new cache Set a cache item
Fetch the item value
© 2023, Momento, Inc.
© 2023, Momento, Inc. Momento Cache σʔλϕʔεͱΞϓϦͷͱՔಇ࣌ؒΛ্ͤ͞Δ Ϋϥυ ΞϓϦέʔγϣϯ όοΫΤϯυ
Ωϟογϡ Ϋϥυ σʔλϕʔε ΫϥΠΞϯτ Πϯλʔωοτ Momento Cache Redis/Memcached @MomentoJP
© 2023, Momento, Inc. ΩϟογϡΛ͏Ϣʔεέʔε @MomentoJP Ұ࣌తͳσʔλετΞͱͯ͠ར༻ සൟʹมߋ͞ΕΔσʔλ ΞϓϦέʔγϣϯͷύϑΥʔϚϯεΛ্ αʔόʔͱDBͷI/OෛՙΛܰݮ
© 2023, Momento, Inc. AWSͰΩϟογϡΛ͏߹ͷબࢶ @MomentoJP Amazon ElastiCache (Memcached /
Redis) Amazon DynamoDB Accelerated (DAX) Momento Cache
© 2023, Momento, Inc. Ωϟογϯάͷ֓೦ ྫ͑ɺDB ʹର͢ΔΫΤϦͷԠ࣌ؒΛվળ ಡΈऔΓͷෛՙΛվળ @MomentoJP
© 2023, Momento, Inc. Ωϟογϡͷར༻ྫ
VPC Autoscaling Maintenance Windows TLS Auth
© 2023, Momento, Inc. Momento Topics (Pub/Sub) ύϒϦογϟʔ ΞϓϦέʔγϣϯ Momento
Topics ΞϓϦؒͷϦΞϧλΠϜίϛϡχέʔγϣϯʹ༻͞ΕΔߴͰߴੑೳͳ αʔόʔϨεϝοηʔδύλʔϯ Lambda αϒεΫϥΠόʔ αϒεΫϥΠόʔ ΞϓϦέʔγϣϯ @MomentoJP
Pub/SubΛAWSͰΉͱ
Momento Vector Index The Fastest Path to Production Ready Vector
Search @ Scale
1.1. Build The Index
1. Building The Index client.add_item_batch(index_name, items= [ Item(id="item_1", vector=[1.0, 2.0],
metadata={"key1": "value1"}), Item(id="item_2", vector=[3.0, 4.0], metadata={"key2": "value2"}), Item(id="item_3", vector=[5.0, 6.0], metadata={"key1": "value3", "key3": "value3"}), ], )
client.search (index_name, query_vector=query_vector, top_k=top_k) 2. Search The Index
© 2023, Momento, Inc. Bedrock Λ༻ͨ͠νϟοτ https://github.com/aws-samples/bedrock-claude-chat
© 2023, Momento, Inc. ίϯιʔϧʹ͍ͭͯհ ίϯιʔϧϩάΠϯ·Ͱͷϋʔυϧ͘ 3εςοϓͰྃ @MomentoJP
© 2023, Momento, Inc. MomentoͷՁ֨ઃఆ @MomentoJP
@MomentoJP ࣮ࡍʹݕূͯ͠Έ͍ͨʂ
© 2023, Momento, Inc. ೖऀ͚ϋϯζΦϯࢿྉ @MomentoJP https://zenn.dev/momentobigfun
© 2023, Momento, Inc. Momento ϢʔβίϛϡχςΟ ΊΜͱձͷ͝հ Momento ΦϯϥΠϯίϛϡχςΟ(discord) @MomentoJP
© 2023, Momento, Inc. Community
© 2023, Momento, Inc. Thank You!