• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Trinidad
 

Trinidad

on

  • 1,960 views

 

Statistics

Views

Total Views
1,960
Views on SlideShare
1,926
Embed Views
34

Actions

Likes
0
Downloads
8
Comments
0

4 Embeds 34

http://lanyrd.com 29
http://twitter.com 3
http://www.onlydoo.com 1
https://twitter.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Trinidad Trinidad Presentation Transcript

    • TrinidadDavid Calavera@calavera
    • railsflavoured java
    • mongreltomcat + warbler
    • glassfish gemtomcat + warbler
    • jetty-railstomcat + warbler
    • tomcat gemtomcat + warbler
    • tomcat =~ 8MBtrinidad =~ 3MB
    • gem installtrinidad
    • jruby -Strinidad
    • 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
    • gem installtrinidad_foo_extension
    • module Trinidad::Extensions class Foo < ServerExtension def configure(tomcat) ...eeeeeeend
    • module Trinidad::Extensions class Foo < ServerExtension def configure(tomcat) tomcat.destroyeenndd
    • 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
    • jruby -S trinidad--load scheduler
    • class Job < TrinidadScheduler.Simple :start => Time.now, :end => Time.now + 240 def run _logger.info “each 5 seconds” endend
    • jruby -S trinidad-l mysql_dbpool
    • “ it would begreat if ... “
    • “ this is prettycool but ... “
    • jruby -S trinidad--load daemon
    • jruby -S trinidad--load hotdeploy
    • jruby -S trinidad--load hotdeploy
    • “ could we have nodowntime deploy? “
    • gem installtrinidad_init_services
    • gem installtrinidad_rack
    • jruby -S trinidad--load sandbox
    • trinidad
    • thank you!
    • ?
    • lamazonerishibando