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
Trinidad
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
160
How GitHub develops, ships and supports GitHub Enterprise
calavera
2
470
Project Warbird
calavera
1
180
JRuby hacking guide
calavera
0
86
My name is Trinidad
calavera
0
80
Other Decks in Technology
See All in Technology
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
230
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
3
320
KPIだけでは評価できないプロダクトが考えるべき Evalsという第二の評価系 / Beyond KPIs: Evals as a Second Evaluation Framework for Products #PdEConf
aki_iinuma
4
3.8k
ペアプロの価値はコードを書くことだけじゃない
codmoninc
PRO
0
140
Bet AI Day 2026丨AIを「使う」から、AIが「働く」へ ― LayerXが進める「組織AI」の社会実装
layerx
PRO
3
2.8k
module Synths; end
asonas
1
130
Microsoft 365 Copilot chat -tekoälypalvelun tietosuojaongelmat
hponka
0
550
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
120
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
0
270
Snowflakeで実現する全社横断の顧客の声(VOC)分析・活用基盤@Snowflake World Tour Tokyo 2026
yuto16
0
110
Bet AI Day 2026丨Agentは、「金融」という巨大産業の何を変えられるのか
layerx
PRO
0
1.2k
多摩川(.dev)ランニング入門 / Tamagawa.dev#3
fujiwara3
3
410
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
660
Git: the NoSQL Database
bkeepers
PRO
432
67k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
650
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
480
GraphQLとの向き合い方2022年版
quramy
50
15k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
990
Optimizing for Happiness
mojombo
378
71k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
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