Ajax Jay Rock

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Ajax Jay Rock - Presentation Transcript

    1. I-DigitalTEK Agile Development IT Solutions for Growing Business JayRock “Ajax” Thin Client RPC Architecture “ Performance Testing: Json RPC versus Web Service XML” I-DigitalTEK K I IdigitalTEK
    2. JayRock Server Side
      • JSON format.
      • Server side serialization in NET Object
      • RPC Called synchronously or asynchronously.
      • public class HelloWorld : JsonRpcHandler
        • { [ JsonRpcMethod("greetings") ]
        • public string Greetings()
        • { return "Welcome to Jayrock!"; } }
    3. JayRock Client Side
      • JSON Client Side called
      • <script type=&quot;text/javascript&quot; src=&quot;json.js&quot;></script>
        • <script type=&quot;text/javascript&quot; src=&quot;helloworld.ashx?proxy&quot;></script>
      • Java Script
          • <script type=&quot;text/javascript&quot;>
          • window.onload = function() { var s = new HelloWorld(); alert(&quot;sync:&quot; + s.greetings()); s.greetings(function(response) { alert(&quot;async:&quot; + response.result) }); }
          • </script>
      • JavaScript function then it treats it as a  callback.
      • JavaScript's  eval  function to parse Text.
    4. Java Script Object Notation
      • // josn.js must be included prior to this point
        • var countries = new Array();
        • countries.push(“USA&quot;);
        • countries.push(“Canada&quot;);
        • countries.push(“UK&quot;);
        • countries.push(“Australia&quot;);
        • alert(&quot;The JSON representation of the countries array is: &quot; + countries.toJSONString());
      • var value = eval( &quot;(&quot; + jsonText + &quot;)&quot; );
      • var countries = jsonText t.parseJSON();
    5. JSON versus XML
      • Structure Data Type.
      • Native Array.
      • Recognized NULL values.
      • No Namespace.
      • No Date time literal.
      • Simple.
      • Very compact format.
      • Does not need XML DOM client side can use JavaScript’s eval.
      • Relatively new data exchange format not as well supported as XML by Vendors.
    6. Load Test Tools
      • VS 2008 Test suite
      • Web test project
      • Load test project
        • Step Duration
        • Step Time
        • Virtual Users and Session
      • If Statement and Loop
      • Error Log and limitation
    7. IIS Performance Monitoring
      • System Monitor
        • Counters Group: Processor, Memory, Logical Drive, Physical Drive, DNS, DHCP Server, Network Interface, Web Service.
      • Network Monitor
        • Wire Shark
      • Counters:
        • Memory: available Bytes (over 20MB), Cache Bytes (memory depletion), Committed Bytes (75% of Physical Memory), Page Faults/sec, Pages/sec (max 80), Pool Non-paged Bytes (increases may imply memory leaks).
        • Processor: % Processor (below 80)
        • Disk: %Disk Time (as low as possible), Avg. Disk Bytes/Transfer (high value recommended), Avg. Disk Queue Length (value of 4 or lower).
        • ISAP Extension – drop may mean web application is bottle necking.
        • Active Server Page: Request/sec (watch for drop), Request Queued (need to low), request wait time.
    8. IIS Performance Monitoring
      • Maximum Performance Settings:
        • IIS Running in Isolation Mode.
        • Recycling IIS Worker Process: default 1,740 minutes and 35,000 connections.
          • Specific time of the day
        • Idle Timeout: shut down idle worker process.
        • Enable Limit the request queue, CPU Monitoring in Application Pool.
        • Web-Garden allow IIS for multiple worker processes:
          • Health Monitoring
          • Rapid-fail protection
          • Startup & Shutdown limit
      • QOS for Quality of Service:
        • HTTP Keep-Alive – maintain TCP connections
        • Connection Timeouts – IIS claims back resources when connections are idle.
        • HTTP Compression
        • Limiting the number of connections
        • Bandwidth Throttling: 1024 kb/sec – specify quantity of network bandwidth IIS can consume (recommended if over 50%)
    9. IIS Performance Monitoring
      • How to tune the IIS meta-base?
      • What do I do about my Thread Pool?
      • What are the Common Server Tuning Methods for IIS?
      • How to tune Performance of ASP, ASP.NET and ISAPI Applications?
        • Just inquire about our Support IIS Audit package!
    10. Reference Material
      • I-DigitalTek – Contact Us
      • MSDN Microsoft.
      • JayRock Google Group.

    + IDIGITALTEKIDIGITALTEK, 10 months ago

    custom

    760 views, 1 favs, 1 embeds more stats

    Ajax Json RPC

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 760
      • 758 on SlideShare
      • 2 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds
    • 2 views on http://studio.i-digitaltek.net

    more

    All embeds
    • 2 views on http://studio.i-digitaltek.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories