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
Trinidad
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
David Calavera
August 04, 2011
Technology
50
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Trinidad
My talk about Trinidad,
https://github.com/trinidad
at JRubyConf 2011.
David Calavera
August 04, 2011
More Decks by David Calavera
See All by David Calavera
Git infrastructure with Go
calavera
3
610
The language of Chatops
calavera
0
170
How GitHub develops, ships and supports GitHub Enterprise
calavera
2
470
Project Warbird
calavera
1
180
JRuby hacking guide
calavera
0
87
My name is Trinidad
calavera
0
80
Other Decks in Technology
See All in Technology
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
1
690
Why Agent Cost Needs Observability
nttcom
0
150
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
1.4k
AI coding 整合正規方法
philipz
0
540
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
400
事業課題から技術的負債に向き合う
sansantech
PRO
2
2.3k
beyond jj: config & tools ecosystem
indirect
0
6k
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
9
1.1k
Goodbye ShellScript, Hello File-based App
shunsock
0
910
AI時代、データエンジニアが一番おもろい
genshun9
0
690
Antigravity SDK for the Java Developer
glaforge
0
190
Featured
See All Featured
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
380
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Mind Mapping
helmedeiros
1
370
Mobile First: as difficult as doing things right
swwweet
225
10k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
370
KATA
mclloyd
PRO
35
16k
A Soul's Torment
seathinner
8
3.6k
Transcript
Trinidad David Calavera @calavera
None
rails flavoured java
mongrel tomcat + warbler
glassfish gem tomcat + warbler
jetty-rails tomcat + warbler
None
tomcat gem tomcat + warbler
tomcat =~ 8MB trinidad =~ 3MB
gem install trinidad
jruby -S trinidad
jruby -S trinidad --jars lib/jars
jruby -S trinidad --classes lib/classes
jruby -S trinidad --apps webApps
--- web_apps: app1: context_path: /foo app2: rackup: config.ru
None
gem install trinidad_foo_extension
module Trinidad::Extensions class Foo < ServerExtension def configure(tomcat) ... eeeeeeend
module Trinidad::Extensions class Foo < ServerExtension def configure(tomcat) tomcat.destroy eenndd
module Trinidad::Extensions class Foo < ServerExtension def configure(tomcat) tomcat.add_web_app ...
ennnnd
module Trinidad::Extensions class Foo < WebAppExtension def configure(tomcat, context) ...
enddddd
module Trinidad::Extensions class Foo < OptionsExtension def configure(parser, default_options) ...
eeeeeeeeeeeeeeeeeeennndddd
None
None
jruby -S trinidad --load scheduler
class Job < TrinidadScheduler.Simple :start => Time.now, :end => Time.now
+ 240 def run _logger.info “each 5 seconds” end end
jruby -S trinidad -l mysql_dbpool
None
“ it would be great if ... “
“ this is pretty cool but ... “
jruby -S trinidad --load daemon
jruby -S trinidad --load hotdeploy
jruby -S trinidad --load hotdeploy
“ could we have no downtime deploy? “
None
gem install trinidad_init_services
gem install trinidad_rack
jruby -S trinidad --load sandbox
None
trinidad
thank you!
?
lamazone rishibando