similar to: Is This a Performance Concern?

Displaying 20 results from an estimated 1000 matches similar to: "Is This a Performance Concern?"

2006 Jun 28
8
How to obtain clients IP adress
Is it possible to obtain clients adress in ruby on rails? by TheR -- Posted via http://www.ruby-forum.com/.
2006 Jun 29
6
adding a before_filter to static content
Hi, I have a Rails site that uses a before_filter in the application controller that does some authentication and authorization work. I also have a bunch of HTML in folders in the application''s public directory. Before a user can view anything in the public directory, I''d like to authenticate them. How could I do that? I''m using mongrel, if it matters. Thanks, Joe
2006 Aug 07
2
related to forms
I''m trying to construct a form that would request a page using GET and would like my variables to be simple like q,v, etc so that the URL it calls is something like: /controller/action?q=80&v=100 However, I''m having trouble using the basic form helpers (probably doing something wrong) cos expressions such as: <%= hidden_field "q", "v", {:value
2006 Jul 20
4
setting site up on dreamhost
Hi, was wondering if anyone has had any experience setting a site up on dreamhost.com Ive uploaded teh site, turned fastCGI on However having a few problems gettign the site to show, when i go to /public/ it shows the rails welcome page, should I be redirecting the sit url to this? thanks scott -- Posted via http://www.ruby-forum.com/.
2006 Aug 10
1
Convert datetime_select to Time object?
-------------------------- Question 1 -------------------------- I am dealing with a database that holds products and it has a datetime field called "active_at". so I have the following for active_at: <%= f.datetime_select :active_at %> It gives me 5 different params: params[:product][:active_at(1i)] params[:product][:active_at(2i)] params[:product][:active_at(3i)]
2006 Jun 30
1
Problems installing rails
I''ve installed Ruby and Rubygems, but when I launch the command prompt and type: Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' ERROR: While executed gem ... <OpenURI : : HTTPError> 404 Not Found Now I did something else and its saying error 300 Multiple Choices. Is
2006 Jul 01
3
Captchas in Rails
Hello Everyone, I was wondering what people on this list were using to generate captchas within forms on sites they are developing? I know there is a ruby gem named captcha, but I have seen some others floating around as well. Thanks, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 29
6
Naming Convention for Controllers?
Hello! I just read DHH''s presentation pdf. In his examples, he wrote PeopleController instead of PersonController. I''ve been using singular words in controller''s name. Which is more common? Thanks. Sam -- Posted via http://www.ruby-forum.com/.
2006 Jun 30
2
Subscription Payment Model
Ok, I''m new to the world of actually charging for software, and it''s taken me a full month to decide how to charge in a way that doesn''t make me sleep with difficulty at nights. :) If someone can look at this and verify I''m on the right track or give any hints/tips, I''d greatly appreciate it. Basically, I want each user to be able to apply
2006 Jan 21
3
Fragment caching with Memcached slow?
Hi, I am trying to do fragment caching using :mem_cache_store. However, when I compare it to fragment caching using :file_store, it seems to be a lot slower. Here are the results: uncache Completed in 2.20246 (0 reqs/sec) | Rendering: 2.19891 (99%) | DB: 0.00017(0%) | 200 OK [ http://127.0.0.1/] using file_store Completed in 0.00952 (105 reqs/sec) | Rendering: 0.00702 (73%) | DB: 0.00000(0%)
2013 Jul 23
1
Postgres adapter misconfigured on Linux?
I''ve written a simple Rails migration that adds an index to an existing Postgres table: class AddIndexToEvents < ActiveRecord::Migration > def change > add_index :sf_events, :account_id > end > end However, when I run the migration, it fails due to a syntax error on the CREATE INDEX line. I''m expecting some SQL like this to be generated: CREATE INDEX
2006 Jun 28
15
Its here! RubyGems Release 0.9.0
Read about it here: http://rubyforge.org/forum/forum.php?forum_id=7575 -- Posted via http://www.ruby-forum.com/.
2006 May 10
6
how many mongrels to start
is there a way to determine how best to determine the number of mongrel processes to start? Right now i am running 2 in production but I see some people run about 8 or so. What is the cutoff and determening factor for this ? thanks adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 14
4
hide_action doesnot hide view
The view file (eg. apps/views/items/list.rhrml) is still displayed even when the action is hidden (hide_action :list). How can I hide view file form being automatically displayed in this circumstance? thanks, jigar -- Posted via http://www.ruby-forum.com/.
2006 Sep 07
1
httperf
Hi, has anyone run httperf in Xen.if so cna you share the peformance. Also can someone please send me the source for this. the HP site that hosts it does not respond and i do see any other sites that have the source for httperf. Thanks PKrishna _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2007 Jul 05
9
Limit i/o capacitiy?
Hi all Is there any way to limit the network i/o capacity of virtual machine somehow? Say, I want a domU with id 1 to consume at much 0.5 MB/s of host''s bandwidth. Is it possible? Artem Pervin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Sep 01
8
Application performance
Hey all Im working on improving the speed of my application. Ive taken on board everything that has been said on this forum so far, im using httperf to benchmark and try to improve performance. However, I have some question marks over how best to go about improving performance in certain areas.... With no caching or such like deployed the application runs at an rather slow 35 - 38 req/s. A
2007 Feb 27
11
Mongrel performing only half as fast as Apache?
I''m trying to do some initial benchmarking of our setup, mainly just to establish baselines. I''m essentially using the process Zed outlines in a previous message: http://rubyforge.org/pipermail/mongrel-users/2006-May/000200.html What I''m running into is that Mongrel appears only half as fast as Apache when serving a small static HTML file. If I then add in Apache with
2006 Jun 29
9
Handling multiple developers making migrations and using svn
Hey all, I''ve run into an interesting scenario that I think some of you might have some suggestions on. I am currently working on a RoR project and we are making full use of the migrations. We are also using a subversion repository for our source control. Now, the problem.... We are both making migrations and checking them into SVN. So, if in our checkout we have migrations up to 10 and
2007 Jun 29
3
mongrel tuning with httperf - suspicious results
Hello all, I''m attempting to test/tune a mongrel cluster according to the tuning instructions on the mongrel site (using httperf). Anecdotally, the site itself ''feels'' snappy, but testing it with httperf reveals what appears to be terrible throughput. I''m kind of at a loss to describe the results, and was hoping someone could verify that I''m testing