Find the answer to your Linux question:
Results 1 to 4 of 4
i m doing my project in which i need to assign different priority to different web pages in an e-commerce application. i have completed till designing web pages. i want ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    Assigning Priority

    i m doing my project in which i need to assign different priority to different web pages in an e-commerce application. i have completed till designing web pages. i want to assign more priority when the user is surely going to buy and less priority when the user is just viewing the home page.can anyone help me out in assigning priority.where should i add the code for this..how to proceed my work..

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Posts
    11

    Assigning priority

    Ok, this sounds weird, priority is only necessary if the machine is underpowered or I guess very heavy traffic.

    So my suggestion
    Run two separate web servers, one that deals with front page stuff and another for the backend/shopping card/store part. (Maybe run them on two different computers ?) or run them on the same machine on two different ports ? This is possible if one is http (80) and the other is https (443) and run the two apache(s) with different threads, "nice" levels, etc to assign priority.

    My two cents

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Location
    Romania
    Posts
    42
    If I understood, You need a kind of QoS/priority mechanism in web caching using some differentiated services - in fact, a method that classifies web requests. A suggestion: apache mod_cache with priority queue and separate threads.

  4. #4
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2
    ya...I need a kind of QOS mechanism.... i am using system level thread priorities in my project. I need to provide different QOS to different clients in a tomcat server....How should my priority coding be..Two different SSL thread pools are used.One pool will be running with SCHED_OTHER policy and another with SCHED_RR policy demonstrating that clients attended by pool of threads running with SCHED_RR are obtaining better QOS than clients attended by SCHED_OTHER..How can i do this......what should i do with my web design code...Please give me some suggestions...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...