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 MyHTTP < Net::HTTP | |
def on_connect() | |
@socket.io.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) | |
end | |
end | |
MyHTTP.new(host, port).start do |http| | |
for x in 0..n | |
req = Net::HTTP::Get.new("http://#{host}:#{port}/rest/of/url") | |
req.add_field('Connection', 'keep-alive') |
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
couchbase-single-server-community_x86_2.0.0-dev-preview-3.rpm.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
// originally generated by pegjs, from tmp/rules.rb and bubble-to-pegjs_ex.rb | |
// and manually edited for pegjs suitability. Rules with indentation | |
// or with comments have manual edits. | |
// | |
start = sql_stmt_list | |
sql_stmt_list = | |
( whitespace ( sql_stmt )? whitespace semicolon )+ | |
sql_stmt = |
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
RDBMS schema safety tips & common practices... | |
- define primary keys, even if artificial | |
- normalize your schema, and denormalize carefully | |
- use indexes judiciously | |
- distributed 2PC is a tool best left in the toolbox | |
- __many more known relational schema and modeling tips & tricks go here, but too lazy to type__ | |
Document database / couchdb "schema" safety tips & common practices... |
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
=== modified file 'clients/memcapable.c' | |
--- clients/memcapable.c 2010-07-28 18:48:18 +0000 | |
+++ clients/memcapable.c 2010-08-08 21:12:10 +0000 | |
@@ -1869,8 +1869,10 @@ | |
const char *hostname= "localhost"; | |
const char *port= "11211"; | |
int cmd; | |
+ bool prompt = false; | |
+ const char *testname= NULL; | |
NewerOlder