This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@mysql03 disk2]# bonnie++ -u root -d . -s 16G -r 36G -c 64 | |
| Using uid:0, gid:0. | |
| Writing a byte at a time...done | |
| Writing intelligently...done | |
| Rewriting...done | |
| Reading a byte at a time...done | |
| Reading intelligently...done | |
| start 'em...done...done...done...done...done... | |
| Create files in sequential order...done. | |
| Stat files in sequential order...done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@mysql03 disk2]# bonnie++ -u root -d . -s 3G -r 36G -c 32 | |
| Using uid:0, gid:0. | |
| Writing a byte at a time...done | |
| Writing intelligently...done | |
| Rewriting...done | |
| Reading a byte at a time...done | |
| Reading intelligently...done | |
| start 'em...done...done...done...done...done... | |
| Create files in sequential order...done. | |
| Stat files in sequential order...done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hi James, | |
| I would like to introduce you to Clustrix, as I believe you will find it adds tremendous value add in regards to your Web applications at FetLife. Below is a brief overview, and when you have a moment can you let me know if you are the correct person to discuss further. | |
| Clustrix, has developed a distributed, massively parallel scalable database solution, to allow scaling a single database instance infinitely. We have delivered true database scaling with No Limits; our solution can handle any work load, any data layout or any performance requirement. | |
| Seamless drop in deployment that delivers tremendous read/write performance, scalability as well as a fault tolerant, self healing, self managing architecture. The architecture is MySQL wire-line compatible. | |
| Scales performance linearly starting from 3 database nodes to hundreds of nodes in a single cluster. | |
| Automated load-balancing, fail-over & recovery to make it very easy to manage. | |
| A unique feature is the ability to allow for online schema changes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ree-1.8.7-2010.02 > $redis.sismember("feature:whatever:users", 1) | |
| => true | |
| ree-1.8.7-2010.02 > $redis.del("feature:whatever:members") | |
| => false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file | |
| * to you under the Apache License, Version 2.0 (the | |
| * "License"); you may not use this file except in compliance | |
| * with the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ActiveRecord::Base | |
| def destroy | |
| unless new_record? | |
| rows = connection.delete( | |
| "DELETE FROM #{self.class.quoted_table_name} " + | |
| "WHERE #{connection.quote_column_name(self.class.primary_key)} = #{quoted_id}", | |
| "#{self.class.name} Destroy" | |
| ) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >> s | |
| => #<Status id: 10, created_at: "2010-05-11 15:42:27", author_id: 129315, body: "bsdf", last_comment_at: "2010-05-15 16:01:16"> | |
| >> b | |
| => #<Status id: 10, created_at: "2010-05-11 15:42:27", author_id: 129315, body: "bsdf", last_comment_at: "2010-05-15 16:01:16"> | |
| >> s.destroy | |
| => #<Status id: 10, created_at: "2010-05-11 15:42:27", author_id: 129315, body: "bsdf", last_comment_at: "2010-05-15 16:01:16"> | |
| >> s.destroyed? | |
| => true | |
| >> b.destroy | |
| => #<Status id: 10, created_at: "2010-05-11 15:42:27", author_id: 129315, body: "bsdf", last_comment_at: "2010-05-15 16:01:16"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + [[ -z '' ]] | |
| + [[ ! -z '' ]] | |
| + [[ ! -z '' ]] | |
| + [[ ! -z '' ]] | |
| + [[ 2 -gt 0 ]] | |
| + rvm_token=install | |
| + shift | |
| + case "$rvm_token" in | |
| + rvm_action=install | |
| + [[ -z install ]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [james@james-golicks-macbook]$ rvm install jruby | |
| <i> Downloading jruby-bin-1.5.0, this may take a while depending on your connection... </i> | |
| ** Resuming transfer from byte position 316 | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 316 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
| curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume. | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 105 316 105 316 0 0 2248 0 --:--:-- --:--:-- --:--:-- 4579 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pool Name Active Pending Completed | |
| FILEUTILS-DELETE-POOL 0 0 11 | |
| STREAM-STAGE 0 0 0 | |
| RESPONSE-STAGE 0 2 121172824 | |
| ROW-READ-STAGE 1 0 136672853 | |
| LB-OPERATIONS 0 0 0 | |
| MESSAGE-DESERIALIZER-POOL 0 0 145548843 | |
| GMFD 0 0 106156 | |
| LB-TARGET 0 0 0 | |
| CONSISTENCY-MANAGER 0 0 769753 |