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
セキュリティキャンプ2017全国大会 集中コースZ5
Search
kriw
August 19, 2017
Technology
1
500
セキュリティキャンプ2017全国大会 集中コースZ5
セキュリティキャンプ2017全国大会 集中コースZ5の成果報告会のスライドです。
kriw
August 19, 2017
Tweet
Share
More Decks by kriw
See All by kriw
Radeco Pseudo C Code Generation
kriw
1
110
Other Decks in Technology
See All in Technology
Amazon Q Developerを活用したアーキテクチャのリファクタリング
k1nakayama
2
220
Mackerel in さくらのクラウド
cubicdaiya
1
130
テストを実行してSorbetのsigを書こう!
sansantech
PRO
1
130
マルチプロダクト×マルチテナントを支えるモジュラモノリスを中心としたアソビューのアーキテクチャ
disc99
1
650
データモデリング通り #2オンライン勉強会 ~方法論の話をしよう~
datayokocho
0
190
LLM 機能を支える Langfuse / ClickHouse のサーバレス化
yuu26
9
2.6k
Amazon S3 Vectorsは大規模ベクトル検索を低コスト化するサーバーレスなベクトルデータベースだ #jawsugsaga / S3 Vectors As A Serverless Vector Database
quiver
2
950
【OptimizationNight】数理最適化のラストワンマイルとしてのUIUX
brainpadpr
2
540
【新卒研修資料】数理最適化 / Mathematical Optimization
brainpadpr
29
14k
Agent Development Kitで始める生成 AI エージェント実践開発
danishi
0
160
Eval-Centric AI: Agent 開発におけるベストプラクティスの探求
asei
0
140
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
110
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Designing for humans not robots
tammielis
253
25k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Unsuck your backbone
ammeep
671
58k
What's in a price? How to price your products and services
michaelherold
246
12k
Rails Girls Zürich Keynote
gr2m
95
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Thoughts on Productivity
jonyablonski
69
4.8k
Transcript
集中コースZ5 成果報告 kriw
制作物の概要 • KeyValueストア • yaraを用いたマルウェアの検知機能
イメージ 複数のクライアントから 大量のファイルを送信。 2MB程度 高速に処理
パフォーマンス(所要時間) 256台同時接続 ファイルサイズ 約2MB ファイル数 1000
参考 SSDは速い
事前課題 • 土台となるKey-Valueストアの作成 • KVSでtcpソケットを用いたファイルの転送の対応 • KVSへのyaraの組み込み • SPDKのセットアップ ブログ
http://kotarou777775.hatenablog.com/entry/2017/08/12/214249
事前課題で発生した問題 • 16MB程度のファイルをサーバーが受信出来な い。 • スレッドのゾンビ化 • スレッドの排他制御をしていない。
キャンプ期間中 • スレッドのゾンビ化の阻止 • スレッドの排他制御 • 大きなサイズのファイルに対応 • ログ機能の実装 •
ベンチマークの測定
辛かったこと、苦労したこと。 • 設計に不備があって再実装した箇所があった。 • スレッドの扱いに苦労した。 • yaraにバグがありそう?だった。
楽しかった事 • 集中して作業が出来た。
成果 総行数: 934行 spdk/spdkへ(2文字)コミットした。
今後の目標 • SPDK上で使えるようにする。 • 別言語で書き直す。