Here's an idea for a new tag in ColdFusion, CFYEILD. Consider a web site that receives a several concurrent requests. ColdFusion will create N threads to process the requests, if there are more than N concurrent requests, they sit in a queue.
The java thread object has a method called yeild() which when called allows other threads to run, it's kind of a way of saying, if anyone else want's to cut in front of me and take the processor go ahead. On unix the nice command allows you to lower the priority of a process.
What I'm getting at would be a way for a CFM file or application to tell the app server that, I'm not important, or perhaps, I am important. Perhaps you would say your main pages should have highest priority, while other pages may be queued longer.
Just throwing out an idea, not much of a priority for me, but perhaps some people would find it useful. I'd much rather see a CFIMAP in the next version of CF (BlueDragon already has a CFIMAP tag).
- Redirect www and non https in IIS using web.config
- Not authorized to perform: ssm:GetParameters
- What is the difference between ASCII Chr(10) and Chr(13)
- Fixinator and Foundeo Security Bundle
- Running CFML on AWS Lambda with FuseLess Slides
- Updating Java on ColdFusion or Lucee
- ColdFusion returning empty response with server-error: true
- Careful applying CF11u16, CF2016u8, CF2018u2