kalo pid-nya crash kemungkinan port tsb sudah dipakai oleh aplikasi lain di mode production, rails sebetulnya umum berjalan di banyak port dan itu mau pake thin atau mongrel tidak masalah, kalo saya biasa menyalakan dari port 3001 - 3010, ini sebagai backend server
cara menyalakannya mongrel_rails start -p [port number] -d atau thin start -p [port number] -d -d itu berarti berjalan sbg daemon di depan, port 80 bisa ditangani oleh nginx atau apache bersamaan dgn phusion passenger, frontend web server ini bertugas melayani file2 statis dan sebagai juga sbg load balancer, yang memforward dan membagi2 request secara merata ke port-port yang dinyalakan tadi 2010/2/14 Christeddy <c.para...@yahoo.com> > > > Ya benar.. Maksudnya memang saya mau menjalankan 1 aplikasi dengan banyak > port. Dan port-port tersebut dapat berjalan dengan bersamaan.. Masalahnya > saya ingin menjalankannya dari terminal linux. Namun pada saat saya coba, > pid-nya crash.. > > > --- In id-ruby@yahoogroups.com <id-ruby%40yahoogroups.com>, Karuna Murti > <karuna.mu...@...> wrote: > > > > Bisa coba unicorn gan. Bisa diset workernya lebih dari 1. > > http://unicorn.bogomips.org/ > > Menurut benchmark lebih bagus dari mongrel dan passenger. > > > http://labs.revelationglobal.com/2009/10/06/mongrel_passenger_unicorn.html > > Dan aye pribadi seneng outputnya gak beda sama mongrel, gak kaya thin > yang > > outputnya gak familiar. > > > > 2010/2/10 Achmad Gozali <goz...@...> > > > > > > Maksudnya satu aplikasi dengan banyak port atau banyak aplikasi banyak > > > port? > > > kalo satu applikasi banyak port coba lihat mongrel cluster > > > > > > kalo banyak aplikasi banyak port / multi apps di satu host lebih > > > gampang pake > > > phusion passenger CMIIW > > > > > > --Gozali > > > > > > On Jan 28, 2010, at 1:44 PM, Christeddy wrote: > > > > > > > Dear all, > > > > > > > > Bagaimana cara menjalankan ruby server dengan menggunakan banyak > > > > port sekaligus ? > > > > Misalnya, Saya ini menjalankan ruby server untuk port 3001 - 3010. > > > > Terima kasih.. > > > > > > > > Salam, > > > > > > > > Teddy > > > > > > > > > > > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > ------------------------------------ > > > > > > ID-Ruby > > > Berdiskusi dan belajar bersama Bahasa Pemrograman Ruby, termasuk segala > > > varian Ruby (JRuby, Rubinius, IronRuby, XRuby), dan program yang dibuat > > > dengan Ruby (Ruby on Rails, JRuby on Rails, Merb) > > > > > > http://rubyurl.com/Q8DD > > > http://news.gmane.org/gmane.comp.lang.ruby.region.indonesia > > > > > > > > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > -- blog : http://adityakircon.blogsome.com ym : kirconboy skype : adit_skype Be Nice. Treat others with the same respect you'd want them to treat you. We're all here to learn together. Be tolerant of others who may not know everything you know. BRING YOUR SENSE OF HUMOR (stackoverflow.com) [Non-text portions of this message have been removed] ------------------------------------ ID-Ruby Berdiskusi dan belajar bersama Bahasa Pemrograman Ruby, termasuk segala varian Ruby (JRuby, Rubinius, IronRuby, XRuby), dan program yang dibuat dengan Ruby (Ruby on Rails, JRuby on Rails, Merb) <*> Follow Ruby Indonesia on Twitter http://twitter.com/rubyindonesia <*> Kunjungi Situs Resmi Ruby Indonesia http://www.ruby-lang.org/id/ <*> Join Ruby Indonesia on Facebook http://rubyurl.com/QV48 <*> Join Ruby Indonesia on LinkedIn http://rubyurl.com/eh0i <*> Kunjungi *arsip milis* id-ruby di http://groups.yahoo.com/group/id-ruby/messages http://www.mail-archive.com/id-ruby@yahoogroups.com/ http://rubyurl.com/Q8DD http://news.gmane.org/gmane.comp.lang.ruby.region.indonesia <*> Baca peraturan id-ruby sebelum posting http://rubyurl.com/gay1 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/id-ruby/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/id-ruby/join (Yahoo! ID required) <*> To change settings via email: id-ruby-dig...@yahoogroups.com id-ruby-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: id-ruby-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/