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
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.3k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
630
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
210
AWS Network Firewall Proxyを触ってみた
nagisa53
0
210
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
340
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
130
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.2k
入社1ヶ月でデータパイプライン講座を作った話
waiwai2111
1
280
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
230
AI駆動開発を事業のコアに置く
tasukuonizawa
1
120
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
300
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Marketing to machines
jonoalderson
1
4.6k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
GitHub's CSS Performance
jonrohan
1032
470k
The Cult of Friendly URLs
andyhume
79
6.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
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