<HTML><HEAD>
<META http-equiv=Content-Type content='text/html; charset=windows-1252'>
<title>Samsung Enterprise Portal mySingle</title>
<style> P, td, li {font-family:Arial, arial; font-size:9pt; margin-top:5px;margin-bottom:5px;} body{font-family:Arial, arial; font-size:9pt;}</style>
</HEAD><BODY><br>hi madi,
<p>thanks for your valuable thoughts.</p>
<p>we are using C &amp; C++ for our software development .</p>
<p>so what i have concluded from your response is that D BUS is a one step towards 
organized application development with security and durability still i feel 
that if we will carefully do the profiling we can further reduce the latency 
.</p>
<p>but still my doubt is that, will that low latency will improve the user experience 
on hand held devices or mobiles further or there are other factors to be considered 
also.</p>
<p>i know that my queries are going out of the scope of the forum i may be wrong 
but i like pingging thinking heads.</p>
<p>deepesh</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p><p>&nbsp;</p><br><br>------- <b>Original Message</b> -------<br><b>Sender</b> : Madison Kelly&lt;linux@alteeve.com&gt;<br><b>Date</b>   : Aug 27, 2008 20:59 (GMT+09:00)<br><b>Title</b>  : Re: D BUS for real time application<br><br>DEEPESH&nbsp;SINGH&nbsp;wrote:
<br>&gt;&nbsp;
<br>&gt;&nbsp;Hi&nbsp;Madi,
<br>&gt;&nbsp;
<br>&gt;&nbsp;Actually&nbsp;we&nbsp;are&nbsp;having&nbsp;a&nbsp;application&nbsp;framework&nbsp;which&nbsp;is&nbsp;having&nbsp;three&nbsp;
<br>&gt;&nbsp;important&nbsp;blocks&nbsp;like&nbsp;server&nbsp;which&nbsp;provides&nbsp;complete&nbsp;library&nbsp;support&nbsp;and&nbsp;
<br>&gt;&nbsp;binary&nbsp;support&nbsp;for&nbsp;running&nbsp;the&nbsp;application&nbsp;then&nbsp;there&nbsp;is&nbsp;a&nbsp;application&nbsp;
<br>&gt;&nbsp;launcher&nbsp;which&nbsp;launches&nbsp;the&nbsp;application&nbsp;and&nbsp;the&nbsp;most&nbsp;important&nbsp;is&nbsp;the&nbsp;
<br>&gt;&nbsp;IPC&nbsp;among&nbsp;them&nbsp;which&nbsp;is&nbsp;D&nbsp;BUS&nbsp;.
<br>&gt;&nbsp;
<br>&gt;&nbsp;D&nbsp;BUS&nbsp;is&nbsp;responsible&nbsp;for&nbsp;every&nbsp;request&nbsp;for&nbsp;launching&nbsp;of&nbsp;application&nbsp;and&nbsp;
<br>&gt;&nbsp;inbetween&nbsp;remote&nbsp;procedure&nbsp;call&nbsp;and&nbsp;inter&nbsp;process&nbsp;communication&nbsp;apart&nbsp;
<br>&gt;&nbsp;from&nbsp;D&nbsp;BUS&nbsp;we&nbsp;are&nbsp;also&nbsp;using&nbsp;SOCKET&nbsp;for&nbsp;the&nbsp;same&nbsp;my&nbsp;observation&nbsp;says&nbsp;
<br>&gt;&nbsp;that&nbsp;SOCKET&#39;S&nbsp;are&nbsp;much&nbsp;faster&nbsp;then&nbsp;using&nbsp;D&nbsp;BUS&nbsp;i&nbsp;may&nbsp;be&nbsp;wrong&nbsp;correct&nbsp;me&nbsp;
<br>&gt;&nbsp;if&nbsp;it&nbsp;is&nbsp;so.
<br>&gt;&nbsp;
<br>&gt;&nbsp;Apart&nbsp;from&nbsp;that&nbsp;what&nbsp;i&nbsp;think&nbsp;is&nbsp;if&nbsp;we&nbsp;will&nbsp;develop&nbsp;a&nbsp;interface&nbsp;for&nbsp;every&nbsp;
<br>&gt;&nbsp;kind&nbsp;of&nbsp;application&nbsp;like&nbsp;web&nbsp;browser,media&nbsp;player&nbsp;etc.&nbsp;we&nbsp;will&nbsp;make&nbsp;the&nbsp;
<br>&gt;&nbsp;system&nbsp;drastically&nbsp;fast&nbsp;and&nbsp;systematic&nbsp;and&nbsp;easy&nbsp;to&nbsp;handle&nbsp;coz&nbsp;finally&nbsp;
<br>&gt;&nbsp;each&nbsp;application&nbsp;requires&nbsp;some&nbsp;sort&nbsp;of&nbsp;remote&nbsp;procedure&nbsp;call&nbsp;or&nbsp;
<br>&gt;&nbsp;interdependency&nbsp;,now&nbsp;my&nbsp;doubt&nbsp;is&nbsp;will&nbsp;it&nbsp;be&nbsp;possible&nbsp;to&nbsp;use&nbsp;D&nbsp;BUS&nbsp;as&nbsp;
<br>&gt;&nbsp;total&nbsp;solution&nbsp;or&nbsp;mixed&nbsp;of&nbsp;D&nbsp;BUS&nbsp;and&nbsp;socket&nbsp;,&nbsp;will&nbsp;D&nbsp;BUS&nbsp;will&nbsp;be&nbsp;able&nbsp;to&nbsp;
<br>&gt;&nbsp;provide&nbsp;this&nbsp;much&nbsp;throughput&nbsp;or&nbsp;not&nbsp;.
<br>&gt;&nbsp;
<br>&gt;&nbsp;Regards,
<br>&gt;&nbsp;
<br>&gt;&nbsp;Deepesh
<br>
<br>&nbsp;From&nbsp;what&nbsp;I&nbsp;gather,&nbsp;I&nbsp;think&nbsp;D-Bus&nbsp;will&nbsp;work&nbsp;for&nbsp;you&nbsp;just&nbsp;fine.
<br>
<br>If&nbsp;you&nbsp;want&nbsp;to&nbsp;push&nbsp;large&nbsp;amounts&nbsp;of&nbsp;data&nbsp;between&nbsp;applications,&nbsp;a&nbsp;socket&nbsp;
<br>will&nbsp;likely&nbsp;still&nbsp;be&nbsp;your&nbsp;best&nbsp;bet.&nbsp;According&nbsp;to&nbsp;the&nbsp;D-Bus&nbsp;FAQ,&nbsp;a&nbsp;socket&nbsp;
<br>file&nbsp;is&nbsp;roughly&nbsp;2.5&nbsp;times&nbsp;faster&nbsp;than&nbsp;D-Bus&nbsp;for&nbsp;raw&nbsp;throughput.&nbsp;The&nbsp;
<br>reason&nbsp;is&nbsp;that&nbsp;D-Bus&nbsp;does&nbsp;a&nbsp;lot&nbsp;more&nbsp;than&nbsp;just&nbsp;pass&nbsp;messages;&nbsp;Life&nbsp;cycle&nbsp;
<br>tracking,&nbsp;security&nbsp;and&nbsp;routing.&nbsp;This&nbsp;added&nbsp;overhead&nbsp;comes&nbsp;at&nbsp;a&nbsp;cost.
<br>
<br>For&nbsp;getting&nbsp;messages&nbsp;between&nbsp;applications&nbsp;though,&nbsp;D-Bus&nbsp;is&nbsp;very&nbsp;quick.&nbsp;
<br>The&nbsp;main&nbsp;benefits&nbsp;of&nbsp;D-Bus&nbsp;are:
<br>
<br>-&nbsp;You&nbsp;get&nbsp;methods&nbsp;accessible&nbsp;to&nbsp;anything&nbsp;on&nbsp;the&nbsp;same&nbsp;D-Bus,&nbsp;regardless&nbsp;
<br>of&nbsp;programming&nbsp;language.&nbsp;All&nbsp;you&nbsp;need&nbsp;to&nbsp;know&nbsp;about&nbsp;a&nbsp;published&nbsp;method&nbsp;
<br>is&nbsp;what&nbsp;types&nbsp;of&nbsp;input&nbsp;parameters&nbsp;you&nbsp;need&nbsp;to&nbsp;pass&nbsp;it&nbsp;and&nbsp;what&nbsp;return&nbsp;
<br>parameters&nbsp;to&nbsp;expect&nbsp;back,&nbsp;if&nbsp;any.
<br>
<br>-&nbsp;You&nbsp;get&nbsp;life&nbsp;cycle&nbsp;tracking.&nbsp;D-Bus&nbsp;will&nbsp;let&nbsp;your&nbsp;application&nbsp;know&nbsp;when&nbsp;
<br>a&nbsp;listener&nbsp;or&nbsp;service&nbsp;provider&nbsp;goes&nbsp;offline.&nbsp;You&nbsp;can&nbsp;use&nbsp;something&nbsp;like&nbsp;
<br>this&nbsp;to&nbsp;trigger&nbsp;checks&nbsp;on&nbsp;a&nbsp;server&nbsp;and&nbsp;restart&nbsp;it&nbsp;after&nbsp;a&nbsp;crash,&nbsp;for&nbsp;
<br>example.
<br>
<br>If&nbsp;you&nbsp;do&nbsp;want&nbsp;to&nbsp;transfer&nbsp;a&nbsp;lot&nbsp;of&nbsp;data,&nbsp;you&nbsp;would&nbsp;probably&nbsp;be&nbsp;
<br>successful&nbsp;at&nbsp;combining&nbsp;a&nbsp;D-Bus&nbsp;for&nbsp;message&nbsp;passing&nbsp;and&nbsp;control&nbsp;with&nbsp;
<br>tradition&nbsp;sockets&nbsp;for&nbsp;file&nbsp;transfer.&nbsp;This&nbsp;would&nbsp;give&nbsp;you&nbsp;the&nbsp;nice&nbsp;
<br>benefits&nbsp;and&nbsp;security&nbsp;of&nbsp;D-Bus&nbsp;with&nbsp;the&nbsp;bandwidth&nbsp;you&nbsp;want.
<br>
<br>I&nbsp;would&nbsp;love&nbsp;to&nbsp;hear&nbsp;other&nbsp;people&nbsp;on&nbsp;this&nbsp;list&nbsp;let&nbsp;me&nbsp;know&nbsp;what&nbsp;they&nbsp;
<br>think&nbsp;of&nbsp;my&nbsp;assessment&nbsp;of&nbsp;your&nbsp;needs&nbsp;and&nbsp;D-Bus.&nbsp;In&nbsp;the&nbsp;mean&nbsp;time,&nbsp;please&nbsp;
<br>feel&nbsp;free&nbsp;to&nbsp;ask&nbsp;any&nbsp;more&nbsp;questions.
<br>
<br>Madi
<br>
<br>PS&nbsp;-&nbsp;What&nbsp;programming&nbsp;language(s)&nbsp;are&nbsp;you&nbsp;using?
<br>
<br><p>&nbsp;</p><p>&nbsp;</p><!--SP:deepesh.t--><!--deepesh.t:EP--><p>&nbsp;</p><p>&nbsp;</p></BODY></HTML>