If you have been involved in troubleshooting web applications providing APIs to clients, you know how easier it is to have the actual request sent from client and be able to replay that against your server code to find the problem. Tools we use in my team is WireShark and NCAT. When QA team finds a problem, we always ask for the WireShark capture of the communication. More...
cfa55358-2272-455b-8469-5231f4a804d4|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
I'm heavily depending on ASP.net performance counters to keep track of web application activity. After years of using IIS URL Rewrite to rewrite ASP.net 2.0 applications with no issue, we upgraded to ASP.net 4.0 and suddenly noticed a 100% jump in number of requests processed per second. I did a lot of search to understand why and could not find anything. More...
48514733-83bb-42f4-9cd2-578ca9d840be|2|4.5|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
1. August 2012 02:43
/
Administrator
/
/
Comments (0)
There are many great articles on the internet comparing MS SQL server and AppFabric, and all of them show how AppFabric has better performance over SQL server. It is completely understandable that with complex queries, AppFabric would out perform SQL server. But in an environment where you have a huge number of very small objects to be cached and looked up, AppFabric shows very weak results. More...
adbef239-4ff4-4339-86fa-72b87c540f0e|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
5. April 2012 08:56
/
Administrator
/
/
Comments (0)
Recently I spent numerous hours trying to find out how I can pass more parameters than just a path to my custom Deployment provider. It is amazin how simple it is when you finally find the solution. In my case, I needed to send a key-value pair from my C# code to the provider, so it can find the key in a config file and change the value for me. Here is the code for the calling program:More...
70de7eec-c622-4e2a-9196-39feef82b2ab|2|4.5|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
13. March 2012 17:39
/
Administrator
/
/
Comments (0)
Information about Web Farm Framework API is hard to find, so I think this may help some others like me who are interested in using WFF and web deploy APIs.
In this case, I wanted to get a list of all servers in a particular Web Farm and then push a file to all of them.
First step is to add references to these libreries in your project:
Microsoft.Web.Deployment
Microsoft.web.Farm
The DLLs for these libraries are located in respective folders under C:\Program Files\IIS
I used the following helper methods to do what I needed.More...
e6b4883e-585d-4fa7-8def-9a7499dec295|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
SQL Server Reporting services provides a decent reporting framework, and in 2008 release of SQL server, it is even better than previous versions. SSRS allows you to use many different types of data sources in your reports, but when I decided to add some reports with MySql sources, it was lacking data source type for it. With some research on the net, I realized it should be possible to add MySql data sources to both Visual Studio report designer and to the reporting services itself. More...
263b7ce3-0b5d-40e8-9745-e0f92682d30a|8|4.8|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
if you already have nagios setup to monitor your servers, it's a good idea to use it to monitor your hadoop data nodes as well. you can use nrpe to call your dfs monitoring plugin. I found this blog post about setting up nrpe on CentOS extremely useful. The only trick to get it to work was to also setup rpmforge repositories for yum, so it finds the nrpe packages (nagios-nrpe and nagios-plugins-nrpe).
The next step was to add monitoring script for hadoop dfs, which I found here. Since I was using hadoop 0.20.2, I had to make some changes to the script to correctly parse values out of the dfs report:More...
6a4718f0-6ecd-4bfd-937a-288e4babd120|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
In a previous post I showed how to setup Hadoop/Hive to use Derby in server mode as the metastore. Many believe MySQL is a better choice for such purpose, so here I'm going to show how we can configure our cluster which we created previously to use a MySQL server as the metastore for Hive.
First we need to install MySQL. In this scenario, I'm going to install MySQL on our Master node, which is named centos1. More...
9f918389-68c0-4510-9017-0850f52a9e4f|2|3.5|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
18. November 2009 23:10
/
Administrator
/
hadoop
/
Comments (0)
If you are reading this post chances are you are trying to setup a hadoop/hive cluster. I hope these instructions save you some time with your installation.
Install CentOS:
I assume you are starting from scratch and want to setup a small cluster with minimum OS components (as far as I could minimize it). To start, download the OS setup media, and boot each machine with it. Go through the More...
c0ee2df5-1524-48ad-96f4-83005c9d580d|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
After realizing that asp.net menu is generating a huge HTML and causes the application pages to be large and slow, I decided to use CSS friendly control adapters. It reduced the page size by 50 KB, but I had some challenges to get it to show the way I wanted it. Here I want to share some of the things I learned along the way:More...
c0f9c6dc-12da-4c40-afe6-3798d78ee52b|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :