I initially had some trouble understanding Riak Core. There are quite a few resources, but for a newbie such as myself it is not easy to know where to start, where to go next, et cetera. Here’s what worked for me:
One of the applications I’m developing consumes a rate limited web
service. I’m allowed a maximum of 10 requests per second. I came up
gen_server based solution described below.
Huffman coding is one of the earliest and best-know methods of text compression. It uses the same principle as Morse code: common symbols are coded in just a few bits, while rare ones have longer codewords.