Skip to content

Commit

Permalink
okay - <tt> is actually the right thing here
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgolick committed Nov 10, 2012
1 parent 17737d4 commit 5608e57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Expand Up @@ -6,13 +6,13 @@ Feature flippers.


As of rollout-2.x, only one key is used per feature for performance reasons. The data format is <tt>percentage|user_id,user_id,...|group,_group...</tt>. This has the effect of making concurrent feature modifications unsafe, but in practice, I doubt this will actually be a problem. As of rollout-2.x, only one key is used per feature for performance reasons. The data format is <tt>percentage|user_id,user_id,...|group,_group...</tt>. This has the effect of making concurrent feature modifications unsafe, but in practice, I doubt this will actually be a problem.


This also has the effect of rollout no longer being dependent on redis. Just give it something that responds to `set(key,value)` and `get(key)` This also has the effect of rollout no longer being dependent on redis. Just give it something that responds to <tt>set(key,value)</tt> and <tt>get(key)</tt>.


If you have been using the 1.x format, you can initialize Rollout with `:migrate => true` and it'll do its best to automatically migrate your old features to the new format. There will be some performance impact, but it should be limited and short-lived since each feature only needs to get migrated once. If you have been using the 1.x format, you can initialize Rollout with <tt>:migrate => true</tt> and it'll do its best to automatically migrate your old features to the new format. There will be some performance impact, but it should be limited and short-lived since each feature only needs to get migrated once.


== Rollout::Legacy == Rollout::Legacy


If you'd prefer to continue to use the old layout in redis, `Rollout::Legacy` is a copy and paste of the old code :-). If you'd prefer to continue to use the old layout in redis, <tt>Rollout::Legacy</tt> is a copy and paste of the old code :-).


== Install it == Install it


Expand Down

0 comments on commit 5608e57

Please sign in to comment.