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
David Calavera
August 04, 2011
Technology
0
32
Trinidad
My talk about Trinidad,
https://github.com/trinidad
at JRubyConf 2011.
David Calavera
August 04, 2011
Tweet
Share
More Decks by David Calavera
See All by David Calavera
Git infrastructure with Go
calavera
3
570
The language of Chatops
calavera
0
140
How GitHub develops, ships and supports GitHub Enterprise
calavera
2
460
Project Warbird
calavera
1
160
JRuby hacking guide
calavera
0
57
My name is Trinidad
calavera
0
54
Other Decks in Technology
See All in Technology
プラットフォーム転換期におけるGitHub Copilot活用〜Coding agentがそれを加速するか〜 / Leveraging GitHub Copilot During Platform Transition Periods
aeonpeople
1
220
COVESA VSSによる車両データモデルの標準化とAWS IoT FleetWiseの活用
osawa
1
380
AIエージェントで90秒の広告動画を制作!台本・音声・映像・編集をつなぐAWS最新アーキテクチャの実践
nasuvitz
3
330
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
210
新アイテムをどう使っていくか?みんなであーだこーだ言ってみよう / 20250911-rpi-jam-tokyo
akkiesoft
0
320
まずはマネコンでちゃちゃっと作ってから、それをCDKにしてみよか。
yamada_r
2
120
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
470
Android Audio: Beyond Winning On It
atsushieno
0
2.4k
スマートファクトリーの第一歩 〜AWSマネージドサービスで 実現する予知保全と生成AI活用まで
ganota
2
300
AI時代を生き抜くエンジニアキャリアの築き方 (AI-Native 時代、エンジニアという道は 「最大の挑戦の場」となる) / Building an Engineering Career to Thrive in the Age of AI (In the AI-Native Era, the Path of Engineering Becomes the Ultimate Arena of Challenge)
jeongjaesoon
0
230
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
RSCの時代にReactとフレームワークの境界を探る
uhyo
10
3.5k
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
3
58
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
GitHub's CSS Performance
jonrohan
1032
460k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Designing Experiences People Love
moore
142
24k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Documentation Writing (for coders)
carmenintech
74
5k
Code Reviewing Like a Champion
maltzj
525
40k
A Modern Web Designer's Workflow
chriscoyier
696
190k
Music & Morning Musume
bryan
46
6.8k
Balancing Empowerment & Direction
lara
3
620
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.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