Cachita is a golang file and memory cache library
- Simple caching with auto type assertion included.
- In memory file cache index to avoid unneeded I/O.
- Msgpack based binary serialization using msgpack library for file caching.
go get -u github.com/gadelkareem/cachita
Ozh’ Tweet Archiver is a WordPress plugin that can archive your tweets on your own blog; it simply creates a new post for each tweet. Additionally, it offers converting hashtags to WordPress tags, and several other features. Nevertheless, one feature, I thought might be interesting, is to process the links on tweets and show them as a Facebook feed. Recently, I modified the code and it worked very well on my blog: Gadelkareem Tweets.
– All we need is to modify the “wp-content/plugins/ozh-tweet-archiver/inc/import.php” file as following:
This is very important performance tuning for any web server more information here
#adduser www first http://gadelkareem.com/2012/02/26/adding-new-users-and-admins-to-linux-server/ ulimit -n unlimited - www #check default number of concurrently open file descriptors cat /proc/sys/fs/file-max #set the number to high value depending on server config echo '1773914' > /proc/sys/fs/file-max echo 'fs.file-max=1773914' >> /etc/sysctl.conf /sbin/sysctl -w fs.file-max=1773914