Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6070369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:55:32+00:00 2026-05-23T09:55:32+00:00

I can’t believe I just read this: Using the CFML event gateway for asynchronous

  • 0

I can’t believe I just read this: Using the CFML event gateway for asynchronous CFCs

As far as I know a thread can also be used to do async events. However, I am having trouble understanding when I should use a thread vs. a CFML event gateway? What purpose or situation lends itself to one implementation verses the other?

Any limitation to asynchronous events through CFCs in ColdFusion Standard Edition? I know there’s a cfthread limitation of 2 max custom threads. Does “Event Gateway Processing Threads” count towards any limit?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:55:32+00:00Added an answer on May 23, 2026 at 9:55 am

    Using event gateways for Asynch events pre-dates threads, and I think the “asynch cfc” feature was a bonus side effect.

    If the goal is simply to spin off some processing to be completed asynchronously, I would use threads.

    The real point of Event Gateways is to communicate with externals systems. I’ve used event gateways extensively, but to communicate with message queues, XMPP, the streaming Twitter API, and a number of other obscure “enterprise java-y” things.

    One of the problems with Event Gateways, is that the environment they run in is subtly different from a request sent through an http server. For instance, most of the CGI variables are unset or contain unusual values. You also don’t have access to the user’s session, etc.

    With CFTHREAD, you have a lot more control about that.

    Looking at the product matrix here:

    http://www.adobe.com/products/coldfusion/pdfs/cf9_feature_comparison_matrix_ue.pdf

    It appears that in CF Standard, you get one simultaneous event gateway, so its probably not a useful feature in a production environment. I think its hard-locked to a single thread, regardless of what is set in the administrator.

    So, with CF Standard, you’re kinda screwed.

    Just another reason to use Railo or OpenBD.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know how can I replace this 2 symbol below from the string
Can you cast a List<int> to List<string> somehow? I know I could loop through
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
Can someone maybe tell me why this is not working? I have used echo
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
can anyone tell me why this doesn't work? db = openOrCreateDatabase(database.db, SQLiteDatabase.CREATE_IF_NECESSARY, null); db.setLocale(Locale.getDefault());
Can't work out a way to make an array of buttons in android. This
Can anyone help me trying to find out why this doesn't work. The brushes
Can we close all known/unknown connections to database with the code? I'm using Access
can someone show me the regex for this preg_match. I want to make sure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.