You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Jaye Bass <ja...@gmail.com> on 2008/04/15 23:18:53 UTC
Synapse and real time OS
Looking for some advice on building a cheap, real time SOA stack. Has
anybody had any experience in building Synapse, Tomcat and Axis2 on a real
time OS (SUSE 10 Real Time Server), possibly using Sun's real time JVM?
--
Wm. Jaye Bass
Torch Technologies
office phone: 256-876-4895
"Do what thy manhood bids thee do, from none but self expect applause..."
Re: Synapse and real time OS
Posted by Rajith Attapattu <ra...@gmail.com>.
Unless you use the real time concepts within synapse and is optimized to run
on a real time JVM there is no real benefit in using real time java.
Since Synapse (Axis2 and even tomcat) is not written in such a way I don't
think it will give you the results you expect.
Real time in this context means deterministic behaviour (not embeded or fast
as Jaye mentioned).
If you are not using RealTimeThreads, NoHeapRealTimeThreads and haven't
carefully partitioned your objects in immortal/scope memory, then you cannot
benefit from being unaffected by garbage collection or priority inversion.
My experience with Qpid shows that garbage collection happening at undesired
times really messes up my latency curve.
For example, in a financial environment these latency spikes could result in
a lost trades ..etc
However running your stack on a real time OS will give you some form of
deterministic behaviour which will help.
But still you will be at the mercy of the garbage collector unless you have
written your code to work with real time constructs.
Regards,
Rajith
On Tue, Apr 15, 2008 at 6:12 PM, Paul Fremantle <pz...@gmail.com> wrote:
> It sounds like its definitely worth a try.
> Paul
>
> On Tue, Apr 15, 2008 at 10:56 PM, Jaye Bass <ja...@gmail.com> wrote:
> > I'm building a prototype SOA app that will have to eventually be hosted
> on a
> > real time platform. This will not be an embedded device but a general
> > purpose PC running an RTOS of some sort. Since this is a prototype app
> and
> > the architecture for the target platform has not been defined, then I
> wanted
> > to avoid buying costly SOA or maybe DDS, real time middle ware.
> Therefore, I
> > thought well since SUSE 10 Real Time is just SUSE with real time
> extensions
> > and the RTSJ supports Java SE 5u4, then rebuilding Synapse, Tomcat and
> Axis2
> > in that environment just might work.
> >
> >
> >
> > On Tue, Apr 15, 2008 at 4:30 PM, Paul Fremantle <pz...@gmail.com>
> wrote:
> >
> > > I haven't tried it myself. Sounds interesting - I'd certainly be up
> > > for helping try it. What exactly are you trying to achieve with this
> > > setup?
> > >
> > > Paul
> > >
> > > On Tue, Apr 15, 2008 at 10:18 PM, Jaye Bass <ja...@gmail.com>
> wrote:
> > > > Looking for some advice on building a cheap, real time SOA stack.
> Has
> > > > anybody had any experience in building Synapse, Tomcat and Axis2
> on a
> > > real
> > > > time OS (SUSE 10 Real Time Server), possibly using Sun's real time
> JVM?
> > > >
> > > > --
> > > > Wm. Jaye Bass
> > > > Torch Technologies
> > > > office phone: 256-876-4895
> > > >
> > > > "Do what thy manhood bids thee do, from none but self expect
> > > applause..."
> > > >
> > >
> > >
> > >
> > > --
> > > Paul Fremantle
> > > Co-Founder and CTO, WSO2
> > > Apache Synapse PMC Chair
> > > OASIS WS-RX TC Co-chair
> > >
> > > blog: http://pzf.fremantle.org
> > > paul@wso2.com
> > >
> > > "Oxygenating the Web Service Platform", www.wso2.com
> > >
> >
> >
> >
> > --
> >
> >
> > Wm. Jaye Bass
> > Torch Technologies
> > office phone: 256-876-4895
> >
> > "Do what thy manhood bids thee do, from none but self expect
> applause..."
> >
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
--
Regards,
Rajith Attapattu
Red Hat
http://rajith.2rlabs.com/
Re: Synapse and real time OS
Posted by Paul Fremantle <pz...@gmail.com>.
It sounds like its definitely worth a try.
Paul
On Tue, Apr 15, 2008 at 10:56 PM, Jaye Bass <ja...@gmail.com> wrote:
> I'm building a prototype SOA app that will have to eventually be hosted on a
> real time platform. This will not be an embedded device but a general
> purpose PC running an RTOS of some sort. Since this is a prototype app and
> the architecture for the target platform has not been defined, then I wanted
> to avoid buying costly SOA or maybe DDS, real time middle ware. Therefore, I
> thought well since SUSE 10 Real Time is just SUSE with real time extensions
> and the RTSJ supports Java SE 5u4, then rebuilding Synapse, Tomcat and Axis2
> in that environment just might work.
>
>
>
> On Tue, Apr 15, 2008 at 4:30 PM, Paul Fremantle <pz...@gmail.com> wrote:
>
> > I haven't tried it myself. Sounds interesting - I'd certainly be up
> > for helping try it. What exactly are you trying to achieve with this
> > setup?
> >
> > Paul
> >
> > On Tue, Apr 15, 2008 at 10:18 PM, Jaye Bass <ja...@gmail.com> wrote:
> > > Looking for some advice on building a cheap, real time SOA stack. Has
> > > anybody had any experience in building Synapse, Tomcat and Axis2 on a
> > real
> > > time OS (SUSE 10 Real Time Server), possibly using Sun's real time JVM?
> > >
> > > --
> > > Wm. Jaye Bass
> > > Torch Technologies
> > > office phone: 256-876-4895
> > >
> > > "Do what thy manhood bids thee do, from none but self expect
> > applause..."
> > >
> >
> >
> >
> > --
> > Paul Fremantle
> > Co-Founder and CTO, WSO2
> > Apache Synapse PMC Chair
> > OASIS WS-RX TC Co-chair
> >
> > blog: http://pzf.fremantle.org
> > paul@wso2.com
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
> >
>
>
>
> --
>
>
> Wm. Jaye Bass
> Torch Technologies
> office phone: 256-876-4895
>
> "Do what thy manhood bids thee do, from none but self expect applause..."
>
--
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
Re: Synapse and real time OS
Posted by Jaye Bass <ja...@gmail.com>.
I'm building a prototype SOA app that will have to eventually be hosted on a
real time platform. This will not be an embedded device but a general
purpose PC running an RTOS of some sort. Since this is a prototype app and
the architecture for the target platform has not been defined, then I wanted
to avoid buying costly SOA or maybe DDS, real time middle ware. Therefore, I
thought well since SUSE 10 Real Time is just SUSE with real time extensions
and the RTSJ supports Java SE 5u4, then rebuilding Synapse, Tomcat and Axis2
in that environment just might work.
On Tue, Apr 15, 2008 at 4:30 PM, Paul Fremantle <pz...@gmail.com> wrote:
> I haven't tried it myself. Sounds interesting - I'd certainly be up
> for helping try it. What exactly are you trying to achieve with this
> setup?
>
> Paul
>
> On Tue, Apr 15, 2008 at 10:18 PM, Jaye Bass <ja...@gmail.com> wrote:
> > Looking for some advice on building a cheap, real time SOA stack. Has
> > anybody had any experience in building Synapse, Tomcat and Axis2 on a
> real
> > time OS (SUSE 10 Real Time Server), possibly using Sun's real time JVM?
> >
> > --
> > Wm. Jaye Bass
> > Torch Technologies
> > office phone: 256-876-4895
> >
> > "Do what thy manhood bids thee do, from none but self expect
> applause..."
> >
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
--
Wm. Jaye Bass
Torch Technologies
office phone: 256-876-4895
"Do what thy manhood bids thee do, from none but self expect applause..."
Re: Synapse and real time OS
Posted by Paul Fremantle <pz...@gmail.com>.
I haven't tried it myself. Sounds interesting - I'd certainly be up
for helping try it. What exactly are you trying to achieve with this
setup?
Paul
On Tue, Apr 15, 2008 at 10:18 PM, Jaye Bass <ja...@gmail.com> wrote:
> Looking for some advice on building a cheap, real time SOA stack. Has
> anybody had any experience in building Synapse, Tomcat and Axis2 on a real
> time OS (SUSE 10 Real Time Server), possibly using Sun's real time JVM?
>
> --
> Wm. Jaye Bass
> Torch Technologies
> office phone: 256-876-4895
>
> "Do what thy manhood bids thee do, from none but self expect applause..."
>
--
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com