Hi All-
I am developing an app using the Amazon API found here, which unfortunately only allows a small amount of records to be returned at once, which causes a significant slowdown when loading any more than one call's worth of items. I'd like to make the returning of these records more seemless. I figure the way to do it, is to use ...
Is there a plugin or other to mimic Rails Delayed Job in ASP.NET? What's the best way to run async code or jobs in an ASP.NET application?
...
Hi,
I'm developing an application where a user clicks/presses enter on a certain button in a window, the application does some checks and determines whether to send out a couple of emails or not, then show another window with a message.
My issue is, sending out the 2 emails slows the process noticeably, and for some (~8) seconds the fi...
Here's my scenario: I've got a custom protocol built on HTTP. I've started a netty server that has two custom handlers after the http ones in the ChannelPipeline:
pipeline.addLast("decoder", new HttpRequestDecoder(1024, 10240, 32768));
pipeline.addLast("aggregator", new HttpChunkAggregator(1048576));
pipeline.addLast("encoder", new Http...
This question is sort of a tangent to Browser support for <script async=“true” />?.
I've seen a few scripts lately that do something like this:
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'http://www.example.com/script.js';
document.getElementsByTagName('head')[0].appendChild(s);
This...
Hello guys,
I need to create a php script that takes lots of URL's via POST and then loads the corresponding files and dumps them in the DB. The thing is that I would like to do it asynchronous, so that if I have 1000 files to get, the script won't hang till all the files are loaded. Also, every time a file it's done loading, I need to ...
In my silverlight page, when the user clicks on a button; the app, calls 3 web services async. It has to either wait for these 3 async calls to be completed or has to be notified when these calls are completed. After these 3 calls are completed, the results will be written to a text file (It is a out-of-browser app with elevated trust). ...
So, the code I started with and which works (with important caveats below)
int reply_length = boost::asio::read(*m_socketptr, boost::asio::buffer((char*)reply, 6));
This works, I get the header which I then decode and follow up with another read which gets me my message and then I loop back to the top and read another header. This pe...
It seems that I've finally got to implement some sort of threading into my Delphi 2009 program. If there were only one way to do it, I'd be off and running. But I see several possibilities.
Can anyone explain what's the difference between these and why I'd choose one over another.
The TThread class in Delphi
AsyncCalls by Andreas Haus...
The Working with the BeginMethod/EndMethod Pattern section of Using an Asynchronous Controller in ASP.NET MVC refers to a Sync() method. It is not linked and I am having trouble finding documentation on it through google searches since sync is too common a term. Can someone point me in the write direction?
To make sure that you have...
I'm searching on how to do this but my searches aren't turning up things that are talking about what I'm trying to do so maybe I'm not searching with the right terms or this isn't possible, but figured I would ask here for help.. this is what I am trying to do..
I have PHP scripts that are called asyncrhonously, so it is called and it j...
Hi,
The .NET method Socket.AcceptAsync() has a neat feature: The ability to specify an initial buffer that will receive some amount of data immediately after accepting the new connection. This could be useful for exchanging a fixed-length signature, protocol header, session ID or similar initiatory data (and in fact, that is what the MS...
I am writing a short and simple profiler (in C), which is intended to print out stack traces for threads in various Java clients at regular intervals. I have to use the undocumented function AsyncGetCallTrace instead of GetStackTrace to minimize intrusion and allow for stack traces regardless of thread state. The source code for the func...
I am using SSIS 2008 to execute multiple stored procedures in parallel in control flow.
Each SP is supposed to ultimately update 1 row in a table.
The point to note is that each SP has a defined responsibility to update specific columns only.
It is guaranteed that the different SPs will not update each other's columns. So the columns t...
ASP.NET MVC 2 includes the built in feature of asynchronous controllers. My question is: Is there any benefits on using the asynchronous controllers to send messages to the bus if I'm not waiting for a reply from the bus?
Microsoft states this in their async controller documentation:
In general, use asynchronous pipelines when the f...
I have a WCF Service.
It returns the below type. I get the data in the first level but not any of the data in the nested lists... What could be my problem?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace slCF2.Web
{
public class Customer
{
string _firstname;
string...
Hi, my plan is to develop or use a Java-based integration framework (ESB, SOA whatever) that deals with services, with the following constraints:
a Service can be deployed on multiple machines but doesn't have to be present on every one of them
a Service can be deployed and re-deployed (with a newer version) separately
a Service is con...
Taking the following code from here, from the shortened version at the bottom, exists this proxy:
class DataModelProxy(puremvc.patterns.proxy.Proxy):
NAME = "DataModelProxy"
def __init__(self):
super(DataModelProxy, self).__init__(DataModelProxy.NAME, [])
self.realdata = Data()
self.sendNotification(AppF...
I am trying to use one of the new features - asynchronous agents library. I just added a
unbounded_buffer m_myDataBuffer;
to my C++ class, nothing more - no agent running yet.
To enable memory leak detection in my application, I am using:
#ifdef _DEBUG
_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#endif
But a...
I want to make an AJAX call to my Java webapp. The Java webapp will in turn make an asynchronous return call elsewhere. The result of that call will then be returned as the result of AJAX request.
The crux of my question is what would I do with the HttpRequest whilst I'm waiting for the second call to return?
Do I just block and wait ...