Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How does Bundler bundle?
Search
Smit Shah
March 27, 2014
Technology
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How does Bundler bundle?
A dive into Bundler's internals, history and glimpse of its future.
Smit Shah
March 27, 2014
Transcript
23 slides
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
More Decks by Smit Shah
See All by Smit Shah
Resillent By Design
who828
0
150
KDE is unlike a coconut
who828
0
140
My Mom told me that Ruby isn't thread-safe
who828
0
150
Other Decks in Technology
See All in Technology
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
Is the Website Dying?
miriamschwab
0
160
閉域網でのAPI公開の選択肢全部比較!
takano0131
5
700
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
500
gradle-best-practices 使ってみた
mikanichinose
0
230
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.6k
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
320
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
270
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
270
ノードが消える前提で設計する!Karpenterで金融システムを止めないためのノウハウ大全
daitak
1
250
コーディングできない僕にBobが舞い降りた
shumpei3
0
200
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
A Soul's Torment
seathinner
9
3.9k
Facilitating Awesome Meetings
lara
57
7.2k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
850
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
530
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
1k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
Everyday Curiosity
cassininazir
0
420
The Pragmatic Product Professional
lauravandoore
37
7.5k
Balancing Empowerment & Direction
lara
6
1.4k