Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Super Moderator
 
cstreit's Avatar
 
Join Date: Feb 2000
Location: Naperville, IL USA
Posts: 14,963
Garage
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
Old 12-18-2008, 06:51 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Cars & Coffee Killer
 
legion's Avatar
 
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."
Old 12-18-2008, 07:09 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Super Moderator
 
cstreit's Avatar
 
Join Date: Feb 2000
Location: Naperville, IL USA
Posts: 14,963
Garage
Windows on Intel
__________________
Chris
----------------------------------------------

1996 993 RS Replica
2023 KTM 890 Adventure R
1971 Norton 750 Commando
Alcon Brake Kits
Old 12-18-2008, 07:11 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Feelin' Solexy
 
Tishabet's Avatar
 
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
Old 12-18-2008, 07:20 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Cars & Coffee Killer
 
legion's Avatar
 
Join Date: Sep 2004
Location: State of Failure
Posts: 32,246
Quote:
Originally Posted by cstreit View Post
Windows on Intel
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."
Old 12-18-2008, 07:23 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
Super Moderator
 
cstreit's Avatar
 
Join Date: Feb 2000
Location: Naperville, IL USA
Posts: 14,963
Garage
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
Old 12-18-2008, 07:24 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Feelin' Solexy
 
Tishabet's Avatar
 
Join Date: Oct 2003
Location: WA
Posts: 3,786
Quote:
Originally Posted by cstreit View Post
The transformations are too complex to reasonably do in SQL.
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
Old 12-18-2008, 07:33 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Super Moderator
 
cstreit's Avatar
 
Join Date: Feb 2000
Location: Naperville, IL USA
Posts: 14,963
Garage
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
Old 12-18-2008, 07:46 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Gon fix it with me hammer
 
svandamme's Avatar
 
Join Date: Sep 2003
Location: In Flanders Fields where the poppies blow
Posts: 23,537
Garage
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
Old 12-18-2008, 12:32 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Registered
 
Paul_Heery's Avatar
 
Join Date: Dec 2001
Location: Elsewhere, CT
Posts: 2,117
Garage
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.
Old 12-18-2008, 12:47 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
User
 
ikarcuaso's Avatar
 
Join Date: Feb 2006
Location: Oakland
Posts: 940
Quote:
Originally Posted by Tishabet View Post
Is CF actually necessary for the steps, i.e. is CF providing actual context or data for the DB step...
Giving the 3rd party the benefit of the doubt, it's possible they are leveraging some CF interfaces already in place that perform some complex calculations or tasks that would be difficult or impossible to replicate w/solely the db. Maybe something involving various data sources, protocols, events, etc. It's difficult to say w/o more knowledge.

That said, I would think sql server agent, vbscript, stored procedures, etc. could be used to better control the process flow.
__________________
82 Targa
Old 12-18-2008, 01:37 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
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"
Old 12-18-2008, 01:39 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
 
Registered
 
Paul_Heery's Avatar
 
Join Date: Dec 2001
Location: Elsewhere, CT
Posts: 2,117
Garage
Quote:
Originally Posted by stomachmonkey View Post
They built a Frankenstein
That is probably the best assessment of the situation.
Old 12-18-2008, 03:28 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Cars & Coffee Killer
 
legion's Avatar
 
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."
Old 12-18-2008, 04:45 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
Super Moderator
 
cstreit's Avatar
 
Join Date: Feb 2000
Location: Naperville, IL USA
Posts: 14,963
Garage
Quote:
It sounds like they are trying to do this through ColdFusion because that is the only way they know how.
This is pretty much what I've read between the lines. At the rate they're going it probably makes sense to start over with something more suited to bulk processing. THey're using MySQL for the database IIRC. Unfortunately I am only in an advisory position here. I just can't believe it takes 8 months to do a good series of data extracts despite their complexity.

__________________
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..
Old 12-19-2008, 06:53 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #15 (permalink)
Reply


 


All times are GMT -8. The time now is 11:14 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.