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
How does Bundler bundle?
Search
Smit Shah
March 27, 2014
Technology
0
130
How does Bundler bundle?
A dive into Bundler's internals, history and glimpse of its future.
Smit Shah
March 27, 2014
Tweet
Share
More Decks by Smit Shah
See All by Smit Shah
Resillent By Design
who828
0
130
KDE is unlike a coconut
who828
0
120
My Mom told me that Ruby isn't thread-safe
who828
0
130
Other Decks in Technology
See All in Technology
JAWS-UG Bedrock Claude Night
yamahiro
3
710
開発パフォーマンスを最大化するための開発体制
ham0215
7
1.1k
LLM開発・活用の舞台裏@2024.04.25
yushin_n
3
1.2k
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.4k
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
360
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
8
620
MapLibreとAmazon Location Service
dayjournal
1
190
LangSmith入門―トレース/評価/プロンプト管理などを担うLLMアプリ開発プラットフォーム
os1ma
5
710
Babylon.js JAPAN活動紹介 (2024/4)
limes2018
1
120
ゼロから始めるVue.jsコミュニティ貢献 / first-vuejs-community-contribution-link-and-motivation
lmi
1
150
【基本】データベース設計
oracle4engineer
PRO
2
180
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
2
390
Featured
See All Featured
Design by the Numbers
sachag
274
18k
Writing Fast Ruby
sferik
622
60k
Being A Developer After 40
akosma
66
580k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
65
14k
Debugging Ruby Performance
tmm1
70
11k
Designing for humans not robots
tammielis
248
25k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.2k
GraphQLの誤解/rethinking-graphql
sonatard
55
9.3k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
Bash Introduction
62gerente
605
210k
Transcript
Bundler How does bundle?
Smit Shah github.com/who828 twitter.com/who828
None
FETCHING Metadata
Tale of Two Indices
Bundler 1.1 Dependency ! API
The Great RubyGems ! DDOS
New! Bundler API ! Host
Shortcomings •Less Secure •Impossible to cache •Not Server Friendly •No
checksum, Ruby and RubyGems platform support
Work on New Index Format
The New Index •More Secure •Easier to Cache •Less Server
side work •Checksum, Ruby and RubyGems platform support
What about now? •Use Bundler 1.6 RC2 •Use source mirrors
•Use bundle pack
RESOLVING Dependencies
The hardworking resolver
Resolving dependency is an NP complete problem
The existing dependency algorithm is recursive
None
The new dependency resolver
The new resolver •Iterative •Utilises CSP algorithms •Prunes the search
space much better •Resolves dependencies better
What ! about the! performance?!
What about now? •Use Bundler 1.6 RC2, again! •Use version
constraints •Use parallel gem installation
Exciting ! things ! coming up ! in Bundler!
Thanks