CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 3/10/2008 4:07:15 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
ozkanozlu
Asp.Net User
user pipelining/queuing3/10/2008 4:07:15 PM

0/0

Hi everyone,

A friend of mine is making a remote learning web-site and he wants users/members to log in to web site, use the device which is connected to host computer, and then log out automatically. If another user attepmts to log in while one is using the system, he should be added to queue.

For example:

Paul and Lisa have accounts, and Paul first enters the site then starts the system. this will take 10 mins max. then at the 4th min. Lisa comes in. Then program will say her to wait about 6 minutes. If another student Jane wants to come in she will be the 3rd then she will be able to use the system after Lisa. Besides, there might be more than 40 students at the queue at the same time.

Another point is they will be able to chat each other while either working on the system or waiting at the queue. chat can be public. no need to be so detailed.

Well, we are trying to make this in VS 2005 using C#. But we cannot make it in an order. Perhaps somebody out here would like to help.

Greetings.

ps2goat
Asp.Net User
Re: user pipelining/queuing3/10/2008 5:10:21 PM

0/0

Use a System.Collections.Generic.Queue.  This will allow you to use whatever datatype you want (including a custom class, such as user), and it will provide the queuing techniques requested. 

You cannot programmatically search through a queue, just add to the end of it and pull from the front of it.  This will have to be a "public static" variable, though, so all sessions will be able to use the same queue variable.

To figure out the wait time, you'd need to calculate  [  MaxTime x (queue.Count - 2) + TimeLeftForCurrentUser  ]. (Subtract 1 for the user currently using the device, another 1 for the current user because he won't have to wait until his own session is over).

 


---------------------------------------
MCP - Web Based Client Development .NET 2.0
ps2goat
Asp.Net User
Re: user pipelining/queuing3/16/2008 5:50:20 PM

0/0

 Queue example: http://msdn2.microsoft.com/en-us/library/system.collections.queue.aspx

Generic queue example: http://msdn2.microsoft.com/en-us/library/7977ey2c.aspx  (you can use any user-defined class with this, not just String as used in the example)


---------------------------------------
MCP - Web Based Client Development .NET 2.0
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Parallel Processing and Medium-scale Multiprocessors Authors: Arthur Wouk, United States Army Research Office. Mathematical Sciences Division, Stanford University Computer Science Dept, Pages: 207, Published: 1989
Network Processors: Architectures, Protocols, and Platforms Authors: Panos C. Lekkas, Pages: 456, Published: 2003
Proceedings of the Twenty-ninth International Conference on Very Large Databases, Berlin, Germany, 9-12 September, 2003: 9-12- September 2003 Berlin, Germany Authors: Johann Christoph Freytag, Pages: 1151, Published: 2003
Computer Organization and Architecture: Designing for Performance Authors: William Stallings, Pages: 778, Published: 2006
Languages and Compilers for High Performance Computing: 17th International Workshop, LCPC 2004, West Lafayette, IN, USA, September 22-24, 2004 : Revised Selected Papers Authors: Rudolf Eigenmann, Zhiyuan Li, Samuel Pratt Midkiff, Pages: 486, Published: 2004

Web:
user pipelining/queuing - ASP.NET Forums user pipelining/queuing. Last post 03-16-2008 1:50 PM by ps2goat. 2 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Control of processor pipeline movement through replay queue and ... The invention, in one embodiment, is a processor pipeline. The pipeline includes a front end, a back end, and a queue between the front end and the back end ...
Amortizing Software Queue Overhead for Pipelined Inter-Thread ... Jan 29, 2008 ... Amortizing Software Queue Overhead for Pipelined Inter-Thread Communication, ...
FPGA prototype queuing module for high performance ATM switching ... different working routings of identical pipelined queuing ... CAB) Data Checker Board User’s Manual, 1991. ... Goering, “Users Seek Better FPGA Layout,” ...
Windows Vista Video Pipeline Architecture And Implementation Integration with WDDM and DXVA2 pipeline; Robust queuing, ... Clone mode; Drivers can populate modes and users can override; Better EDID support ...
[Paper] Queueing Analysis of a Synchronous Pipeline However our search shows that no paper has addressed the spe- cial queueing network that we are dealing with. Our pipelined queueing model addresses the ...
Ramesh Parthasarathy's Blog: Configuring Thread pool(s) in SailFin Jun 27, 2008 ... The (default) Grizzly pipeline implementation is capable of queuing tasks and executing them once a free thread is available. ...
Amortizing Software Queue Overhead for Pipelined Inter-Thread ... latency inter-thread communication by pipelining acyclic commu-. nication (also known as streaming ..... Software queue-based algorithms for pipelined ...
Simultaneous Pipelining in QPipe: Exploiting Work Sharing ... “QPipe: A. Simultaneously Pipelined Relational Query Engine.” In Proc. SIGMOD, 2005. µEngines. µEngine queue. queued packet. (waiting to be. worked on) ...
CPU pipeline having queuing stage to facilitate branch ... CPU pipeline having queuing stage to facilitate branch instructions - US Patent 5737562 from Patent Storm. A pipelined microprocessor is provided with a ...

Videos:
IBM STRETCH - A Technology Link Between Yesterday & Tomorrow IBM's STRETCH program for the Government's Los Alamos lab, later named the IBM 7030 when sold commercially, was IBM's audacious gamble at creating th...
La vérité sur la guerre en Afghanistan 2/2 1ère partie http://fr.youtube.com/watch?v=1XyL6ir2Zjg La fin finit en queue de poissons, je vais poser une autre série avec Eric Margolin où il est ...
Delhi witnessed glorious night of jazz featured by Maurizio A concert by Sandeep Chowta featuring Colonna & Gambale in association with Rain was organised by Siddarth R. Narayan in capital recently. This bash ...
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....
Long Beach City Council Meeting Long Beach City Council Meeting




Search This Site:










problem installing web application project on vista

looking for info on crystal reports

remove the need to "set start page"

how javascript can use in master pages...

wap not correctly wiring pages to classes?

"convert to web application" menu option does not appear

opening a vs 2003 solution in vs 2005 without automatically converting to 2005 solution

new item -> checkbox "select master page" gone?

surely somebody else has encountered this problem with wap

not able to host c++ atl server web service in c# project in 64 bit machine

option strict in designer.vb files

system.directoryservices not found?

upgrade web application from vs 2003 to vs 2005 with mobile web form

multithreading in asp.net large application with remoting

designer support, seems logically broken

web application project now working

installation fails

combining wdp with wap

page classnames may not be the name of a webcontrol

vstudio 2005 sp1 and web site / web app projects

vs2005 asp.net designer class issues

conversion problems

load fires twice.

control events not firing in asp.net if client side javascript attached

reformatting html in vs.2005

app_data folder not working as it should...

the .designer.cs partial class keeps renaming my ascx control!!!!

page load is slow(esp images) on windows vista-iis7

my

asp.net 2.0 deploymnet

  Privacy | Contact Us
All Times Are GMT