Ruby On Google App Engine 2nd Athens Ruby Me
Upcoming SlideShare
Loading in...5
×
 

Ruby On Google App Engine 2nd Athens Ruby Me

on

  • 1,937 views

My presentation for the 2nd Athens Ruby Meetup about deploying Ruby apps on Google App Engine

My presentation for the 2nd Athens Ruby Meetup about deploying Ruby apps on Google App Engine

Statistics

Views

Total Views
1,937
Slideshare-icon Views on SlideShare
1,924
Embed Views
13

Actions

Likes
1
Downloads
15
Comments
0

3 Embeds 13

http://www.linkedin.com 7
http://www.slideshare.net 5
http://coderwall.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

    Ruby On Google App Engine 2nd Athens Ruby Me Ruby On Google App Engine 2nd Athens Ruby Me Presentation Transcript

    • Placeholder for a Two-Line Title International Theme Ruby on Google App Engine Panagiotis Papadopoulos http://6pna.com - http://webz.gr 2nd Athens Ruby Meetup
    • From Ruby to JRuby We know Ruby MRI but Ruby runs on JVM too
        • Like Ruby but runs on top of JVM
        • JRuby is mature
          • Ruby Thread are java threads
          • GC is the bullet proof Java GC
          • Java Unicode
          • Compiled code
          • GC and threading work seamlessly
          • Huge variety of libaries
          • deploy RoR with a single .war
        • But ...
          • gems need native extensions
          • great performance needs JVM knowledge
    • Google App Engine What is App Engine
        • exciting
        • running on Google infrastructure
        • limited & has unique methodologies
        • Java & Python only
        • scaling to infinity
        • having an integrated enviroments
        • almost free
      What is  What is not
        • Shared Hosting
        • VPS
        • a server to port my projects
        • run commodity software (ex. phpBB)
        • RDBMS
        • a technology for noobs
    • Why do we need JRuby Because it can execute on App Engine JVM
        • Learn the GAE limitations and tool set
          • no relational database although GQL make it easier
          • 1000 files upload limit
          • not writable filesystem
          • no custom TCP, UDP connection
          • etc 
          • free up to 6.5 cpu hours
          • index everything (or most)
        • So what is good?
          • no worries about scaling
          • XMPP, Cron, Task Queue, Versions
          • integrated environment
          • free for most projects
          • really cool
    • Where is Ruby and where is Rails? Not so straightforward
        • a lot but tricky
        • ORM through DataMapper
        • memcache, actionmailer need patching
        • console
      What works What does not work
        • native extensions
        • activerecord
    • How do we start? You are luckier now but wait for Rails 3 
        • Appengine-Jruby for the rescue
          • streamlines the process
          • fetched jruby-rack, jruby, appengine-java-skd
          • local server
          • console
          • deploy in a breeze
        • Is that easy?
          • not at all
          • you need to package gems into jars (warble)
          • jruby rack runs below rails/sinatra/merb
          • Java exceptions
          • restart server when testing :(
        • Awesome admin environment, take a look
    • Integration, control, versioning, stats, tickets all in a blink. PanosJee “ ”
    • More reading Don 't miss
        • http://delicious.com/panosjee/jruby
          • lots of stuff I came across about jruby/gae
        • http://code.google.com/p/appengine-jruby/
          • don 't start without it
        • http://olabini.com/blog/
          • major contributor
        • http://www.web2py.com/
          • if you are serious about GAE and want a real app
        • http://www.sinatrarb.com/
          • ideal platform for Ruby on GAE
        • http://bike-races.appspot.com/
          • the awesome demo
    • Thank you!   Ruby Greece is maturing! http://6pna.com :: http://www.webz.gr