<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for brettdargan.com</title>
	<atom:link href="http://brettdargan.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettdargan.com/blog</link>
	<description>&#955; Thoughts and rants</description>
	<lastBuildDate>Mon, 28 Nov 2011 14:13:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Query vs. Matrix Params or Path Params by Bibin sunny</title>
		<link>http://brettdargan.com/blog/2009/01/16/query-vs-matrix-params/comment-page-1/#comment-728</link>
		<dc:creator>Bibin sunny</dc:creator>
		<pubDate>Mon, 28 Nov 2011 14:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/?p=211#comment-728</guid>
		<description>cool man ...a new piece of information</description>
		<content:encoded><![CDATA[<p>cool man &#8230;a new piece of information</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Query vs. Matrix Params or Path Params by James Collins</title>
		<link>http://brettdargan.com/blog/2009/01/16/query-vs-matrix-params/comment-page-1/#comment-721</link>
		<dc:creator>James Collins</dc:creator>
		<pubDate>Tue, 19 Jul 2011 22:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/?p=211#comment-721</guid>
		<description>Thanks, Brett!</description>
		<content:encoded><![CDATA[<p>Thanks, Brett!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Query vs. Matrix Params or Path Params by admin</title>
		<link>http://brettdargan.com/blog/2009/01/16/query-vs-matrix-params/comment-page-1/#comment-720</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 18 Jul 2011 03:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/?p=211#comment-720</guid>
		<description>site5 moved hosts recently.

here is a dump of the raw content in the mean time.

I&#039;ve come across a few posts about Matrix Parameters recently and there is a lot of misunderstanding.

There are several old posts that discuss and describe these things:

* `Query Strings Considered Harmful `_
* `w3c MatrixURIs `_


I&#039;ve summarised what I think is important:
 - urls with query params `won&#039;t have their response cached by intermediaries/proxies (at present)`_
 - matrix parameters may appear anywhere in path
 - `calculating the relative uri`_ is different
 - much more than uri convention

 - query params are generally abused to add new verbs instead of using existing methods on resources
 - matrix parameters are not resources, they are aspects that help reference a resource in an information space that is difficult to represent within a hierarchy
 
**Tip: If you&#039;re not sure if you should use them then don&#039;t.**

Matrix parameters are used with 
 * `YUI paging widgets `_
 * `RoR`_ /some/resource/id;edit
 * J2ee fallsback to ;jsessionid=xxx when no cookies can be set.
 * `Jersey (JAX-RS RefImpl) has good support `_

.. _RoR: http://rails.org

.. _won&#039;t have their response cached by intermediaries/proxies (at present):

Caching Issues
~~~~~~~~~~~~~~~

Intermediaries (proxies) won&#039;t cache any url with a query parameter in the url
  * this is because in the early days of the web, they didn&#039;t trust the Cache control information from dynamically generated pages. 
  * Freshness and Validation information are very important pieces of information and the proxy admins took a cautious stance and didn&#039;t cache any of it. 

As the web has matured the views of devs/admins are changing, the new versions of Squid will default to cache any urls with query parameters

Obviously this could have a very large impact, I&#039;ve heard google maps image tiles had this issue with some proxies at one time.

.. _calculating the relative uri:

Relative URI calculations
~~~~~~~~~~~~~~~~~~~~~~~~~

Relative URIs have different affects, as relatives URLs are determined by appending to the Base URI. For Query Parameter requests they are stripped from the Base.

For those still interested I would recommend checking out the following in addition to the `RFC-2616 `_ of course.

 * `the matrix revisited `_
 * `PathsAndQueryStrings `_
 * `http url path parameter syntax `_
 * `Building URIs `_</description>
		<content:encoded><![CDATA[<p>site5 moved hosts recently.</p>
<p>here is a dump of the raw content in the mean time.</p>
<p>I&#8217;ve come across a few posts about Matrix Parameters recently and there is a lot of misunderstanding.</p>
<p>There are several old posts that discuss and describe these things:</p>
<p>* `Query Strings Considered Harmful `_<br />
* `w3c MatrixURIs `_</p>
<p>I&#8217;ve summarised what I think is important:<br />
 &#8211; urls with query params `won&#8217;t have their response cached by intermediaries/proxies (at present)`_<br />
 &#8211; matrix parameters may appear anywhere in path<br />
 &#8211; `calculating the relative uri`_ is different<br />
 &#8211; much more than uri convention</p>
<p> &#8211; query params are generally abused to add new verbs instead of using existing methods on resources<br />
 &#8211; matrix parameters are not resources, they are aspects that help reference a resource in an information space that is difficult to represent within a hierarchy</p>
<p>**Tip: If you&#8217;re not sure if you should use them then don&#8217;t.**</p>
<p>Matrix parameters are used with<br />
 * `YUI paging widgets `_<br />
 * `RoR`_ /some/resource/id;edit<br />
 * J2ee fallsback to ;jsessionid=xxx when no cookies can be set.<br />
 * `Jersey (JAX-RS RefImpl) has good support `_</p>
<p>.. _RoR: <a href="http://rails.org" rel="nofollow">http://rails.org</a></p>
<p>.. _won&#8217;t have their response cached by intermediaries/proxies (at present):</p>
<p>Caching Issues<br />
~~~~~~~~~~~~~~~</p>
<p>Intermediaries (proxies) won&#8217;t cache any url with a query parameter in the url<br />
  * this is because in the early days of the web, they didn&#8217;t trust the Cache control information from dynamically generated pages.<br />
  * Freshness and Validation information are very important pieces of information and the proxy admins took a cautious stance and didn&#8217;t cache any of it. </p>
<p>As the web has matured the views of devs/admins are changing, the new versions of Squid will default to cache any urls with query parameters</p>
<p>Obviously this could have a very large impact, I&#8217;ve heard google maps image tiles had this issue with some proxies at one time.</p>
<p>.. _calculating the relative uri:</p>
<p>Relative URI calculations<br />
~~~~~~~~~~~~~~~~~~~~~~~~~</p>
<p>Relative URIs have different affects, as relatives URLs are determined by appending to the Base URI. For Query Parameter requests they are stripped from the Base.</p>
<p>For those still interested I would recommend checking out the following in addition to the `RFC-2616 `_ of course.</p>
<p> * `the matrix revisited `_<br />
 * `PathsAndQueryStrings `_<br />
 * `http url path parameter syntax `_<br />
 * `Building URIs `_</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Query vs. Matrix Params or Path Params by James Collins</title>
		<link>http://brettdargan.com/blog/2009/01/16/query-vs-matrix-params/comment-page-1/#comment-719</link>
		<dc:creator>James Collins</dc:creator>
		<pubDate>Wed, 13 Jul 2011 16:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/?p=211#comment-719</guid>
		<description>Hi Brett, the content for this post seems to have disappeared. I would be very grateful if I could see a copy. We&#039;re having a discussion on my firm on query parameters vs. matrix parameters in RESTful service URIs. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Brett, the content for this post seems to have disappeared. I would be very grateful if I could see a copy. We&#8217;re having a discussion on my firm on query parameters vs. matrix parameters in RESTful service URIs. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Data Recovery from SD Memory Card by Metal Halide Lamp :</title>
		<link>http://brettdargan.com/blog/2006/04/16/data-recovery-from-sd-memory-card/comment-page-1/#comment-705</link>
		<dc:creator>Metal Halide Lamp :</dc:creator>
		<pubDate>Fri, 22 Oct 2010 16:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/?p=69#comment-705</guid>
		<description>i had my 1TB hard drive crashed and data recovery was horrendously expensive,::</description>
		<content:encoded><![CDATA[<p>i had my 1TB hard drive crashed and data recovery was horrendously expensive,::</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Experimental Java Circuit Breaker Pattern Implementation by admin</title>
		<link>http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/comment-page-1/#comment-704</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 21 Oct 2010 22:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/#comment-704</guid>
		<description>thnx, kudos to @mtnygard for the great book.</description>
		<content:encoded><![CDATA[<p>thnx, kudos to @mtnygard for the great book.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Experimental Java Circuit Breaker Pattern Implementation by Mike</title>
		<link>http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/comment-page-1/#comment-703</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 21 Oct 2010 16:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/#comment-703</guid>
		<description>Nice work on the circuit breaker patern</description>
		<content:encoded><![CDATA[<p>Nice work on the circuit breaker patern</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Experimental Java Circuit Breaker Pattern Implementation by Artur Ejsmont</title>
		<link>http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/comment-page-1/#comment-696</link>
		<dc:creator>Artur Ejsmont</dc:creator>
		<pubDate>Sat, 17 Jul 2010 11:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/#comment-696</guid>
		<description>Here is another article with diagrams and simple interfaces

http://artur.ejsmont.org/blog/PHP-Circuit-Breaker-initial-Zend-Framework-proposal</description>
		<content:encoded><![CDATA[<p>Here is another article with diagrams and simple interfaces</p>
<p><a href="http://artur.ejsmont.org/blog/PHP-Circuit-Breaker-initial-Zend-Framework-proposal" rel="nofollow">http://artur.ejsmont.org/blog/PHP-Circuit-Breaker-initial-Zend-Framework-proposal</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JVM Monitoring with SNMP by G</title>
		<link>http://brettdargan.com/blog/2005/04/01/jvm-monitoring-with-snmp/comment-page-1/#comment-694</link>
		<dc:creator>G</dc:creator>
		<pubDate>Thu, 24 Jun 2010 19:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/?p=42#comment-694</guid>
		<description>when I do a snmpwalk I get the following result:

C:\usr\bin&gt;snmpwalk -c public -v2c localhost:163 1.3.6.1.4.1.42.2.145.3.163.1.1.3.6 
JVM-MANAGEMENT-MIB::jvmThreadCpuTimeMonitoring = No Such Object available on this agent at this OID

Anyone know why???


My Platform is Windows 2003 and have done the following to get Java apps monitored with Cacti.
 
- I have placed &quot;JVM-MANAGEMENT-MIB.txt&quot; in the mibs directory C:\usr\share\snmp\mibs
- changed the SNMP port TO run on port 163 instead of 161 under C:\WINDOWS\system32\drivers\etc\services 
- Installed Net-SNMP and have it running as a service
- copied C:\Java\jdk-1.6-32\jre\lib\management\snmp.acl.template to copied C:\Java\jdk-1.6-32\jre\lib\management\snmp.acl
	- set the following options in snmp.acl 

		acl ={
			
{
		
	communities = public

			access = read-only
                	managers = localhost
		     
	}
                
     } 

- Set the following parameters via wrapper.conf file for my java application:
	
	wrapper.java.additional.1=-Dcom.sun.management.snmp.interface=0.0.0.0
	wrapper.java.additional.2=-Dcom.sun.management.snmp.port=163
	wrapper.java.additional.3=-Dcom.sun.management.snmp.acl=true
	wrapper.java.additional.4=-Dcom.sun.management.snmp.acl.file=C:\Java\jdk-1.6-32\jre\lib\management\snmp.acl
	
- set the following in my snmpd.conf file:
        proxy -v 2c -c public localhost:163 .1.3.6.1.4.1.42


This is a compilation of steps that I have researched and implemented. 

What am I missing here? Any input would be greatly appreciated!</description>
		<content:encoded><![CDATA[<p>when I do a snmpwalk I get the following result:</p>
<p>C:\usr\bin&gt;snmpwalk -c public -v2c localhost:163 1.3.6.1.4.1.42.2.145.3.163.1.1.3.6<br />
JVM-MANAGEMENT-MIB::jvmThreadCpuTimeMonitoring = No Such Object available on this agent at this OID</p>
<p>Anyone know why???</p>
<p>My Platform is Windows 2003 and have done the following to get Java apps monitored with Cacti.</p>
<p>- I have placed &#8220;JVM-MANAGEMENT-MIB.txt&#8221; in the mibs directory C:\usr\share\snmp\mibs<br />
- changed the SNMP port TO run on port 163 instead of 161 under C:\WINDOWS\system32\drivers\etc\services<br />
- Installed Net-SNMP and have it running as a service<br />
- copied C:\Java\jdk-1.6-32\jre\lib\management\snmp.acl.template to copied C:\Java\jdk-1.6-32\jre\lib\management\snmp.acl<br />
	- set the following options in snmp.acl </p>
<p>		acl ={</p>
<p>{</p>
<p>	communities = public</p>
<p>			access = read-only<br />
                	managers = localhost</p>
<p>	}</p>
<p>     } </p>
<p>- Set the following parameters via wrapper.conf file for my java application:</p>
<p>	wrapper.java.additional.1=-Dcom.sun.management.snmp.interface=0.0.0.0<br />
	wrapper.java.additional.2=-Dcom.sun.management.snmp.port=163<br />
	wrapper.java.additional.3=-Dcom.sun.management.snmp.acl=true<br />
	wrapper.java.additional.4=-Dcom.sun.management.snmp.acl.file=C:\Java\jdk-1.6-32\jre\lib\management\snmp.acl</p>
<p>- set the following in my snmpd.conf file:<br />
        proxy -v 2c -c public localhost:163 .1.3.6.1.4.1.42</p>
<p>This is a compilation of steps that I have researched and implemented. </p>
<p>What am I missing here? Any input would be greatly appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Experimental Java Circuit Breaker Pattern Implementation by admin</title>
		<link>http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/comment-page-1/#comment-683</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 03 Jan 2010 12:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://brettdargan.com/blog/2007/12/15/experimental-circuit-breaker-pattern-implementation/#comment-683</guid>
		<description>I was in a rush to write it up, hence the warning and the lack of a real supported project. 

I left out explicit thread safety so you get to choose how much safety and liveness you want/need. 

The other impl looks ok, but it is lacking in some areas, biggest one for me is: tests and logging.</description>
		<content:encoded><![CDATA[<p>I was in a rush to write it up, hence the warning and the lack of a real supported project. </p>
<p>I left out explicit thread safety so you get to choose how much safety and liveness you want/need. </p>
<p>The other impl looks ok, but it is lacking in some areas, biggest one for me is: tests and logging.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

