Paul
Member since Dec 11, 2008
- Profile: /members/1479-paul.htm
- URL: http://blog.kukielnet
- Comments: 8
Recent Blog Comments By Paul
-
Producing And Consuming Amazon SQS Messages In Lucee CFML 5.3.8.201
Posted on Sep 19, 2021 at 5:57 PM
Hi Ben, My comment about Idle CPU is reagaring complete de-coupling. We should when building systems avoid where possible having server sit there polling. This is what I mean by overhead CPU. Sure I get it in the old days part of the machines CPU sits there doing nothing and that can be us... read more »
-
Producing And Consuming Amazon SQS Messages In Lucee CFML 5.3.8.201
Posted on Sep 12, 2021 at 5:49 PM
@Ben, Nothing wrong inherently wrong with it but queues are designed to decouple for processing "later" it's a mechanism to help scale tasks that can be run asynchronously. Running a loop takes CPU/resource and is also limited to that one machine( that the loop is run on you could... read more »
-
Producing And Consuming Amazon SQS Messages In Lucee CFML 5.3.8.201
Posted on Sep 12, 2021 at 2:50 AM
@Ben, Typically you would not want your application polling a queue in a bit while loop instead use ( for example ) lambda to be invoked upon a message arrival in SQS. Alternatively use a cron job to poll a queue rather than having a long running thread in cfml. Lucee runs in lambda ( as d... read more »
-
Both MySQL and MS SQL Server Use @@Identity To Report Latest Auto-Incrementing Value
Posted on Dec 9, 2008 at 11:22 AM
I have been using the CF features to get the last insert id: http://www.forta.com/blog/index.cfm/2007/7/6/ColdFusion-8-Can-Return-Identity-Values... read more »