Skip to content

Conversation

@towhans
Copy link

@towhans towhans commented Mar 15, 2011

I replaced LWP::UserAgent with WWW::Curl::Easy. Retrieving 1000 documents from DB now takes 3.3 seconds whereas with LWP it took 6.3 seconds (4GB RAM, 4 cores, 32bit Fedora).

I also changed the behavior of dbExists method which is now much faster when there is 20+ dbs in Couch because it does not load the complete database list.

towhans and others added 4 commits March 16, 2011 00:03
- there IS a difference between $a = 3; and $a = "3"; even though undetectable by regexp
- this patch has been used in production for months
- as of now the original couchdb-client by maverick still has this wrong
- encode_json is the fastest stable serialization method in Perl
- example: now it's possible to query view with params ?key=[3,"3"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant