473,326 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Simultaneous processing


Hi everyone,

I need to develop a new asp.net 2.0 web app that has to allow a client the ability to work with an internal adviser on the same document (an offer) at the same time. I am not sure how to allow two persons working on the same application and changes be reflected to both browsers. For sharing the data, I could set up a DB, apply a unique ID that they both would use to manipulate the common data. The problem that I have is with the ASP.NET application, which I don't know how to build to allow two persons working simultaneously on a set of data and see instantly the changes the other person does.

Hope my explanation is clear :-) I would appreciate any help, comments, or suggestions.

Thanks.
Mike
Aug 3 '06 #1
4 1571

Sorry for posting so many times... I had a network problem and unfortunately has been sent 3 times.

Sorry again.
Mike
"Mike" <no**@none.comwrote in message news:eZ**************@TK2MSFTNGP03.phx.gbl...

Hi everyone,

I need to develop a new asp.net 2.0 web app that has to allow a client the ability to work with an internal adviser on the same document (an offer) at the same time. I am not sure how to allow two persons working on the same application and changes be reflected to both browsers. For sharing the data, I could set up a DB, apply a unique ID that they both would use to manipulate the common data. The problem that I have is with the ASP.NET application, which I don't know how to build to allow two persons working simultaneously on a set of data and see instantly the changes the other person does.

Hope my explanation is clear :-) I would appreciate any help, comments, or suggestions.

Thanks.
Mike
Aug 3 '06 #2
This is hard enough working in a regular application. When you add in the
disconnected nature of web pages, you make it pretty damn near impossible.
There is no "instant" update from server to client. Clients send requests to
the server, which services the request. That's how the whole things works.
Ajax (Atlas, to MS) can give the user the impression that this is not the
case, but it still is. Your web application will have to send updates to the
server, which will then do some processing and send the results back to the
client machine, which then can be displayed to the user. If this was a
perfect world, such a system as you describe would be simple to implement.
However, you must consider that requests are served in a multithreaded
environment, so you might have person A attempting to update a document at
the same time person B is. What if person B deletes a sentence, and his
update goes through, and then person A submits an update with that sentence
still in there. Is it put back in? Is it deleted again? This sort of
conflict resolution is damn hard to code. Your best bet would be to restrict
access to the document to one individual at the time, using Atlas to send
updates and do refreshes in the background. Good luck.

"Mike" wrote:
>
Hi everyone,

I need to develop a new asp.net 2.0 web app that has to allow a client the ability to work with an internal adviser on the same document (an offer) at the same time. I am not sure how to allow two persons working on the same application and changes be reflected to both browsers. For sharing the data, I could set up a DB, apply a unique ID that they both would use to manipulate the common data. The problem that I have is with the ASP.NET application, which I don't know how to build to allow two persons working simultaneously on a set of data and see instantly the changes the other person does.

Hope my explanation is clear :-) I would appreciate any help, comments, or suggestions.

Thanks
Aug 3 '06 #3

Thanks for your thoughts on this one. I agree that it is a challenge.

I was thinking about a combination of Ajax (Atlas) and events raised on the
server to push the updates to the related browser at the other end. I would
lock the document for the customer and only allow the internal adviser to
make any modifications on the document. Would this be feasible? My question
would be how to keep the two persons on each end (customer and intenal
adviser) connected and related all of the time.

Any suggestions on this one?

Thanks.
Mike

"William Sullivan" <Wi*************@discussions.microsoft.comwrote in
message news:AA**********************************@microsof t.com...
This is hard enough working in a regular application. When you add in the
disconnected nature of web pages, you make it pretty damn near impossible.
There is no "instant" update from server to client. Clients send requests
to
the server, which services the request. That's how the whole things
works.
Ajax (Atlas, to MS) can give the user the impression that this is not the
case, but it still is. Your web application will have to send updates to
the
server, which will then do some processing and send the results back to
the
client machine, which then can be displayed to the user. If this was a
perfect world, such a system as you describe would be simple to implement.
However, you must consider that requests are served in a multithreaded
environment, so you might have person A attempting to update a document at
the same time person B is. What if person B deletes a sentence, and his
update goes through, and then person A submits an update with that
sentence
still in there. Is it put back in? Is it deleted again? This sort of
conflict resolution is damn hard to code. Your best bet would be to
restrict
access to the document to one individual at the time, using Atlas to send
updates and do refreshes in the background. Good luck.

"Mike" wrote:
>>
Hi everyone,

I need to develop a new asp.net 2.0 web app that has to allow a client
the ability to work with an internal adviser on the same document (an
offer) at the same time. I am not sure how to allow two persons working
on the same application and changes be reflected to both browsers. For
sharing the data, I could set up a DB, apply a unique ID that they both
would use to manipulate the common data. The problem that I have is with
the ASP.NET application, which I don't know how to build to allow two
persons working simultaneously on a set of data and see instantly the
changes the other person does.

Hope my explanation is clear :-) I would appreciate any help, comments,
or suggestions.

Thanks

Aug 3 '06 #4
You can't raise events on the server and have them consumed on the client.
You'll have to resort to polling. Sounds like you might be better off with
some type of activex component...

"Mike" wrote:
>
Thanks for your thoughts on this one. I agree that it is a challenge.

I was thinking about a combination of Ajax (Atlas) and events raised on the
server to push the updates to the related browser at the other end. I would
lock the document for the customer and only allow the internal adviser to
make any modifications on the document. Would this be feasible? My question
would be how to keep the two persons on each end (customer and intenal
adviser) connected and related all of the time.

Any suggestions on this one?

Thanks.
Mike

"William Sullivan" <Wi*************@discussions.microsoft.comwrote in
message news:AA**********************************@microsof t.com...
This is hard enough working in a regular application. When you add in the
disconnected nature of web pages, you make it pretty damn near impossible.
There is no "instant" update from server to client. Clients send requests
to
the server, which services the request. That's how the whole things
works.
Ajax (Atlas, to MS) can give the user the impression that this is not the
case, but it still is. Your web application will have to send updates to
the
server, which will then do some processing and send the results back to
the
client machine, which then can be displayed to the user. If this was a
perfect world, such a system as you describe would be simple to implement.
However, you must consider that requests are served in a multithreaded
environment, so you might have person A attempting to update a document at
the same time person B is. What if person B deletes a sentence, and his
update goes through, and then person A submits an update with that
sentence
still in there. Is it put back in? Is it deleted again? This sort of
conflict resolution is damn hard to code. Your best bet would be to
restrict
access to the document to one individual at the time, using Atlas to send
updates and do refreshes in the background. Good luck.

"Mike" wrote:
>
Hi everyone,

I need to develop a new asp.net 2.0 web app that has to allow a client
the ability to work with an internal adviser on the same document (an
offer) at the same time. I am not sure how to allow two persons working
on the same application and changes be reflected to both browsers. For
sharing the data, I could set up a DB, apply a unique ID that they both
would use to manipulate the common data. The problem that I have is with
the ASP.NET application, which I don't know how to build to allow two
persons working simultaneously on a set of data and see instantly the
changes the other person does.

Hope my explanation is clear :-) I would appreciate any help, comments,
or suggestions.

Thanks


Aug 3 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Eric S. Johansson | last post by:
I have an application where I need a very simple database, effectively a very large dictionary. The very large dictionary must be accessed from multiple processes simultaneously. I need to be...
19
by: Claudio Grondi | last post by:
I would like to save time copying the same file (>6 GByte) to various different target storage media connected to the system via USB. Is there a (Python or other) tool able to help me to do...
1
by: slugger | last post by:
Hope this is not OT: I am running into some strange things whenever my ASP pages send out simultaneous requests to another ASP page which in turn gains access to a MySQL database using a DSNless...
6
by: Jimnbigd | last post by:
I want to write a game, and sounds will really add to it. Note that I would always make the sounds optional. I hate it when I go to a URL and unexpectedly get sounds or music. I have played...
12
by: Dan V. | last post by:
Since an ASP.NET/ADO.NET website is run on the server by a single "asp_net worker process", therefore doesn't that mean that even 50 simultaneous human users of the website would appear to the...
8
by: Richard Aubin | last post by:
I'm creating an application that needs to go through over 2,000 loops repeatedly. However, the user interface is "locking up" while the processing is happening. Why is this happening, and how...
1
by: USCG | last post by:
I have an application that connects to remote machines with valid IP addresses. However, if I try to connect to a machine that does not exist, at least 45 seconds goes by before my application...
1
by: loosecannon_1 | last post by:
Hello everyone, I am hoping someone can help me with this problem. I will say up front that I am not a SQL Server DBA, I am a developer. I have an application that sends about 25 simultaneous...
4
by: raylopez99 | last post by:
Compound question: first, and this is not easy, if there's a way to detect multiple simultaneous key presses in C# let me know (in the below code, keys c and d being pressed simultaneously or...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.