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
120
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
580
大規模なアジャイル開発の現場と技術負債 / 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
720
Other Decks in Technology
See All in Technology
[2024년 5월 세미나] 생성형 AI와 함께하는 데이터 분석가 커리어
datarian
0
350
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
35k
能動学習のいろは:書籍「Human-in-the-Loop機械学習」3〜5章
hiroyoshiito
0
270
Domain-driven Design: A Complete Example
ewolff
2
190
Real World Type Puzzle and Code Generation
yukukotani
4
600
個人的、Kubernetes の最新注目機能! (2024年5月版) / TechFeed Experts Night#28 〜 コンテナ技術最前線
pfn
PRO
3
190
Microsoft for Startups Founders Hub_20240429 update
daikikanemitsu
1
2.6k
AWSやJAWS-UGとの出会いを振り返る
yoyoyopg
1
200
大規模言語モデル (LLM)における低精度数値表現
pfn
PRO
3
520
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
9
37k
類似ロジック実装をiOS/Android間で合わせる道標No.1
fumiyasac0921
1
210
Observabilityジャーニーを実現するためのAWSサービス:CloudWatch編
o11yfes2023
0
120
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Git: the NoSQL Database
bkeepers
PRO
423
63k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
GraphQLの誤解/rethinking-graphql
sonatard
56
9.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
14
8.4k
Designing with Data
zakiwarfel
96
4.8k
Atom: Resistance is Futile
akmur
260
25k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
Designing Experiences People Love
moore
136
23k
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!