Results 1 to 5 of 5

Thread: continuous server-client interraction

  1. #1
    Join Date
    May 2010
    Posts
    8

    Default continuous server-client interraction

    Hi,

    I want to create web application with real-time updated charts.
    So client specifies parameters and continuously receives some
    some data. As it's possible to have different clients with different
    parameters - server-side I will do in beans with session scope.

    Please, advise the way/technology to implement this.

  2. #2
    Join Date
    Oct 2011
    Posts
    1

    Default

    I think this may help // Get the keys for maximum values of page views and visits
    function max_key($array) {
    foreach ($array as $key => $val) {
    if ($val == max($array)) return $key;
    }
    }
    $array = $pviews;
    $precord = max_key($array);
    $array = $visits;
    $vrecord = max_key($array);

    // Always use max. value recorded in array for y-axis
    $ymax = 1*(max($pviews));
    // Devide it by six and round up to nearest whole number to set appropriate y-axis ticks
    $ytick = ceil((max($pviews))/6);.

  3. #3
    Join Date
    Feb 2009
    Posts
    18

    Default

    I'd have a look at how facebook realizes the chat and news stream functionality. You can see some rather interesting AJAX calls in Firebug (Firefox Debugging Plugin). It has a Javascript Function which polls an AJAX backend on regular basis. It further adjusts the repolling frequency based on factors - which aren't disclosed I assume - but user interaction intensity would be one I'd consider for reducing the amount of update calls.

  4. #4
    Join Date
    Jan 2012
    Posts
    6

    Default

    Existing continuous integration systems are generally built around one of two disparate architectures, and generally implement only a subset of desirable features. As CI systems mature and their user populations grow, we would expect them to grow additional features; however, implementation of these features may be constrained by the base choice of architecture. It will be interesting to see how the field evolves.


    Business School Rankings
    Best MBA Programs

  5. #5

    Default

    methods a client wishes to execute in a server. It is _very_ easy to use
    and is implemented for lots of languages, including Java. Using XML-RPC
    your clients may be written in Java, Python, Perl, C++, PHP, ASP and so
    on. It doesn't matter who generated the call, it's all XML anyway.

    ccie voice
    ccie voice lab
    msp training

Posting Permissions

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