Hey Everyone, I got a quick sort of hack for doing instant reloads in the develop branch. Can you all test it out for me? Just basically thrash your apps and do a bunch of reloads while that's going on. Thanks. -- Zed A. Shaw http://zedshaw.com/
Hello, On 2011-06-27 17:33, Zed A. Shaw wrote: > Hey Everyone, > > I got a quick sort of hack for doing instant reloads in the develop > branch. Can you all test it out for me? Just basically thrash your > apps and do a bunch of reloads while that's going on. Ok, running siege against my app while doing `m2sh reload -every` as fast as possible. For the small VMs I have, it goes from 3k req/s without reloading to 1k but without a single transaction failure. So, I suppose it is a hack but it works very well. root@node2:~# siege -b -t10S http://www.photon-project.com/hello ** SIEGE 2.70 ** Preparing 15 concurrent users for battle. The server is now under siege... Lifting the server siege... done. Transactions: 9954 hits Availability: 100.00 % Elapsed time: 9.95 secs Data transferred: 0.11 MB Response time: 0.01 secs Transaction rate: 1000.40 trans/sec Throughput: 0.01 MB/sec Concurrency: 14.06 Successful transactions: 9954 Failed transactions: 0 Longest transaction: 5.34 Shortest transaction: 0.00 root@node2:~# siege -b -t15S http://www.photon-project.com/hello ** SIEGE 2.70 ** Preparing 15 concurrent users for battle. The server is now under siege... Lifting the server siege... done. Transactions: 11771 hits Availability: 100.00 % Elapsed time: 14.79 secs Data transferred: 0.13 MB Response time: 0.02 secs Transaction rate: 795.88 trans/sec Throughput: 0.01 MB/sec Concurrency: 14.28 Successful transactions: 11771 Failed transactions: 0 Longest transaction: 1.23 Shortest transaction: 0.00 $ git log -1 --summary commit 0f472755abe7e123fa390994141a270949d1ab9e Author: Zed A. Shaw <zedshaw@zedshaw.com> Date: Sun Jun 26 11:27:54 2011 -0700 First crack at a hackish instant reload capability.
On Tue, Jun 28, 2011 at 09:30:35AM +0200, Loic d'Anterroches wrote: > Hello, > > On 2011-06-27 17:33, Zed A. Shaw wrote: > > Hey Everyone, > > > > I got a quick sort of hack for doing instant reloads in the develop > > branch. Can you all test it out for me? Just basically thrash your > > apps and do a bunch of reloads while that's going on. > > Ok, running siege against my app while doing `m2sh reload -every` as > fast as possible. For the small VMs I have, it goes from 3k req/s > without reloading to 1k but without a single transaction failure. So, I > suppose it is a hack but it works very well. Great, I'll be cleaning it up tonight and making it handle a couple more edge cases. Stay tuned. -- Zed A. Shaw http://zedshaw.com/