This link is a topic in stackoverflow, which is talking about comparing well-known NoSQL write operation such as MongoDB, Redis, and Cassandra.
Here: http://stackoverflow.com/questions/3010224/mongodb-vs-redis-vs-cassandra-for-a-fast-write-temporary-row-storage-solution
Pages
Profile
|
|
Hi, I'm Veerapat Sriarunrungrueang, an expert in technology field, especially full stack web development and performance testing.This is my coding diary. I usually develop and keep code snippets or some tricks, and update to this diary when I have time.
Nowadays, I've been giving counsel to many well-known firms in Thailand.
view more... |
Tuesday, December 20, 2011
When Does Amazon EC2 Reserved Instance Pricing Save Money
This blog will show some calculations to find the best usage point from the instance pricing.
Labels:
Amazon EC2,
Cloud Computing
HBase vs Cassandra: why they moved
This link is about the company which changed from HBase to Cassandra. He is working on a brand new product. He will explain why he don't use MySQL, and use NoSQL instead. But, before his team is going to use Cassandra, which is good at scalability and fault-tolelarance, they used HBase. Therefore, in this post he will tell why he changed from HBase to Cassandra.
Here: http://ria101.wordpress.com/2010/02/24/hbase-vs-cassandra-why-we-moved/
Here: http://ria101.wordpress.com/2010/02/24/hbase-vs-cassandra-why-we-moved/
Labels:
Database Technology,
NoSQL
Java vs Python on Hadoop
Normally, in term of programming languages, the scripting languages are surely slower than Java , it mainly because Java has JVM to optimize running programs, also the code will be pre-complied before execution. But, scripting languages like Python usually use interpreter to compile and execute line by line. Still, Hadoop, which is written in Java also provide the universal interface for other languages by using streaming interface. Even, Java can run faster than Python but Python can develop programs faster. Compared to other scripting languages, Python is one of the faster ones after Java.
More details at: http://stackoverflow.com/questions/1482282/java-vs-python-on-hadoop.
More details at: http://stackoverflow.com/questions/1482282/java-vs-python-on-hadoop.
Labels:
Java,
Map-Reduce,
Programming,
Python
Difference between Pig and Hive? Why have both?
There are some arguments in stackoverflow.
Labels:
Map-Reduce
Thursday, December 1, 2011
Benchmark of Python WSGI Web Servers
Take a look this site, http://nichol.as/benchmark-of-python-web-servers. He tried his best to benchmark the different WSGI servers. He presented in graphs to make easy understanding.
Labels:
Internet Technology,
Network,
Python
Monday, November 28, 2011
Run internet required commands behind a proxy server in Linux
Most of the time I need to run a terminal behind a proxy server at my office to run a batch job, and I failed to run it because I don't know how to add proxy server in the terminal. But, now, I just found the command to add a proxy server in Linux. It's very simple just only one line :)
Open terminl and type this command
To remove the proxy server from your network run the following command:
The example above is how bind a proxy server in HTTP protocol.
For the other protocols, e.g. FTP, ... so on. Try to find its variable for binding with a proxy server.
Another protocol that I know is FTP.
FTP => ftp_proxy
If you want to remove it, do the same as the example above.
Good luck ^^.
Open terminl and type this command
# Changing username, password, proxyname, and port to be yours. export http_proxy="http://username:password@proxyname:port" # After that you can test to run behind your proxy server # , simply as following. wget http://www.google.com # If the connection is successful, then you will get the # file from this Google page.
To remove the proxy server from your network run the following command:
# Just delete a proxy sever variable using unsetunset http_proxy # Or set http_proxy to blank export http_proxy=""
The example above is how bind a proxy server in HTTP protocol.
For the other protocols, e.g. FTP, ... so on. Try to find its variable for binding with a proxy server.
Another protocol that I know is FTP.
FTP => ftp_proxy
If you want to remove it, do the same as the example above.
Good luck ^^.
Labels:
Internet Technology,
Linux,
Mac,
Network,
Ubuntu
How to restart Linux network service
Sometime you may need to update your network immediately, e.g. DHCP and IP under a virtualization software, ... so on. The fastest way is to restart the network service.
You need to login as root user before using the following commands!!!
RedHat Linux command to reload or restart network:
Credit: http://theos.in/desktop-linux/tip-that-matters/how-do-i-restart-linux-network-service/
You need to login as root user before using the following commands!!!
RedHat Linux command to reload or restart network:
# To restart Linux network service: $ service network restart or $ /etc/init.d/network restart # To start Linux network service: $ service network start # To stop Linux network service: $ service network stopDebian Linux command to reload or restart network:
# To restart Linux network service: $ /etc/init.d/networking restart # To start Linux network service: $ /etc/init.d/networking start # To stop Linux network service: $ /etc/init.d/networking stopUbuntu Linux user use sudo command with above Debian Linux command:
# To restart Linux network service: $ sudo /etc/init.d/networking restart # To start Linux network service: $ sudo /etc/init.d/networking start # To stop Linux network service: $ sudo /etc/init.d/networking stop
Credit: http://theos.in/desktop-linux/tip-that-matters/how-do-i-restart-linux-network-service/
Tuesday, November 22, 2011
Adding Facebook Like Button to your Blogger posts
According to Blogger default don't provide essential social plugins like "Like-Button" in a post. We, however, can includes it into each of your post easily as the following steps:
- You needs to create an App in Facebook at: https://developers.facebook.com.
- So, you will get the App API key.
- Go to https://developers.facebook.com/docs/reference/plugins/like/ page to customize your Like-Button as your preferred style. After finish, click at get code, then copy that code (HTML5) to somewhere. You will get 2 portions of code, first and second.
- Go to your Blogger template, select edit HTML manually then click at expand the widget because post customization is in the widget portion.
- Go deep to the above widget code zone (almost at the end), or if you can't find you can put it on the top, but this code will be loaded first before loading Blogger data.
- Paste your first half of Facebook code above widget code.
- Next, you need to find the template for each post, then append the second half to that template. For me, I want to append Like-Button followed the default share buttons. So, I will search for "shareButtons". It may have many shareButtons words in your template, but to know the one you want is that it has a code to describe its components e.g. Twitter, Gmail, Facebook, Google+ buttons.
- Finally, append the second half of Facebook code here, but it need to change a "data-href" attribute to be "expr:href" as a Blogger data, and put its value equals to "data:post.url".
For example:
<div class="fb-like" data-send="true" data-show-faces="true" data-width="450" expr:href="data:post.url">
</div>
- Done, save the your code and view your post!!!
Like This Post!!!
Labels:
Facebook,
Internet Technology,
JavaScript,
Programming
Monday, November 21, 2011
Guide to look features for your ADSL Router/Modem
Take a look at http://www.pcworld.idg.com.au/article/199507/adsl_modem_router_/?, it's the very helpful link for computer man :).
Labels:
Network
Subscribe to:
Posts (Atom)