<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 & 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> </p>
<p> </p>
<p> </p>
<p> </p><p> </p><br><br>------- <b>Original Message</b> -------<br><b>Sender</b> : Madison Kelly<linux@alteeve.com><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 SINGH wrote:
<br>>
<br>> Hi Madi,
<br>>
<br>> Actually we are having a application framework which is having three
<br>> important blocks like server which provides complete library support and
<br>> binary support for running the application then there is a application
<br>> launcher which launches the application and the most important is the
<br>> IPC among them which is D BUS .
<br>>
<br>> D BUS is responsible for every request for launching of application and
<br>> inbetween remote procedure call and inter process communication apart
<br>> from D BUS we are also using SOCKET for the same my observation says
<br>> that SOCKET'S are much faster then using D BUS i may be wrong correct me
<br>> if it is so.
<br>>
<br>> Apart from that what i think is if we will develop a interface for every
<br>> kind of application like web browser,media player etc. we will make the
<br>> system drastically fast and systematic and easy to handle coz finally
<br>> each application requires some sort of remote procedure call or
<br>> interdependency ,now my doubt is will it be possible to use D BUS as
<br>> total solution or mixed of D BUS and socket , will D BUS will be able to
<br>> provide this much throughput or not .
<br>>
<br>> Regards,
<br>>
<br>> Deepesh
<br>
<br> From what I gather, I think D-Bus will work for you just fine.
<br>
<br>If you want to push large amounts of data between applications, a socket
<br>will likely still be your best bet. According to the D-Bus FAQ, a socket
<br>file is roughly 2.5 times faster than D-Bus for raw throughput. The
<br>reason is that D-Bus does a lot more than just pass messages; Life cycle
<br>tracking, security and routing. This added overhead comes at a cost.
<br>
<br>For getting messages between applications though, D-Bus is very quick.
<br>The main benefits of D-Bus are:
<br>
<br>- You get methods accessible to anything on the same D-Bus, regardless
<br>of programming language. All you need to know about a published method
<br>is what types of input parameters you need to pass it and what return
<br>parameters to expect back, if any.
<br>
<br>- You get life cycle tracking. D-Bus will let your application know when
<br>a listener or service provider goes offline. You can use something like
<br>this to trigger checks on a server and restart it after a crash, for
<br>example.
<br>
<br>If you do want to transfer a lot of data, you would probably be
<br>successful at combining a D-Bus for message passing and control with
<br>tradition sockets for file transfer. This would give you the nice
<br>benefits and security of D-Bus with the bandwidth you want.
<br>
<br>I would love to hear other people on this list let me know what they
<br>think of my assessment of your needs and D-Bus. In the mean time, please
<br>feel free to ask any more questions.
<br>
<br>Madi
<br>
<br>PS - What programming language(s) are you using?
<br>
<br><p> </p><p> </p><!--SP:deepesh.t--><!--deepesh.t:EP--><p> </p><p> </p></BODY></HTML>