Webrick in production

24 views
Skip to first unread message

wi...@willbutton.co

unread,
Jul 9, 2014, 1:29:08 AM7/9/14
to canvas-l...@googlegroups.com
I understand apache is recommended as the production webserver. From other rails apps I'm familiar with, the driving reason behind this is because webrick is single threaded. As I understand canvas, it's single-threaded as well. If so- what advantages does apache provide in a production setting?

Thanks,
Will

Nick Kokkos

unread,
Jul 9, 2014, 5:30:51 AM7/9/14
to canvas-l...@googlegroups.com, wi...@willbutton.co
Apache or Nginx can serve canvas-lms' static assets with blazing speed. My personal opinion is to never use webrick (only for kid projects).
Serving Canvas-lms with webrick is a nightmare.

Cody Cutrer

unread,
Jul 9, 2014, 10:56:23 AM7/9/14
to canvas-l...@googlegroups.com, wi...@willbutton.co
Will,

Webrick was never intended to be a production web server. It's easy to get set up for purposes of development and testing, but lacks the security and speed necessary of a production install. While canvas is single-threaded, Apache, Nginx, or other production web servers run multiple canvas processes per single web server instance so the single-threadedness isn't really an issue.

Cody Cutrer
Software Engineer
Instructure


--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

wi...@willbutton.co

unread,
Jul 9, 2014, 1:40:18 PM7/9/14
to canvas-l...@googlegroups.com, wi...@willbutton.co
Nice!
Thanks for the great answers!
Reply all
Reply to author
Forward
0 new messages