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
OCI Network Firewall 概要
oracle4engineer
PRO
1
7.8k
「Verify with Wallet API」を アプリに導入するために
hinakko
1
250
ユニットテストに対する考え方の変遷 / Everyone should watch his live coding
mdstoy
0
130
自作LLM Native GORM Pluginで実現する AI Agentバックテスト基盤構築
po3rin
2
290
AIが書いたコードをAIが検証する!自律的なモバイルアプリ開発の実現
henteko
1
350
Function calling機能をPLaMo2に実装するには / PFN LLMセミナー
pfn
PRO
0
970
関係性が駆動するアジャイル──GPTに人格を与えたら、対話を通してふりかえりを習慣化できた話
mhlyc
0
130
JAZUG 15周年記念 × JAT「AI Agent開発者必見:"今"のOracle技術で拡張するAzure × OCIの共存アーキテクチャ」
shisyu_gaku
0
130
10年の共創が示す、これからの開発者と企業の関係 ~ Crossroad
soracom
PRO
1
590
Large Vision Language Modelを用いた 文書画像データ化作業自動化の検証、運用 / shibuya_AI
sansan_randd
0
110
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
290
pprof vs runtime/trace (FlightRecorder)
task4233
0
170
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Practical Orchestrator
shlominoach
190
11k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
610
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
How to Think Like a Performance Engineer
csswizardry
27
2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
The Pragmatic Product Professional
lauravandoore
36
6.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
We Have a Design System, Now What?
morganepeng
53
7.8k
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