---
title: "Jetty Cometd"
author: "zerostar88"
date: "2010-05-16T19:51:13Z"
tags: [".net", "Comet", "HTML", "XML"]
categories: ["Web前端"]
slug: "jetty-cometd"
draft: false
lastmod: "2010-05-17T15:10:35Z"
id: 667699
url: "https://jeffyding.iteye.com/blog/667699"
---

[Jetty cometd(Continuation)学习笔记](http://www.blogjava.net/xmatthew/archive/2008/11/20/208911.html) :

[http://www.blogjava.net/xmatthew/archive/2008/11/20/208911.html](http://www.blogjava.net/xmatthew/archive/2008/11/20/208911.html)

 

# Stress Testing Cometd (Jetty implementation)

[http://docs.codehaus.org/display/JETTY/Stress+Testing+Cometd](http://docs.codehaus.org/display/JETTY/Stress+Testing+Cometd)

 

 

# Comet: Sub-Second Latency with 10K+ Concurrent Users

[http://www.infoq.com/news/2008/01/comet-scalability](http://www.infoq.com/news/2008/01/comet-scalability)

 

Step1: cd {jetty.home}

          java -Xmx2048m -jar start.jar etc/jetty.xml

 

Step2: cd /tmp/jetty-6.1.24/contrib/cometd/client/

          bin/run.sh

 

following is my test on 103:

Got:1000 of 1000  
Got 1000 at 97/s, latency min/ave/max =2/4/54ms