What's the best way of AB Testing new features and keeping track of the results?
Regards,
Donald
There's a gem called Vanity which is designed for A/B testing in Rails (and appears to work in Rails 3).
Here's a tutorial on Vanity.
I've just released a gem that integrates the Google Analytics Experiments API with Rails. It is pretty full-featured and the reporting is right in Google Analytics. It uses a bandit algorithm, allows you to specify a subset of the audience to test and more.
https://github.com/dlangevin/gxapi_rails
I've personally used split and I've found it to be quite nice, especially with respect to the dashboard it provides for you.
Related
I know that Rails has some tools on board to create a REST API. However, concepts like HATEOS aren't supported out of the box.
I googled around for Gems that are filling the gap. The most complete Gem I found is Restfulie (https://github.com/caelum/restfulie). But I am not complete convinced about Restfulie and the project looks abandoned. Hence, I am looking for good alternatives to Restfulie.
What's the best Gem to create a REST API for Rails?
Popular choices are RABL and Roar / roar-rails.
I personally like Roar better because it allows you to consume your representations which is a bit harder with RABL. On the other hand, it's concepts are still in flux so things still tend to change.
Grape is worth a try.
I have read the Load runner basics and understood an overview of the components of Load Runner and general workflow.
As its Load Testing of a website, I need to plan real time scenarios of the functionality of the website with example 100 users who log-in simultaneously.
In Load runner,I need to create all these users that emulate steps of real users using the application These which would be virtual users…Vuser.
Could you all please help me writing this script? please help me by giving a script to create a vuser and description of the script.
The component is VuGen (Virtual User Generator) of Load runner. VuGen then also runs them. How to execute it?
Rohit,
There is no substitute for training in the tool. The path of self education in this space is one which has been trod by many and the results are almost universally poor for the traveler. Affirm your core skills related to development, test, project management, systems analysis, monitoring and diagnostic actions, Attend training, work with a mentor. That is the path to success.
James Pulley
Moderator (LoadRunner Yahoo Groups, Advanced LoadRunner Yahoo Group, lr-LoadRunner Google Group, SQA Forums LoadRunner, SQAForums WinRunner, Linkedin LoadRunner, Linkedin LoadRunnerbythehour, The Pithy Performance list)
You can find useful articles on Performance Testing principals and also tips & tricks for performance testing tools (including HP Loadrunner) on this site:
http://www.perftesting.co.uk/
the best way of studying and understanding loadrunner is the buit in tutorial.
after installation you can get a pre-installed 10-day evaluation license, under which you can use the extensive tutorial of writing and creating the script.
good luck!
Start with this,
https://automation-performance.blogs...e-testing.html
Then (in sequence)
https://automation-performance.blogs...oadrunner.html
https://automation-performance.blogs...scripting.html
https://automation-performance.blogs...nner-tool.html
Thereafter few other topics,
https://automation-performance.blogs...oadrunner.html
https://automation-performance.blogs...ttp-codes.html
https://automation-performance.blogs...ation-and.html
Once you are done with these, you will start getting some hang of what you are into.....you can take it forward from there
And for advance learning of Performance Engineering you can go to following link,
https://automation-performance.blogs...gineering.html
I'm looking for some gem/library able to generate administration interface for my RoR3 project.
I don't want to have some library/gem with its own logic and data in some gem repo, I want it to be not just integrated with my app, but be actual part of it, have ability to tweak and modify logic, views, etc...
ATM I've tried rails_admin and it seems to be the best imho, but during development lots of issues came out: i18n issues, additional pages, custom controls, lack of documentation on extending it, ... There's a lot actually. Maybe for something simple its a perfect match, but not for projects requiring complex administration interface.
So any ideas on gem/library I can use?
Thanks.
Active Admin:
Active Admin is a Ruby on Rails plugin for generating administration
style interfaces. It abstracts common business application patterns to
make it simple for developers to implement beautiful and elegant
interfaces with very little effort.
I'm looking for a forum solution for a website I'm building. I'm using Devise and Rails 3, so does there exist any pluggable solutions?
What about 3rd party services?
The goal of Community, is to provide a simple, and easy to setup forum application without having to dictate how your site it setup.
https://github.com/gitt/community
You could build one yourself, you'll be surprised that it's not that time consuming, and you won't have to deal with the bloat that 3rd party solutions might come with. Here is a good place to start.
Savage Beast, Altered Beast and rBoard may be good starting points, but note that they are only for Rails 2.x afaics.
Note: rBoard has a Rails 3 branch but I have no idea how stable that is.
I’m evaluating full text search methods for Rails 3 ATM. Does anyone here have a recommendation? Seems to me as if most of the known methods (Sunspot, Sphinx, Ferret, Xapian) aren’t yet ready for Rails 3. Is that so? At the moment I’ve got plenty of resources left on the machine were I’d like to deploy my app but nevertheless, I’d like to keep the idle load for the search engine as low as possible. I’m planning to use PostgreSQL if that’s of any relevance here.
After some reading I’m almost sure that I’d like to use Sunspot or Xapian. But if there’s any other (and better) solution please tell me :-) Especially regarding Sunspot I’m not sure if it was clever to have a complete Tomcat running in addition to my Rails app. Anyone has experience with this constellation?
Thanks in advance,
Ulf
If you are using PostgreSQL you can get an awful lot out of its built-in text search capabilities before you need to reach for external libraries. I've been using tsearch queries for years with excellent results.
PostgreSQL full text search analyses word proximity to calculate Relevance & ranking and offers useful features like highlighting of search results.
It is also aware of language specific normalisation rules, for example it knows to ignore the s and es pluralization suffixes in English; so searches for 'country' will also bring back highlighted results for 'countries', much the same way that Google does.
I'm not suggesting that you shouldn't use the libraries that you've mentioned, but it is worth investigating the database to see if will already fulfil the majority, if not all of your requirements.
You can use sunspot with Rails3, no problem. We have done so successfully using the sunspot/sunspot_rails gems (1.2.rc4). And it's not too much of a hassle to run Solr within a Tomcat server.
For fulltext-search features you should use a search engine.
For example you could use the Lucene Library with jRuby.
If you like to stay with standard Ruby (cRuby) you coud use Solr.
For rails there are also some Solr plugins:
For example starting with http://wiki.apache.org/solr/SolRuby could be a good idea.
Sunspot is Rails3 ready, we're using it on a few Rails3 apps already. I've had a lot of success with Solr and Sunspot. So much that we're starting a blog series on it