<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Semergence</title>
	<link>http://www.semergence.com</link>
	<description>Semantic Web, Ruby on Rails, and Massive Data</description>
	<pubDate>Sat, 05 Jul 2008 01:40:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>Comment on Scalable Counters for Web Applications by admin</title>
		<link>http://www.semergence.com/2008/06/28/scalable-counters-for-web-applications/#comment-695</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 30 Jun 2008 07:24:39 +0000</pubDate>
		<guid>http://www.semergence.com/2008/06/28/scalable-counters-for-web-applications/#comment-695</guid>
		<description>Hi Peter,

Yes, from Manlius. :)

Second, I'd caution about the message queue.  Where are you going to persist those messages?  Are you concerned about possibly losing them?

Third, if you are using Java, you want to look at AtomicLong.

Fourth, if you have a group of message beans (man, that's old school.  you haven't switched to Spring yet? :) are they going to write to the same counter?  If so, you have the same contention issue.  Or are you going to use partitioned counters?</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Yes, from Manlius. <img src='http://www.semergence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Second, I&#8217;d caution about the message queue.  Where are you going to persist those messages?  Are you concerned about possibly losing them?</p>
<p>Third, if you are using Java, you want to look at AtomicLong.</p>
<p>Fourth, if you have a group of message beans (man, that&#8217;s old school.  you haven&#8217;t switched to Spring yet? <img src='http://www.semergence.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> are they going to write to the same counter?  If so, you have the same contention issue.  Or are you going to use partitioned counters?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scalable Counters for Web Applications by Peter Daly</title>
		<link>http://www.semergence.com/2008/06/28/scalable-counters-for-web-applications/#comment-693</link>
		<dc:creator>Peter Daly</dc:creator>
		<pubDate>Mon, 30 Jun 2008 01:46:52 +0000</pubDate>
		<guid>http://www.semergence.com/2008/06/28/scalable-counters-for-web-applications/#comment-693</guid>
		<description>Here's how I'd tackle this problem...although my mind is thinking in terms of Java solution.

First, you need a single counting entity.  Static session bean type thing.

When it is created, it loads an initial count from a persistent store and sets in it in a variable.

When it is asked to get/increment count it would (in a synchronized/locking method) 
1.  Increment the counter variable
2.  Throw a (small) "hit" event onto a message queue
3.  Return the new value

Problem 1 solved..how to count fast in a synchronized manor.

Problem 2 is left...persisting the data.  There are a few options here.  The most simple option would to have a group of message beans read the queue and write the records to a DB.

This method should be able to scale very well.  For outputting a new "hit" value, no DB read is required.

A fail-over system could be implemented to handle counts for downtime situations with no data loss.

Thanks for giving my brain a simple yet complex problem to crunch on this evening.

Are you the Seth Ladd from Manlius, NY?

Peter Daly</description>
		<content:encoded><![CDATA[<p>Here&#8217;s how I&#8217;d tackle this problem&#8230;although my mind is thinking in terms of Java solution.</p>
<p>First, you need a single counting entity.  Static session bean type thing.</p>
<p>When it is created, it loads an initial count from a persistent store and sets in it in a variable.</p>
<p>When it is asked to get/increment count it would (in a synchronized/locking method)<br />
1.  Increment the counter variable<br />
2.  Throw a (small) &#8220;hit&#8221; event onto a message queue<br />
3.  Return the new value</p>
<p>Problem 1 solved..how to count fast in a synchronized manor.</p>
<p>Problem 2 is left&#8230;persisting the data.  There are a few options here.  The most simple option would to have a group of message beans read the queue and write the records to a DB.</p>
<p>This method should be able to scale very well.  For outputting a new &#8220;hit&#8221; value, no DB read is required.</p>
<p>A fail-over system could be implemented to handle counts for downtime situations with no data loss.</p>
<p>Thanks for giving my brain a simple yet complex problem to crunch on this evening.</p>
<p>Are you the Seth Ladd from Manlius, NY?</p>
<p>Peter Daly</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Proposed Enhancements For Web Browsers by drewp</title>
		<link>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-689</link>
		<dc:creator>drewp</dc:creator>
		<pubDate>Tue, 17 Jun 2008 06:17:06 +0000</pubDate>
		<guid>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-689</guid>
		<description>A more browser-centered solution that doesn't involve changing HTML (!) would be to make a way to temporarily jump back to a designated tab or tabs. I could use that kind of solution on any existing website, not just ones who use your extension. And, the same system would work if there's a little bit more than some commands that I want to easily jump to, e.g. a chat window.

Example implementation: when I'm hovering on a tab and I press ctrl-0, add a [0] to the tab label. I can make 10 such markers with ctrl-0..9. When I press ctrl-0 later, render that [0] tab's page on top of my current page, inset from the edges a little. At the top of the inset render, write "Showing [title of tab], ctrl-0 to close". That will reinforce the idea that this is meant for temporary usage, and that the page I was previously viewing is just underneath the [0] page. I.e. there's a visible stack of two pages.</description>
		<content:encoded><![CDATA[<p>A more browser-centered solution that doesn&#8217;t involve changing HTML (!) would be to make a way to temporarily jump back to a designated tab or tabs. I could use that kind of solution on any existing website, not just ones who use your extension. And, the same system would work if there&#8217;s a little bit more than some commands that I want to easily jump to, e.g. a chat window.</p>
<p>Example implementation: when I&#8217;m hovering on a tab and I press ctrl-0, add a [0] to the tab label. I can make 10 such markers with ctrl-0..9. When I press ctrl-0 later, render that [0] tab&#8217;s page on top of my current page, inset from the edges a little. At the top of the inset render, write &#8220;Showing [title of tab], ctrl-0 to close&#8221;. That will reinforce the idea that this is meant for temporary usage, and that the page I was previously viewing is just underneath the [0] page. I.e. there&#8217;s a visible stack of two pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Proposed Enhancements For Web Browsers by John Hume</title>
		<link>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-687</link>
		<dc:creator>John Hume</dc:creator>
		<pubDate>Sat, 14 Jun 2008 17:53:17 +0000</pubDate>
		<guid>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-687</guid>
		<description>The same context menu could come up when right-clicking a window button on a task bar, for GUIs that have such things. (I can't think of a place where that would appear in OS X.)

I'd also still like to see browsers incorporate buttons for LINK tags specifying next page, previous page, etc.</description>
		<content:encoded><![CDATA[<p>The same context menu could come up when right-clicking a window button on a task bar, for GUIs that have such things. (I can&#8217;t think of a place where that would appear in OS X.)</p>
<p>I&#8217;d also still like to see browsers incorporate buttons for LINK tags specifying next page, previous page, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nest Those Rails Resources Or Make Baby Semantic Web Cry by admin</title>
		<link>http://www.semergence.com/2008/04/02/nest-those-rails-resources-or-make-baby-semantic-web-cry/#comment-686</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 14 Jun 2008 16:55:21 +0000</pubDate>
		<guid>http://www.semergence.com/2008/04/02/nest-those-rails-resources-or-make-baby-semantic-web-cry/#comment-686</guid>
		<description>Really?  There's no redirect for me.</description>
		<content:encoded><![CDATA[<p>Really?  There&#8217;s no redirect for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nest Those Rails Resources Or Make Baby Semantic Web Cry by Marcelo</title>
		<link>http://www.semergence.com/2008/04/02/nest-those-rails-resources-or-make-baby-semantic-web-cry/#comment-685</link>
		<dc:creator>Marcelo</dc:creator>
		<pubDate>Sat, 14 Jun 2008 08:51:36 +0000</pubDate>
		<guid>http://www.semergence.com/2008/04/02/nest-those-rails-resources-or-make-baby-semantic-web-cry/#comment-685</guid>
		<description>How about a redirect though?
twitter.com/home, which when user logged in, goes to
twitter.com/some_user</description>
		<content:encoded><![CDATA[<p>How about a redirect though?<br />
twitter.com/home, which when user logged in, goes to<br />
twitter.com/some_user</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Proposed Enhancements For Web Browsers by Justin</title>
		<link>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-683</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 12 Jun 2008 16:43:06 +0000</pubDate>
		<guid>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-683</guid>
		<description>Isn't IE8 doing something with context menu's? I don't think they are tackling this exact situation, but I know it was something like that.

IE, doing something right? It can't be true!!! &#62;;)</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t IE8 doing something with context menu&#8217;s? I don&#8217;t think they are tackling this exact situation, but I know it was something like that.</p>
<p>IE, doing something right? It can&#8217;t be true!!! &gt;;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Proposed Enhancements For Web Browsers by Colm Kennedy</title>
		<link>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-682</link>
		<dc:creator>Colm Kennedy</dc:creator>
		<pubDate>Wed, 11 Jun 2008 11:33:38 +0000</pubDate>
		<guid>http://www.semergence.com/2008/06/10/proposed-enhancements-for-web-browsers/#comment-682</guid>
		<description>lot to be said for just sticking to just? documents [...]</description>
		<content:encoded><![CDATA[<p>lot to be said for just sticking to just? documents [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Google&#8217;s App Engine To Force Me To Learn Django by Aytas</title>
		<link>http://www.semergence.com/2008/04/07/time-to-learn-django/#comment-615</link>
		<dc:creator>Aytas</dc:creator>
		<pubDate>Thu, 24 Apr 2008 04:27:04 +0000</pubDate>
		<guid>http://www.semergence.com/2008/04/07/time-to-learn-django/#comment-615</guid>
		<description>Nice post.  AppEngine is exciting enough for me. BTW I see that you are interested in OLAP. Are you working on anything specific? 

-Aytas.</description>
		<content:encoded><![CDATA[<p>Nice post.  AppEngine is exciting enough for me. BTW I see that you are interested in OLAP. Are you working on anything specific? </p>
<p>-Aytas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on RSpec is Fun by Nodalities &#187; Blog Archive &#187; This Week&#8217;s Semantic Web</title>
		<link>http://www.semergence.com/2008/03/19/rspec-is-fun/#comment-597</link>
		<dc:creator>Nodalities &#187; Blog Archive &#187; This Week&#8217;s Semantic Web</dc:creator>
		<pubDate>Thu, 17 Apr 2008 16:53:56 +0000</pubDate>
		<guid>http://www.semergence.com/2008/03/19/rspec-is-fun/#comment-597</guid>
		<description>[...] RSpec is Fun [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] RSpec is Fun [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
