Posted by: fdmanana | May 29, 2010

Message Passing Concurrency in Erlang

An interesting presentation (although nothing particularly new) from Joe Armstrong:

http://www.infoq.com/presentations/Message-Passing-Concurrency

I’m a huge fan of Joe’s way of thinking and doing things – simplicity always embracing reliability.

Advertisements
Posted by: fdmanana | May 28, 2010

Using posix_fadvise

An interesting read about how to optimize IO performance by preserving the Buffer Cache state using the posix_fadvise system call:

http://insights.oetiker.ch/linux/fadvise/

Finally, a patch I submitted sometime ago for Erlang OTP got graduated from their “pu” branch to their “dev” branch:

http://github.com/erlang/otp/commit/be2ebfd0f2b8e15363288d1dab4c177c237e234a

This means it will get into the next official OTP release.

PS: it adds 2 new functions to the file module which are wrappers to the POSIX syscalls posix_fadvise and fdatasync.

Posted by: fdmanana | May 17, 2010

The wavefront pattern

An interesting approach to parallelize algorithms:

http://www.cs.uiuc.edu/homes/snir/PPP/patterns/wavefront.pdf

Posted by: fdmanana | April 24, 2010

Erlang OTP and fdatasync

Just submitted my first patch for Erlang OTP, which got merged into the official erlang/otp branch “pu” (proposed updates). Basically it adds a new function, file:datasync/1, which just calls the POSIX syscall fdatasync. Details at:

http://github.com/erlang/otp/commit/af494d384b2cd3548944124c02d2b0f620654515

http://www.erlang.org/cgi-bin/ezmlm-cgi?3:mss:1027:201004:acehlnoplnkgmakdplah

Posted by: fdmanana | March 19, 2010

Douglas Crockford facts

Funny facts about Douglas Crockford:

http://crockfordfacts.com/

Posted by: fdmanana | March 18, 2010

Useful Git utilities

A couple of useful Git utilities:

http://blog.bitfluent.com/post/27983389/git-utilities-you-cant-live-without

Posted by: fdmanana | March 6, 2010

More Apache CouchDB patches

More CouchDB patches accepted:

https://issues.apache.org/jira/browse/COUCHDB-639

https://issues.apache.org/jira/browse/COUCHDB-681

Thanks to Adam Kocoloski for reviewing them.

Something I was looking for: streaming the body of an HTTP request in Ruby using Net::HTTP. These Ruby folks should definitely add documentation to all the standard library modules and classes.

The corresponding official Ruby doc for Net::HTTPGenericRequest is:

http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTPGenericRequest.html#M000648

(just a list of method signatures)

What I was looking for has a nice example at:

http://stanislavvitvitskiy.blogspot.com/2008/12/multipart-post-in-ruby.html

Ruby folks shouldn’t assume that everybody has the time to read their source code to figure out how to use APIs.

Posted by: fdmanana | February 27, 2010

More Apache CouchDB patches committed

Just got yet more 2 Apache CouchDB patches accepted.

One for a bug fix regarding view indexes:

http://svn.apache.org/viewvc?rev=911544&view=rev
https://issues.apache.org/jira/browse/COUCHDB-640

And another one which implements filtered replication (plus it adds a refactoring of the _changes handler):

https://issues.apache.org/jira/browse/COUCHDB-673

It’s great to participate in such an interesting project with such a great community full of people with bright ideas.
Still cooking more patches for it.

« Newer Posts - Older Posts »

Categories