Martijn van Exel wrote: > Is there another source explaining the architecture of the Rails port? > Preferably with a > diagram or such. >
Hardware wise... 1x Database Server (MySQL) 3x Dedicated Rails Application Servers (Ruby 1.8.6, Rails 2.0.x) 1x Frontend Web Server (lighttpd + Ruby 1.8.6, Rails 2.0.x) Dynamic requests are broken down into 4 types: Web: Website, Login, Signup, Messages etc (Handled by frontend web) TAH: All ti...@home requests BulkAPI: API map, trackpoint, amf/reads and swf/trackpoints API: New nodes, rest of API stuff See: http://svn.openstreetmap.org/sites/rails_port/config/lighttpd.conf There have been problems in the past with Rail's libxml binding leaking memory. Rails seams to leak memory on some of the BulkAPI and occasionally API requests. Particularly /api/0.5/map API code has a forced Rails daemons death after ~10000 requests to free leaked memory. / Grant _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev