Tagged Questions
The async tag has no wiki summary.
2
votes
2answers
145 views
How do you work with Asynchronous functions, recursively?
I am currently working on FLEX and have to call a web services. once I have the result, I have to call the web service again, with the previous result as the input.
A compounding problem, is that ...
2
votes
2answers
72 views
How to present asynchronous state change in chart or diagram?
I started to study about state transition chart. As I see, it assumes all state transition is done instantly with no time consuming. But in most of my case, I'm heavily depending on asynchronous I/O, ...
7
votes
2answers
251 views
How will C# 5 async support help UI thread synchronization issues?
I heard somewhere that C# 5 async-await will be so awesome that you will not have to worry about doing this:
if (InvokeRequired)
{
BeginInvoke(...);
return;
}
// do your stuff here
It looks ...
5
votes
2answers
120 views
How can I design an efficient moderation system for comments?
Here's the job I want to do:
My project is a website where there will be a lot of comments.
Those comments will be moderated: a moderator will connect, see comments and accept or refuse them.
I need ...
8
votes
6answers
328 views
Solutions to C# 5 async re-entrancy
So, something's been bugging me about the new async support in C# 5:
The user presses a button which starts an async operation. The call returns immediately and the message pump starts running again ...
0
votes
1answer
130 views
Should we (still) consider a synced XMLHTTPRequest bad practice?
As you may know, XMLHTTPRequest can be used synchronously or asynchronously, but synchronized requests have always been considered bad practice, and I've always agreed with that.
Not only is the ...
2
votes
0answers
68 views
How can I use Windows Workflow for validation of a Silverlight application?
I want to use Windows Workflow to provide a validation service. The validation that will be provided may have multiple tiers with chaining and redirecting to other stages of validation. The ...
2
votes
1answer
88 views
using blocking APIs with non-blocking server
We are using Tornado for our system (behind nginx) -- and everything is working fine.
Now we need to integrate a client lib (for Neo4j Graph DB) into our system. The problem is that it is blocking.
...
2
votes
2answers
124 views
How do you decide to Queue/Dispatch events Sync or Async? (in Observer Pattern)
Consider the following elements in an event-driven architecture:
Observable Object
Event Dispatcher
Observer(Listener)
Now, we have two messages:
From Observable Object to Event Dispatcher
From ...
2
votes
3answers
130 views
Best asynchronous server for Python 3.x
We have an application that does a lot of ajax calls. It is a collaborative application that has to handle a lot of short text edits and updates by users.
Since this application has to deal with a ...
3
votes
5answers
373 views
Where was “async” all these days?
It was started with C# 5's new keyword "async". And now I see this async programming everywhere from Javascript to C++, mostly from Microsoft. And from various discussions I came to know, this is a ...
4
votes
3answers
305 views
Choosing a JavaScript Asynch-Loader
I’ve been looking at various asynchronous resource-loaders and I’m not sure which one to use yet. Where I work we have disparate group-efforts whose class-modules may use different versions of jQuery ...
0
votes
5answers
163 views
Ways of handling asynchronous receive calls
I am implementing a primitive message-passing system. Currently, I am designing a receive function for async calls. Can I implement such a async receive function without using callback functions?
1
vote
1answer
304 views
How is the “evented-io” in node.js any different from the windows event model
I'm wondering how the "evented-io" in node.js any different from the windows async IO model?
Is the callback from node.js executed on a thread, if not, where is it run?
I don't mean to question the ...
7
votes
4answers
385 views
Asynchronous Programming in Functional Languages
I'm mostly a C/C++ programmer, which means that the majority of my experience is with procedural and object-oriented paradigms. However, as many C++ programmers are aware, C++ has shifted in emphasis ...