Michael

As i say, i'm looking for a possibility.  If it could work (not to slow) in CF, than 
that's the first solution.  But indeed, we were also thinking of C# application.

If it does not disturb you, you may always mail me the notes and the pseudo-code, so i 
can analyse your way of thinking to handle this kind of problems.

kind regards

Tim

-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: dinsdag 19 augustus 2003 16:23
To: CF-Talk
Subject: Re: Need to write Dispatcher!


I'd look more towards a service running in the background. I was working on
a C# app that does similar to what you are looking for. It "watched" a
directory for two files: .dat file & .txt. When the directory had something
placed in it, the routine would rename the files to the same name and move
them to an outgoing mail folder for a  email engine to pick up and send out.

I initially tried this in CF and it was kind of slow. I can not say how much
faster a service type app would be, but I'd venture to say it would be quite
substantial.

The above could get you going... a lot would go into a project such as you
described in yoru post; this is just sratching the surface.

If you would like, I can email you my notes and pseudo-code... like I say, I
got sidetracked and never finished it., but maybe this weekend I can get
back on it.

Mike Tangorre

----- Original Message ----- 
From: "Jeremy Brodie" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, August 19, 2003 10:15 AM
Subject: Need to write Dispatcher!


> Tim,
>
> >Is this all possible with Coldfusion?
> Sure, if we're talking about moving and renaming files.
>
> >How to poll continous a directory or at least every 1 minute?
> You might want to explore the cold fusion scheduler. Additionally CFFILE
also contains the ability to read the contents of a directory. The scheduler
could be set to run the job every minute-- and if there is an error, you
could always use CFMAIL for a quick notification. As an additional feature,
you could log the sucesses of the job in the scheduled jobs log in CF
administrator.
>
> >How to give uniqueID-filename?
> How about a formated date created using the dateformat function. Here you
can rename the image file (using CFFILE) with a unique file created by using
the date. Others on the list may have other ideas for using other unique
identifyers such as CFID/CFTOKEN or even server variables located in RAM.
>
> This dispatcher has to be also on a fail-over
> >site and when the main side failes, the dispatcher on fail-over site
> >needs to take over, and go on with the whole process (may be a manuel
> >operation). Input directory's and buffers are protected via
> >SRDF-copies, powered on a EMC Symmetrix system, so when the system
> >fails-over, those copies of the directory's (without losing data) can
> >be used!
>
> Using CF over J2EE (such as TomCat or JRUN as the J2EE engine) you can use
multiple instances on seperate machines. MM has a pretty good article on
building and clustering Cold Fusion in this setting. Others on the list may
be able to help you with hardware based load balancing such as Cisco Local
Director.
>
> See:
http://www.macromedia.com/devnet/mx/coldfusion/articles/multiple_61.html for
additional help.
>
> >Anyone has any proposals how to do or to start at this?
> There are a lot of folks chomping at the bit who would like opportunity to
work on this project. You might want to set up a sign in sheet and write a
short RFP for those that are intrested in the work.
>
> Hopefully, these ideas give you some food for thought for building this
job. Knowing the qulaity of the other folks on the list, they can fill in
the gaps that I've missed.
>
> Jeremy Brodie
> Intelix
> an Edgewater Technology Solutions Company
>
> web: http://www.edgewater.com
> phone:(703) 815-2500
> nasdaq symbol: EDGE
>
>
> >Hello
> >
> >I need to write a dispatcher that polls (continue, every 1 minute or
> >???) a directory.
> >In this directory, there's always an image and an index file.
> >I need to take those two, give them both a uniqueID-filename (???) and
> >place them in two buffers with the same uniqueID-filename. We're
> >talking about 150000 images/day!
> >
>
> >
> >Little more complex! This dispatcher has to be also on a fail-over
> >site and when the main side failes, the dispatcher on fail-over site
> >needs to take over, and go on with the whole process (may be a manuel
> >operation). Input directory's and buffers are protected via
> >SRDF-copies, powered on a EMC Symmetrix system, so when the system
> >fails-over, those copies of the directory's (without losing data) can
> >be used!
> >
> >Kind regards, hoping someone has a solution on this.
> >
> >Tim
> >
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to