![]() |
|
|
|
Super Moderator
|
ColdFusion experts: Ques on serial vs. parallel procs.
Hey folks, need some advice here:
We're attempting to bring a new customer live and they have a 3rd party that manages their databases. That 3rd party is responsible for extracting and transforming data for us and are 5 months behind in the work. The developer there has told me that the main issue they are having is performance. Apparently they've built a bunch of steps in ColdFusion but that these steps cannot reliably trigger each other. So they have to execute a step, wait two hours to ensure it has completed, then execute the next step, otherwise they all kick off at once and then the end processes die before starting. Is this normal? This runs contrary to every language/environment I've heard of where basic linear batch scheduling is simple. Are we getting the run-around?
__________________
Chris ---------------------------------------------- 1996 993 RS Replica 2023 KTM 890 Adventure R 1971 Norton 750 Commando Alcon Brake Kits |
||
![]() |
|
Cars & Coffee Killer
Join Date: Sep 2004
Location: State of Failure
Posts: 32,246
|
What is the platform for the backend? Unix? zOS? Windows?
__________________
Some Porsches long ago...then a wankle... 5 liters of VVT fury now -Chris "There is freedom in risk, just as there is oppression in security." |
||
![]() |
|
Super Moderator
|
Windows on Intel
__________________
Chris ---------------------------------------------- 1996 993 RS Replica 2023 KTM 890 Adventure R 1971 Norton 750 Commando Alcon Brake Kits |
||
![]() |
|
Feelin' Solexy
Join Date: Oct 2003
Location: WA
Posts: 3,786
|
Is CF actually necessary for the steps, i.e. is CF providing actual context or data for the DB step or is it simply being used as a scheduling device?
My exposure to CF is limited, but when performing serial processes against a DB I typically make everything run/trigger within the DB itself.
__________________
Grant In the stable: 1938 Buick Special model 41, 1963 Solex 2200, 1973 Vespa Primavera 125, 1974 Vespa Rally 200, 1986 VW Vanagon Syncro Westfalia, 1989 VW Doka Tristar, 2011 Pursuit 315 OS, 2022 Tesla Y Gone but not forgotten: 1973 VW Beetle, 1989 Porsche 944, 2008 R56 Mini Cooper S |
||
![]() |
|
Cars & Coffee Killer
Join Date: Sep 2004
Location: State of Failure
Posts: 32,246
|
I was afraid you'd say that. I have the most knowledge of zOS, some knowledge of Unix, and almost no knowledge of databases running on Windows.
__________________
Some Porsches long ago...then a wankle... 5 liters of VVT fury now -Chris "There is freedom in risk, just as there is oppression in security." |
||
![]() |
|
Super Moderator
|
Well The issue from what I've heard is the way ColdFusion manages processes rather than the DB itself. Extracts are done by the DB and post processing done by Coldfusion. The transformations are too complex to reasonably do in SQL.
__________________
Chris ---------------------------------------------- 1996 993 RS Replica 2023 KTM 890 Adventure R 1971 Norton 750 Commando Alcon Brake Kits |
||
![]() |
|
![]() |
Feelin' Solexy
Join Date: Oct 2003
Location: WA
Posts: 3,786
|
In the serial processes I alluded to (which were built in MS SQL Server) we use stored procedures... you can do some extremely complex transformations in there, essentially you can treat it as a programming environment hosted by the DB. Then when the transform for one step is done, trigger the next.
I have one system I architected this way which takes electronic debits from a banking platform, transforms them on a user basis into one transaction amount, looks up and decrypts the account information, builds a batch file on a remote drive and SFTPs it to a third party vendor and then follows up with a confirmation email... all 100% in SQL Server, including the scheduling.
__________________
Grant In the stable: 1938 Buick Special model 41, 1963 Solex 2200, 1973 Vespa Primavera 125, 1974 Vespa Rally 200, 1986 VW Vanagon Syncro Westfalia, 1989 VW Doka Tristar, 2011 Pursuit 315 OS, 2022 Tesla Y Gone but not forgotten: 1973 VW Beetle, 1989 Porsche 944, 2008 R56 Mini Cooper S |
||
![]() |
|
Super Moderator
|
Well there's not dount that it COULD be done in another way. However since they put in many hours to the ColdFusion process I know they want to stick with it.
The question really is, is this something that CF does, or are they doing something wrong?
__________________
Chris ---------------------------------------------- 1996 993 RS Replica 2023 KTM 890 Adventure R 1971 Norton 750 Commando Alcon Brake Kits |
||
![]() |
|
Gon fix it with me hammer
|
is SQL on the same server as cold fusion?
what kind of machine is it running on? windows version? disk/controller setup? memory? what kind of cpu(s)? ??? DB work is usually more about disks and memory then anything else
__________________
Stijn Vandamme EX911STARGA73EX92477EX94484EX944S8890MPHPINBALLMACHINEAKAEX987C2007 BIMDIESELBMW116D2019 |
||
![]() |
|
Registered
|
Chris,
I would seriously question what they are doing. We run ColdFusion for some apps, but all of the data actually resides in a SQL database. (It's on MS SQL Server 2005, but we won't go there.) As Tishabet mentioned, what you are attempting to do sounds like it could be accomplished solely through directly manipulating the database, possibly with stored procedures. It sounds like they are trying to do this through ColdFusion because that is the only way they know how. What are you using for your database (MSSQL, MySQL, Oracle, etc.)? Identify that, then lookup the local user's group. I bet you could find someone that could give a reasonable expert opinion for a few hundred bucks on the ide. |
||
![]() |
|
User
Join Date: Feb 2006
Location: Oakland
Posts: 940
|
Quote:
That said, I would think sql server agent, vbscript, stored procedures, etc. could be used to better control the process flow.
__________________
82 Targa |
||
![]() |
|
The Unsettler
|
Sounds like you are getting the run around
or They are over charging the client and can't make it appear "easy" or They have no idea what they are doing or They built a Frankenstein Have seen all of the above far too many times Good luck.
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
![]() |
|
![]() |
Registered
|
|||
![]() |
|
Cars & Coffee Killer
Join Date: Sep 2004
Location: State of Failure
Posts: 32,246
|
Wow. I'd say you're getting the run around.
Chris, I know you can appreciate this... We're about ready to get rid of all of our HP 3000/9000's and go to IBM mainframes (zOS) for our biggest system. This entails copying data from the HP 3000/9000 and merging it with data already on the mainframe into a completely knew data structure. Conversion is going to be a monster. We think implementation will take three years on an optimistic schedule. We're using 3-4 different tools for parts of the work. I know DPROPR is one of the tools.
__________________
Some Porsches long ago...then a wankle... 5 liters of VVT fury now -Chris "There is freedom in risk, just as there is oppression in security." |
||
![]() |
|
Super Moderator
|
Quote:
__________________
Chris ---------------------------------------------- 1996 993 RS Replica 2023 KTM 890 Adventure R 1971 Norton 750 Commando Alcon Brake Kits Last edited by cstreit; 12-19-2008 at 06:57 AM.. |
||
![]() |
|