jcyclone-users Mailing List for JCyclone
Brought to you by:
jm7
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
(43) |
May
(6) |
Jun
(16) |
Jul
(10) |
Aug
(36) |
Sep
(23) |
Oct
(6) |
Nov
(18) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(6) |
Nov
|
Dec
(10) |
| 2007 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Gustavo V G C R. v. T. <no...@tw...> - 2015-02-24 19:23:57
|
Twoo Ler este email em:Español ( http://www.twoo.com/m/_$y1bRac ),English ( http://www.twoo.com/m/ldkCGuaj ),Français ( http://www.twoo.com/m/lPudu2aY ),العربية ( http://www.twoo.com/m/i608IaaN ),Română ( http://www.twoo.com/m/hJGFZHa$ ),e32 outros idiomas ( http://www.twoo.com/m/ido5rra3 ). Você recebeu este e-mail porque Gustavo V G C Rios quer se conectar com jcy...@li... ( mailto:jcy...@li... ) no Twoo. Cancelar ( http://www.twoo.com/m/l2qjX8aL ) Gustavo V G C Rios deixou uma mensagem para você! Veja a sua mensagem ➔ ( http://www.twoo.com/m/lPudu2a7 ) Pode responder imediatamente pelo nosso chat. Divirta-se! Equipa Twoo Não deseja receber mais e-mails como este? Clique aqui ( http://www.twoo.com/m/l2qjX8aL ).Massive Media Match NV, Emile Braunplein 18, 9000 Ghent, Bel...@tw... ( mailto:in...@tw... ) |
|
From: Toli K. <to...@ma...> - 2007-08-13 19:07:55
|
Guy, Mark is right. We've actually moved off JCyclone at Marketcetera - we are still using the SEDA architecture, but we've switched to using ActiveMQ instead because it allows us to have easy integration points. JCyclone worked well for us, but we needed additional unrelated functionality so switching to an embedded ActiveMQ allowed us to "kill 2 birds with one stone" We've contributed some changes to JCyclone about a yaer ago, but after that it has been mostly dormant. On 8/13/07, Mark Martin <sto...@gm...> wrote: > Guy, > > You are right that the project has not been active for some time. Several > people (myself included) have taken the codebase and enhanced or altered it > for our own ends. I know Toli Kuznets, who frequents this list, has > actually put some of his changes back. There is no roadmap that I'm aware > of. That's the state of things. > > Mark > > > On 8/11/07, Guy Korland <gko...@gm...> wrote: > > Hi, > > > > It seems like the project is not active in the last couple of years, > > are there any plans to revive it? > > Is there any roadmap for the project? > > > > Thanks, > > Guy > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > JCyclone-users mailing list > > JCy...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > > > > -- > ------------------------------------------------------ > Born to the false world, the wanderer, > Storyteller, The Pied Piper > On a quest for immortality > Gathering a troop to find the fantasy > -- Nightwish > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Mark M. <sto...@gm...> - 2007-08-13 14:35:08
|
Guy, You are right that the project has not been active for some time. Several people (myself included) have taken the codebase and enhanced or altered it for our own ends. I know Toli Kuznets, who frequents this list, has actually put some of his changes back. There is no roadmap that I'm aware of. That's the state of things. Mark On 8/11/07, Guy Korland <gko...@gm...> wrote: > > Hi, > > It seems like the project is not active in the last couple of years, > are there any plans to revive it? > Is there any roadmap for the project? > > Thanks, > Guy > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > -- ------------------------------------------------------ Born to the false world, the wanderer, Storyteller, The Pied Piper On a quest for immortality Gathering a troop to find the fantasy -- Nightwish |
|
From: Guy K. <gko...@gm...> - 2007-08-11 12:34:17
|
Hi, It seems like the project is not active in the last couple of years, are there any plans to revive it? Is there any roadmap for the project? Thanks, Guy |
|
From: Gustavo R. <rio...@gm...> - 2007-05-01 11:48:51
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Time for Tagged</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <div style="margin: 0 0 15px 30px"><a href="http://www.taggedmail.com/welcome.html?conn=1yrv85ao7&ect=60bc8pz&tId=130033&fid=9c2330166ae3af53"><img src="http://static.tagged.com/images/logo_email_small.gif" width="98" height="35" alt="" border="0"></a></div> <table border="0" cellspacing="0" cellpadding="0" width="539"> <tr><td colspan="3"><img src="http://static.tagged.com/images/invite_crnrrs_topLong.gif" width="539" height="11" alt="" border="0"></td></tr> <tr> <td align="left" bgcolor="#c9c9c9" width="1"></td> <td width="537" background="http://static.tagged.com/images/invite_gradient.gif" style="font-size: 30px; color: #000000; text-align: center; font-family: Arial, Helvetica, sans-serif; font-weight: bold; background-image: url(http://static.tagged.com/images/invite_gradient.gif); background-repeat: repeat-x; height: 194px;"> <div style="float: left; margin: 15px 0 0 15px; text-align: left; width:150px;"> <div><img src="http://www.taggedmail.com/imgsrv.php?uid=0" /></div> <div style="font-size: 15px; color: #000000; margin-top: 10px;">Gustavo R, 27</div> <!-- No link --> <div style="font-size: 12px; color: red;"></div> </div> <div style="float: right; margin: 0 20px 0px 0; width:320px;"> <div style="font-size: 16px;">Gustavo has added you as a friend on Tagged.</div> <div style="font-size: 20px;"><br>Is Gustavo your friend?<br></div> <a href="http://www.taggedmail.com/welcome.html?conn=1yrv85ao7&ect=60bc8pz&tId=130033&fid=9c2330166ae3af53" style="text-decoration:none;"><img src="http://static.tagged.com/images/btn_email_yes.gif" width="90" height="44" alt="" border="0"> <img src="http://static.tagged.com/images/btn_email_no.gif" width="88" height="44" alt="" border="0"></a><br> <div style="font-size: 16px"><br>Please respond or Gustavo may think you said no :(</div> <br> </div> </td> <td align="right" bgcolor="#c9c9c9" width="1"></td> </tr> <tr><td colspan="3"><img src="http://static.tagged.com/images/invite_crnrs_bottomShort.gif" width="539" height="11" alt="" border="0"></td></tr> <tr> <td colspan="3"> <div style="font-size: 12px; font-color: black; font-family: Arial, Helvetica, sans-serif; padding: 10px 0 0 0; text-align: center;"> <a style="color: black" href="http://www.taggedmail.com/no_more.html?unsem=jcyclone-users%40lists.sourceforge.net&tId=130033&fid=9c2330166ae3af53">Click here</a> to unsubscribe from Tagged, P.O. Box 193152 San Francisco, CA 94119-3152 </div> </td> </tr> </table> <!-- image img src="http://www.taggedmail.com/imgld.php?img=.gif&ect=60bc8pz" --> </body> </html> <!-- 40xaq --> |
|
From: Quartz <qua...@ya...> - 2007-04-26 14:32:31
|
--- Fabien Gaud <fab...@fr...> wrote:
> Hello,
> I'm trying to understand how the scheduler works.
>
> I don't understand the procedure call Thread.yield() in TPSScheduler. I
> first believed that it was useless, but when I tried to remove this
> call, performance became bad.
> Does someone can explain me the purpose of this call? I don't understand
> why we should insert yield points.
------- simplified while(true) body ---------------------
Thread.yield();
while ((batch = sorter.nextBatch(blockTime)) != null) {
List events = batch.getBatch();
handler.handleEvents(events);
batch.batchDone();
}
---------------------------------------------------------
If somehow the sorter.nextBatch(blockTime) call isn't blocking, the thread
would loop at full speed, unfairly taking all CPU unless the OS kernel context switches it by
force, much later.
Using yield creates an opportunity for the kernel to perform the context switch. It is like
calling sleep() but without delay. But this is bad programming (relies on kernel scheduling). The
sorter.nextBatch() should wait() for events when there is none and context switching should occur
naturally. Make sure the nextBatch() is blocking when empty. If not, your loss of performance when
not using yield() is obvious. Watch your cpu usage too. It shouldn't be 100% when there are no
events.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: Fabien G. <fab...@fr...> - 2007-04-26 08:07:44
|
Hello, I'm trying to understand how the scheduler works. I don't understand the procedure call Thread.yield() in TPSScheduler. I first believed that it was useless, but when I tried to remove this call, performance became bad. Does someone can explain me the purpose of this call? I don't understand why we should insert yield points. Thanks, Fabien |
|
From: Gustavo R. <rio...@gm...> - 2007-04-26 07:57:18
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Gustavo has Tagged you! :)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <div style="padding: 0 0 10px 30px"><a href="http://www.taggedmail.com/welcome.html?conn=1yrv85ao7&ect=5uiqdpz&tId=130065&fid=9c2330166ae3af53"><img src="http://www.taggedmail.com/imgld.php?img=logo_email_small.gif&ect=5uiqdpz" width="98" height="35" alt="" border="0"></a></div> <table border="0" cellspacing="0" cellpadding="0" width="539"> <tr> <td colspan="3"><img src="http://static.tagged.com/images/invite_crnrrs_topLong.gif" width="539" height="11" alt="" border="0"></td> </tr> <tr> <td align="left" bgcolor="#c9c9c9" width="1"></td> <td width="537" background="http://static.tagged.com/images/invite_gradient.gif" style="font-size: 30px; color: #000000; text-align: center; font-family: Arial, Helvetica, sans-serif; font-weight: bold; background-image: url(http://static.tagged.com/images/invite_gradient.gif); background-repeat: repeat-x; height: 194px;"> <div style="float: left; padding: 15px 10px 0 10px; text-align:center; width:110px; font-size: 13px;"> <img src="http://www.taggedmail.com/imgsrv.php?uid=594608048" /><br /> <div style="padding:5px 0 0 0;">Gustavo R, 27</div> <div style="font-size: 12px; color: red;">Brazil</div> </div> <div style="float: left; width:405px;"> <div style="font-size:16px; padding:0 0 10px 0;">Gustavo R has added you as a friend</div> <div style="font-size:20px; margin:0; padding:0 0 15px 0;">Is Gustavo R your friend?</div> <a href="http://www.taggedmail.com/welcome.html?conn=1yrv85ao7&ect=5uiqdpz&tId=130065&fid=9c2330166ae3af53" style="text-decoration:none;"><img src="http://static.tagged.com/images/btn_email_yes.gif" width="83" height="37" alt="" border="0" /> <img src="http://static.tagged.com/images/btn_email_no.gif" width="83" height="37" alt="" border="0" /></a> <div style="font-size:16px; padding:20px 0 0 0;">Please respond or Gustavo may think you said no :(</div> </div> </td> <td align="right" bgcolor="#c9c9c9" width="1"></td> </tr> <tr> <td colspan="3"><img src="http://static.tagged.com/images/invite_crnrs_bottomShort.gif" width="539" height="11" alt="" border="0"></td> </tr> <tr> <td colspan="3"> <div style="font-size: 12px; font-color: black; font-family: Arial, Helvetica, sans-serif; padding: 10px 0 0 0; text-align: center;"> <a style="color: black" href="http://www.taggedmail.com/no_more.html?unsem=jcyclone-users%40lists.sourceforge.net&tId=130065&fid=9c2330166ae3af53">Click here</a> to unsubscribe from Tagged, P.O. Box 193152 San Francisco, CA 94119-3152 </div> </td> </tr> </table> </body> </html> <!-- 2ofwv --> |
|
From: Toli K. <to...@ma...> - 2007-02-17 02:28:08
|
Aidan, Thanks for the patch. I've applied the changes and checked them in. All the code in the demo/haboob and ext/* subdirectories now compiles, once the core/ jar is created. thanks again. On 1/24/07, Aidan Gallagher <a.g...@ey...> wrote: > Hi Toli, > > I tried to make a patch file and its attached. > > Regards, > > Aidan > > _____________________-- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Toli K. <to...@ma...> - 2007-01-24 19:54:48
|
Aidan, Congrats on taking a stab at your first OSS project! it's fun. Assuming that you checked out the code with CVS, you need to run this in the top-level directory of jcyclone project: unix$> cvs diff > mychanges.patch that runs a 'cvs diff' command against the current source, and outputs the diffs in a patch format that others can apply to their vanilla jcyclone checkout to see the changes. You can send the patch file to me via email, i'll apply the patch, review it and will probably just submit it so that we won't have that issue anymore. If you need more info on how to use 'cvs diff', you can find examples here: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi If you downloaded your source directly w/out checking it out via CVS, then you can just send me the files you changed and i'll figure out what the changes were myself. thanks! On 1/24/07, Aidan Gallagher <a.g...@ey...> wrote: > Hi Toli, > > I made some quick changes to the classes that use IPlugin and they can now > compile. > > This is the first time I've taken part in an open source project such as > this. How do I send you the code patches? Do I attach them to an email? > > Regards, > > Aidan > > -----Original Message----- > From: jcy...@li... > [mailto:jcy...@li...] On Behalf Of Toli > Kuznets > Sent: 22 January 2007 18:02 > To: jcy...@li... > Subject: Re: [Jcyclone-users] Compiling jcyclone plugins > > Aidan, > > It's quite possible that i broke the sample extensions when i made my > changes to the IPlugin interface. My apologies for that. > > Would you mind sending me the patches you've made to make it compile, > i'll review and commit the changes? > > thanks > > On 1/18/07, Aidan Gallagher <a.g...@ey...> wrote: > > > > > > > > > > Hi, > > > > > > > > I just checked out the jcyclone source and I found that extensions will > not > > compile due to changes in the IPlugin interface. > > > > > > > > Is this change to the IPlugin interface permanent? I will attempt to apply > > the changes to the source to get it to build. > > > > > > > > Are there any updates planned? > > > > > > > > Regards, > > > > > > > > Aidan > > > > > > > > > -- > Toli Kuznets > http://www.marketcetera.com: Open-Source Trading Platform > download.run.trade. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Aidan G. <a.g...@ey...> - 2007-01-24 09:40:07
|
Hi Toli, I made some quick changes to the classes that use IPlugin and they can = now compile. This is the first time I've taken part in an open source project such as this. How do I send you the code patches? Do I attach them to an email? Regards, Aidan -----Original Message----- From: jcy...@li... [mailto:jcy...@li...] On Behalf Of Toli Kuznets Sent: 22 January 2007 18:02 To: jcy...@li... Subject: Re: [Jcyclone-users] Compiling jcyclone plugins Aidan, It's quite possible that i broke the sample extensions when i made my changes to the IPlugin interface. My apologies for that. Would you mind sending me the patches you've made to make it compile, i'll review and commit the changes? thanks On 1/18/07, Aidan Gallagher <a.g...@ey...> wrote: > > > > > Hi, > > > > I just checked out the jcyclone source and I found that extensions = will not > compile due to changes in the IPlugin interface. > > > > Is this change to the IPlugin interface permanent? I will attempt to = apply > the changes to the source to get it to build. > > > > Are there any updates planned? > > > > Regards, > > > > Aidan > > > --=20 Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ JCyclone-users mailing list JCy...@li... https://lists.sourceforge.net/lists/listinfo/jcyclone-users |
|
From: Toli K. <to...@ma...> - 2007-01-22 18:03:17
|
Aidan, It's quite possible that i broke the sample extensions when i made my changes to the IPlugin interface. My apologies for that. Would you mind sending me the patches you've made to make it compile, i'll review and commit the changes? thanks On 1/18/07, Aidan Gallagher <a.g...@ey...> wrote: > > > > > Hi, > > > > I just checked out the jcyclone source and I found that extensions will not > compile due to changes in the IPlugin interface. > > > > Is this change to the IPlugin interface permanent? I will attempt to apply > the changes to the source to get it to build. > > > > Are there any updates planned? > > > > Regards, > > > > Aidan > > > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Aidan G. <a.g...@ey...> - 2007-01-18 15:01:58
|
Hi, I just checked out the jcyclone source and I found that extensions will not compile due to changes in the IPlugin interface. Is this change to the IPlugin interface permanent? I will attempt to apply the changes to the source to get it to build. Are there any updates planned? Regards, Aidan ---------------- Aidan Gallagher EyeSpyFX 1 Patrick Street Derry City BT48 7EL Northern Ireland Ph. +44 (0)28 71267795 a.g...@ey... www.eyespyfx.com |
|
From: Quartz <qua...@ya...> - 2006-12-21 23:59:59
|
> Unfortunately, I'm not familiar with inner magic of JCyclone enough to > know how well it does self-tuning automatically. The thread manager mesures how full is a stage's queue and attempt to maintain the (usually bounded) processing capacity of the stage to a minimum that avoid event loss / queue backpressure. The processing capacity is either altered by the number of threads allocated to the stage (provided) or through other means. Personally, I think adding/removing threads is far too dangerous (not to mention a nightmare to profile!). If a stage A feeds a stage B that is about 100 times slower, the natural balancing would give 100 threads to stage B and 1 to A in order to have the B queue catching up and not have event loss. This is not practical for large stage layout or larger processing capacities discrepancies. Most coders will endup putting a max thread to each stage, and will have to deal with event loss. I prefer playing with thread priorities (a custom thread manager I hacked in), but that doesn't entirely solve the loss problem. Anyhow, dealing with event loss is inevitable in SEDA and that lead to blocking enqueuing, which defeats the 'event-driven' driving concept, but brings a 2nd purpose to JCyclone: lossless data processing. It is pretty much pointless to do do self-tuning when there are few or no asynchronously processing stages. But sometimes, having a staged processing framework is handy. So, JCyclone as a few primary goals: 1-It's a stage container. It will delegate the processing of queue content (events) to a custom "handler". It has surrounding elements like the runtime environment, the config, the stage managers, profiler, the stage wrappers, the queue and some life cycling and control api. 2-It's a stage processing capacity balancer. 3-It can delegate the admission control (AC) of the queue. A few AC delegate supporting classes provided can assert a size limit, a avg rate limit, etc... You should already know how you want to solve your event processing problems in a regular multithreaded environment before you try to deploy a solution with a SEDA implementation. At this point, you will be already aware of so many runtime and threading details that sandstorm/jcyclone purpose will become much clearer... Once your solution is clearly screaming for at least 1 of the 3 main features (stage balancing, stage container, queueing admision control), then JCyclone can help you avoid some headaches. It serves handlers like a servlet container serves servlets: you still have all the processing work to do, but not the http/socket crap to deal with. JCyclone suggest to take care of the queueing/threading crap while you take care of the event processing. > so if you are doing fan in/fan out, you may have to do the > load-balancing yourself inside your fan-out stage. not sure if there's > built-in functionality in JCyclone to handle this. The stage handlers are the ones calling a sink.enqueue(), therefore the handler class coder is responsible for such load balancing. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Toli K. <to...@ma...> - 2006-12-21 20:10:00
|
Alexandre, I think what you are trying to accomplish is doable, but will require a bit more manual setup. Also, perhaps Jean Morrissette can weigh in on this, since we've only used JCyclone in a simple straight linear stage setup. Out-of-the-box, i think it's setup to be "one-in one-out" linear chain (see the org.jcyclone.core.basic.GenericHandler). > - run multiple event consumer instances from an incoming event queue > - deliver the output events not to one listener but to possibly > multipe listener instances as well (ie input queue / output queue > introduced) It's pretty easy to configure it to have multiple ins (we had that with JMS and FIX adapters all feeding to one OrderManager, for example). To have "fan in, fan out" (ie multiple in/multiple out) you need to do more manual work. You can configure each stage to have multiple next stages (ie next_stage_1, next_stage_2), then you need to manually read that out and store pointers to the next stages during the init() method. > - for both queues perform self tuning so that I don't need to wonder > how many thread I should use here and there Unfortunately, I'm not familiar with inner magic of JCyclone enough to know how well it does self-tuning automatically. > - possibly enforce ordering among input events if needed, and/or add a > buffered sort stage that helps to deal with out of order events > (possibly with timeout so as to no retain events too long on low load) > - possibly enforce throttling (load shedding by rejection and/or send > side blocking) so if you are doing fan in/fan out, you may have to do the load-balancing yourself inside your fan-out stage. not sure if there's built-in functionality in JCyclone to handle this. > - provide me some reporting / stats measurements > - hide all thread / thread pool coding (be it Java 1.4 or 5) that i think is doable - i'm pretty sure there are some ways to get the stats out, and the threading code is definitely hidden for you. We added TPSSchedulerConcurrent to utilize the Java 1.5 util.concurrent code, otherwise, the threading is done using manual lower-level constructs afaik. hope this helps. keep us posted on what you discover, it'd be good to have more of this documented somehwere. Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Alexandre V. <ava...@gm...> - 2006-12-20 23:28:44
|
Mark Are you saying that I should consider using Java 5 executors http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/ThreadPoolExecutor.html instead of JCyclone ? Alex On 12/20/06, Mark Martin <sto...@gm...> wrote: > Alex, > > Can you go with Java 5? > > Mark > > > On 12/20/06, Alexandre Vasseur <ava...@gm...> wrote: > > > > Hello > > I am having a hard time starting with JCyclone and despite what has > > been written recently on the list, I don't think ActiveMQ inVM > > transport or Mule and whatever message driven POJO is an alternative > > (as I am interested in throttling / admission control / self tuning > > capabilities of JCyclone) > > > > Does someone have a tutorial ? Going thru the test and ext/* does not > > help much and reading Matt thesis and work gives some clue but I would > > love to read a 15min tutorial/howto if someone has already written > > that (blog or elsewhere) > > Has anyone worked on some more XSD driven config instead of the > > current odd xml format that I can find in *.cfg files ? Any plans on > > that ? My assumption is that this would have helped me get started and > > play some more in a more checked and self-discovering way > > > > Best > > Alex > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > JCyclone-users mailing list > > JCy...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > > > > -- > ------------------------------------------------------ > Born to the false world, the wanderer, > Storyteller, The Pied Piper > On a quest for immortality > Gathering a troop to find the fantasy > -- Nightwish > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > |
|
From: Alexandre V. <ava...@gm...> - 2006-12-20 23:10:38
|
Thanks Toli for sharing this I had a look at your code but it just gives me really basic clue on how to build a up a chain of stage. May be I should describe some more what I am looking for: Basically I have an app that process events say with "void pushEvent(X)" which is thread safe but not multithreaded in anyway ie you send an event in and it sends an event out (say computes square X) to some listener. I think JCyclone should help me to decorate this to provide (possibly in an excellent pluggable way) - run multiple event consumer instances from an incoming event queue - deliver the output events not to one listener but to possibly multipe listener instances as well (ie input queue / output queue introduced) - for both queues perform self tuning so that I don't need to wonder how many thread I should use here and there - possibly enforce ordering among input events if needed, and/or add a buffered sort stage that helps to deal with out of order events (possibly with timeout so as to no retain events too long on low load) - possibly enforce throttling (load shedding by rejection and/or send side blocking) - provide me some reporting / stats measurements - hide all thread / thread pool coding (be it Java 1.4 or 5) I definitely think JCyclone is qualified for all that from my readings but I could not yet manage to find a starting point that I can play with and try to add to. I'll spend some more time on it. Side note: such concepts are AFAIK applied in some J2EE app server. WebLogic 9 workmanager comes to my mind as I know it very well (overload protection, request class for soft-priority, self tuning of thread pool size and some reporting). For ordering it seems to stand more in a JMS extension called unit of order which applies sort of a per logical group batching). I don't want to leverage all that if you wonder because I am looking for a more lightweight "out of JEE" approach. Alex On 12/20/06, Toli Kuznets <to...@ma...> wrote: > Alex, > > Unfortunately, i don't know of any simple writeup on how to get > started with JCyclone. > If you want a basic example of how to setup JCyclone, there's a very > simple example of a file config-based setup with 3 stages and one > input plugin in the core/test/org/jcyclone/core/fileconfig directory. > The core/test/config/fileconfig-jcyclone.cfg describes how the system > is setup. Basically, you have 3 stages: Initial --> Middle --> Last, > and they send messages through and the test verifies that the message > comes out. > The plugin in this example is not actually used. > > If you wnat a more substantial example, feel free to take a look at > version 0.1.4 of our product, the Marketcetera Platform. (we have > moved from JCyclone to the embedded ActiveMQ setup which is not > something you are interested in). > You can check out tag 0.1.4 with: > svn co http://svn.marketcetera.org/platform/tags/0.1.4/ platform-014 > > If you look at the code in > core/src/main/java/org/marketcetera/jcyclone/ you'll see all the base > classes, and then you can see the underlying implementations and usage > in oms/src/main/java/org/marketcetera/oms > (you can also browse it all at > http://trac.marketcetera.org/trac.fcgi/browser/platform/tags/0.1.4/core/src/main/java/org/marketcetera/jcyclone/) > > I'm attaching a class diagram of how we setup JCyclone, and you can > also look at > http://repo.marketcetera.org/images/screenshots/oms-overview.png > for a more high-level view of how the stages are setup. > > We use a flat-text-file (not xml) format to setup the JCyclone stages, > you can see how everything is wired in the > http://trac.marketcetera.org/trac.fcgi/browser/platform/tags/0.1.4/oms/src/main/resources/oms.properties#L28 > file. > > Hope this helps. Feel free to ask any follow-up questions. > > On 12/20/06, Alexandre Vasseur <ava...@gm...> wrote: > > Hello > > I am having a hard time starting with JCyclone and despite what has > > been written recently on the list, I don't think ActiveMQ inVM > > transport or Mule and whatever message driven POJO is an alternative > > (as I am interested in throttling / admission control / self tuning > > capabilities of JCyclone) > > > > Does someone have a tutorial ? Going thru the test and ext/* does not > > help much and reading Matt thesis and work gives some clue but I would > > love to read a 15min tutorial/howto if someone has already written > > that (blog or elsewhere) > > Has anyone worked on some more XSD driven config instead of the > > current odd xml format that I can find in *.cfg files ? Any plans on > > that ? My assumption is that this would have helped me get started and > > play some more in a more checked and self-discovering way > > > > Best > > Alex > > > > -- > Toli Kuznets > http://www.marketcetera.com: Open-Source Trading Platform > download.run.trade. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > > |
|
From: Toli K. <to...@ma...> - 2006-12-20 19:12:54
|
Alex, Unfortunately, i don't know of any simple writeup on how to get started with JCyclone. If you want a basic example of how to setup JCyclone, there's a very simple example of a file config-based setup with 3 stages and one input plugin in the core/test/org/jcyclone/core/fileconfig directory. The core/test/config/fileconfig-jcyclone.cfg describes how the system is setup. Basically, you have 3 stages: Initial --> Middle --> Last, and they send messages through and the test verifies that the message comes out. The plugin in this example is not actually used. If you wnat a more substantial example, feel free to take a look at version 0.1.4 of our product, the Marketcetera Platform. (we have moved from JCyclone to the embedded ActiveMQ setup which is not something you are interested in). You can check out tag 0.1.4 with: svn co http://svn.marketcetera.org/platform/tags/0.1.4/ platform-014 If you look at the code in core/src/main/java/org/marketcetera/jcyclone/ you'll see all the base classes, and then you can see the underlying implementations and usage in oms/src/main/java/org/marketcetera/oms (you can also browse it all at http://trac.marketcetera.org/trac.fcgi/browser/platform/tags/0.1.4/core/src/main/java/org/marketcetera/jcyclone/) I'm attaching a class diagram of how we setup JCyclone, and you can also look at http://repo.marketcetera.org/images/screenshots/oms-overview.png for a more high-level view of how the stages are setup. We use a flat-text-file (not xml) format to setup the JCyclone stages, you can see how everything is wired in the http://trac.marketcetera.org/trac.fcgi/browser/platform/tags/0.1.4/oms/src/main/resources/oms.properties#L28 file. Hope this helps. Feel free to ask any follow-up questions. On 12/20/06, Alexandre Vasseur <ava...@gm...> wrote: > Hello > I am having a hard time starting with JCyclone and despite what has > been written recently on the list, I don't think ActiveMQ inVM > transport or Mule and whatever message driven POJO is an alternative > (as I am interested in throttling / admission control / self tuning > capabilities of JCyclone) > > Does someone have a tutorial ? Going thru the test and ext/* does not > help much and reading Matt thesis and work gives some clue but I would > love to read a 15min tutorial/howto if someone has already written > that (blog or elsewhere) > Has anyone worked on some more XSD driven config instead of the > current odd xml format that I can find in *.cfg files ? Any plans on > that ? My assumption is that this would have helped me get started and > play some more in a more checked and self-discovering way > > Best > Alex > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Alexandre V. <ava...@gm...> - 2006-12-20 16:14:52
|
Yes Mark, I am only interested in Java 5 - and can leave with the backport concurrent on top of Java 5 for my testing Alex On 12/20/06, Mark Martin <sto...@gm...> wrote: > Alex, > > Can you go with Java 5? > > Mark > > > On 12/20/06, Alexandre Vasseur <ava...@gm...> wrote: > > > > Hello > > I am having a hard time starting with JCyclone and despite what has > > been written recently on the list, I don't think ActiveMQ inVM > > transport or Mule and whatever message driven POJO is an alternative > > (as I am interested in throttling / admission control / self tuning > > capabilities of JCyclone) > > > > Does someone have a tutorial ? Going thru the test and ext/* does not > > help much and reading Matt thesis and work gives some clue but I would > > love to read a 15min tutorial/howto if someone has already written > > that (blog or elsewhere) > > Has anyone worked on some more XSD driven config instead of the > > current odd xml format that I can find in *.cfg files ? Any plans on > > that ? My assumption is that this would have helped me get started and > > play some more in a more checked and self-discovering way > > > > Best > > Alex > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > JCyclone-users mailing list > > JCy...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > > > > -- > ------------------------------------------------------ > Born to the false world, the wanderer, > Storyteller, The Pied Piper > On a quest for immortality > Gathering a troop to find the fantasy > -- Nightwish > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > |
|
From: Mark M. <sto...@gm...> - 2006-12-20 15:55:40
|
Alex, Can you go with Java 5? Mark On 12/20/06, Alexandre Vasseur <ava...@gm...> wrote: > > Hello > I am having a hard time starting with JCyclone and despite what has > been written recently on the list, I don't think ActiveMQ inVM > transport or Mule and whatever message driven POJO is an alternative > (as I am interested in throttling / admission control / self tuning > capabilities of JCyclone) > > Does someone have a tutorial ? Going thru the test and ext/* does not > help much and reading Matt thesis and work gives some clue but I would > love to read a 15min tutorial/howto if someone has already written > that (blog or elsewhere) > Has anyone worked on some more XSD driven config instead of the > current odd xml format that I can find in *.cfg files ? Any plans on > that ? My assumption is that this would have helped me get started and > play some more in a more checked and self-discovering way > > Best > Alex > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > -- ------------------------------------------------------ Born to the false world, the wanderer, Storyteller, The Pied Piper On a quest for immortality Gathering a troop to find the fantasy -- Nightwish |
|
From: Alexandre V. <ava...@gm...> - 2006-12-20 15:45:34
|
Hello I am having a hard time starting with JCyclone and despite what has been written recently on the list, I don't think ActiveMQ inVM transport or Mule and whatever message driven POJO is an alternative (as I am interested in throttling / admission control / self tuning capabilities of JCyclone) Does someone have a tutorial ? Going thru the test and ext/* does not help much and reading Matt thesis and work gives some clue but I would love to read a 15min tutorial/howto if someone has already written that (blog or elsewhere) Has anyone worked on some more XSD driven config instead of the current odd xml format that I can find in *.cfg files ? Any plans on that ? My assumption is that this would have helped me get started and play some more in a more checked and self-discovering way Best Alex |
|
From: Toli K. <to...@ma...> - 2006-12-18 19:13:03
|
Alexandre, thanks for pointing this out. i've fixed it in the tree, so if you just do a 'cvs up' you should get it as a binary instead of ascii (you were right, it was not checked in as binary). thanks! On 12/14/06, Alexandre Vasseur <ava...@gm...> wrote: > Hello > When I check out core from anon CVS, the core/lib/junit-xxx.jar is corrupted. > I tried to check it out several time and it is still corrupted. May be > it was checked in as non binary file. > Can you fix this ? > > Alex > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Alexandre V. <ava...@gm...> - 2006-12-14 16:30:07
|
Hello When I check out core from anon CVS, the core/lib/junit-xxx.jar is corrupted. I tried to check it out several time and it is still corrupted. May be it was checked in as non binary file. Can you fix this ? Alex |
|
From: Toli K. <to...@ma...> - 2006-10-30 19:46:23
|
Anthony, We've been using JCyclone for about 6 months now, and it does a great job of fulfilling our needs. We are developing an open-source financial trading platform (http://www.marketcetera.org), and we use JCyclone as the communication backbone for routing orders through the different stages of the system. JCyclone is 100% pure java and thus OS-independent. We have it running on Windows, Linux and MacOSX without any issues. We found the project to be fairly complete and stable, and we fixed the bugs that we found. We've implemented a new scheduler based on java.util.concurrency classes which provides a basic implementation of the system using built-in concurrency. As far as other projects, there's MuleSource (http://www.mulesource.org) which implements JCyclone features as a subset of a much larger and more complex enterprise-service bus platform. Hope this helps. Since we are both writing financial products, I'd be very interested in your findings and your evaluation of this space as well. toli On 10/30/06, Mark Martin <sto...@gm...> wrote: > Anthony, > > A few answers... > > A) I can't speak for Matt Welsh, but there certainly are a few contributors > still contributing.. As near as I can tell, Jean Morisette is the official > maintainer, and Toli Kuznets has been contributing a lot over the last few > months. I haven't yet made any official contributions, but I do plan to. > Soon. > > B) > 1) Yes. I have a project (not yet released) running on it. I know Toli is > doing some interesting things with it. YMMV, of course. I haven't seen any > large scale testing on it, but I have a test framework that could probably > be used as a genesis for such testing. > 2) No. Although Toli recently acheived concensus that this should probably > happen -- as well as a move to JDK 1.5. One of the things I plan to > contribute to. > 3) Yes -- it's pure java. I have it running on at least Solaris and Win > Xp. There are no JNI wrappers or anythig like that -- and I've got native > threads running on the Sparc T1 so I'm happy. It is, of course, subject to > inherent Java bugs, including one prohibiting loopback TCP connections on > Solaris (fixed in Mustang). > > C) I found nothing like it when I was searching for such a framework. My > guess is you'll spend months trying to replicate current functionality in > any new project. > > > > On 10/30/06, Warden, Anthony <Aw...@le...> wrote: > > > > Hello > > > > I don't see any activity on Jcyclone for the last 6 months - does > > someone know if the project is A) Dead B) Completely stable and feature > > complete C) Superseded > > > > For A - where did the contributors go ? > > > > In the case of C - what's the related effort ? > > > > For B -> > > 1) Does anyone know if the SEDA feature of adaptive admission control > > (per > http://www.eecs.harvard.edu/~mdw/papers/control-usits03.pdf > ) is a > > feature in Jcyclone? > > 2) Is the Jcyclone code implemented over the java.util.concurrent > > classes (and should it be) or are all the fundamental's implemented > > from scratch - e.g. > org.jcyclone.core.queue.IBlockingQueue vs > > java.util.concurrent.LinkedBlockingQueue > > 3) Is the code free of any OS or specific JVM or native code > > dependencies > > > > > > Thanks for your help. > > > > Anthony > > > > > * Anthony Warden > > > * Electronic Client Services Technology > > > * Lehman Brothers International (Europe) > > > * 25 Bank Street, London E14 5LE > > > * aw...@le... -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: dsmith <dsm...@gm...> - 2006-10-30 19:27:21
|
i started looking at jcyclone a while back (a little more than a year ago), and thought it held a lot of promise. in the end, it looked like mina ( http://directory.apache.org/subprojects/mina/index.html ) was a more active project somehow, and i went with mina. but i've always meant to come back to jcyclone and take a closer look again... maybe one day soon. mina, by the way, seems to work very well. it's pretty easy to get started with as well. On 10/30/06, Mark Martin <sto...@gm...> wrote: > > Anthony, > > A few answers... > > A) I can't speak for Matt Welsh, but there certainly are a few > contributors still contributing.. As near as I can tell, Jean Morisette is > the official maintainer, and Toli Kuznets has been contributing a lot over > the last few months. I haven't yet made any official contributions, but I > do plan to. Soon. > > B) > 1) Yes. I have a project (not yet released) running on it. I know Toli is > doing some interesting things with it. YMMV, of course. I haven't seen any > large scale testing on it, but I have a test framework that could probably > be used as a genesis for such testing. > 2) No. Although Toli recently acheived concensus that this should > probably happen -- as well as a move to JDK 1.5. One of the things I plan > to contribute to. > 3) Yes -- it's pure java. I have it running on at least Solaris and Win > Xp. There are no JNI wrappers or anythig like that -- and I've got native > threads running on the Sparc T1 so I'm happy. It is, of course, subject to > inherent Java bugs, including one prohibiting loopback TCP connections on > Solaris (fixed in Mustang). > > C) I found nothing like it when I was searching for such a framework. My > guess is you'll spend months trying to replicate current functionality in > any new project. > > On 10/30/06, Warden, Anthony <Aw...@le...> wrote: > > > > > > Hello > > > > I don't see any activity on Jcyclone for the last 6 months - does > > someone know if the project is A) Dead B) Completely stable and feature > > complete C) Superseded > > > > For A - where did the contributors go ? > > > > In the case of C - what's the related effort ? > > > > For B -> > > 1) Does anyone know if the SEDA feature of adaptive admission control > > (per http://www.eecs.harvard.edu/~mdw/papers/control-usits03.pdf<http://www.eecs.harvard.edu/%7Emdw/papers/control-usits03.pdf>) is a > > feature in Jcyclone? > > 2) Is the Jcyclone code implemented over the java.util.concurrent > > classes (and should it be) or are all the fundamental's implemented > > from scratch - e.g. org.jcyclone.core.queue.IBlockingQueue vs > > java.util.concurrent.LinkedBlockingQueue > > 3) Is the code free of any OS or specific JVM or native code > > dependencies > > > > > > Thanks for your help. > > > > Anthony > > > > > * Anthony Warden > > > * Electronic Client Services Technology > > > * Lehman Brothers International (Europe) > > > * 25 Bank Street, London E14 5LE > > > * aw...@le... > > > > > > > > > ------------------------------------------------------------------------------ > > This message is intended only for the personal and confidential use of > > the designated recipient(s) named above. If you are not the intended > > recipient of this message you are hereby notified that any review, > > dissemination, distribution or copying of this message is strictly > > prohibited. This communication is for information purposes only and should > > not be regarded as an offer to sell or as a solicitation of an offer to buy > > any financial product, an official confirmation of any transaction, or as an > > official statement of Lehman Brothers. Email transmission cannot be > > guaranteed to be secure or error-free. Therefore, we do not represent that > > this information is complete or accurate and it should not be relied upon as > > such. All information is subject to change without notice. > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > JCyclone-users mailing list > > JCy...@li... > > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > > > > -- > ------------------------------------------------------ > Born to the false world, the wanderer, > Storyteller, The Pied Piper > On a quest for immortality > Gathering a troop to find the fantasy > -- Nightwish > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > JCyclone-users mailing list > JCy...@li... > https://lists.sourceforge.net/lists/listinfo/jcyclone-users > > > |