librelist archives

« back to archive

Update of the default project - mini roadmap

Update of the default project - mini roadmap

From:
Loic d'Anterroches
Date:
2011-03-03 @ 22:17
Hello,

just to let you know. Devon did a great job clearing out the stuff and
making the new default project with a nice structure. I cleaned a bit
and have been reusing the work of Mehdi to get the secret key in the
config file and the uuid in the mongrel2 conf.

The next step is to generate the unit tests for the helloworld app to be
sure that when the user run $ hnu runtests in his newly created project,
he gets a 100% code coverage success.

Thank you all for the work.

Side note, I have improved the size of the tests with a reduction from
about 4MB to 240KB, maxing Photon only 700KB now. Way better. Also,
interestingly Photon is still less than 3000 lines of code. I will try
to keep this number small, really small in the future. The less code the
system has to run, the less instructions for the CPU, the fastest it is.

The mini roadmap is:

- update of the photon-project.com website with the documentation.
  Including for me a fabric release script to do that easily in one
  $ fab deploy call.
- getting the sample project completed with the chat application and
  the unit tests.
- getting the form handling fully unit tested.

From this point, I will be able to finish the port of the "search" part
of Cheméo on Photon and push it on the staging server for testing. This
will be interesting.

Also, the photon-projects.com handlers have been pushing more than
300,000 answers in the last five days without memory leak and particular
load issues. Yeah!

$ hnu server list
Waiting for the answers...
Photon id                Uptime        Served  Mem. (kB)  Peak mem. (kB)
-------------------------------------------------------------------------
vm112-28695-1298735635   5d06:19:05    104928  2931       3237
vm112-28693-1298735635   5d06:19:05    104930  2936       3241
vm112-28697-1298735635   5d06:19:05    104928  3154       3469
[... removed the 2 dummy background tasks ...]
-------------------------------------------------------------------------
5 Photon servers running. Memory usage: 12187kB.

loïc

--
Indefero - Project management and code hosting - http://www.indefero.net
Photon - High Performance PHP Framework - http://photon-project.com
Céondo Ltd - Web + Science = Fun - http://www.ceondo.com

Re: [photon.users] Update of the default project - mini roadmap

From:
Devon Weller
Date:
2011-03-04 @ 05:16
> getting the sample project completed with the chat application and the 
unit tests

I added a working chat application as a second sample project.  I would 
like to help with adding some application tests at some point, but I 
haven't gotten my head around testing an application yet.



On Mar 3, 2011, at 4:17 PM, Loic d'Anterroches wrote:

> Hello,
> 
> just to let you know. Devon did a great job clearing out the stuff and
> making the new default project with a nice structure. I cleaned a bit
> and have been reusing the work of Mehdi to get the secret key in the
> config file and the uuid in the mongrel2 conf.
> 
> The next step is to generate the unit tests for the helloworld app to be
> sure that when the user run $ hnu runtests in his newly created project,
> he gets a 100% code coverage success.
> 
> Thank you all for the work.
> 
> Side note, I have improved the size of the tests with a reduction from
> about 4MB to 240KB, maxing Photon only 700KB now. Way better. Also,
> interestingly Photon is still less than 3000 lines of code. I will try
> to keep this number small, really small in the future. The less code the
> system has to run, the less instructions for the CPU, the fastest it is.
> 
> The mini roadmap is:
> 
> - update of the photon-project.com website with the documentation.
>  Including for me a fabric release script to do that easily in one
>  $ fab deploy call.
> - getting the sample project completed with the chat application and
>  the unit tests.
> - getting the form handling fully unit tested.
> 
> From this point, I will be able to finish the port of the "search" part
> of Cheméo on Photon and push it on the staging server for testing. This
> will be interesting.
> 
> Also, the photon-projects.com handlers have been pushing more than
> 300,000 answers in the last five days without memory leak and particular
> load issues. Yeah!
> 
> $ hnu server list
> Waiting for the answers...
> Photon id                Uptime        Served  Mem. (kB)  Peak mem. (kB)
> -------------------------------------------------------------------------
> vm112-28695-1298735635   5d06:19:05    104928  2931       3237
> vm112-28693-1298735635   5d06:19:05    104930  2936       3241
> vm112-28697-1298735635   5d06:19:05    104928  3154       3469
> [... removed the 2 dummy background tasks ...]
> -------------------------------------------------------------------------
> 5 Photon servers running. Memory usage: 12187kB.
> 
> loïc
> 
> --
> Indefero - Project management and code hosting - http://www.indefero.net
> Photon - High Performance PHP Framework - http://photon-project.com
> Céondo Ltd - Web + Science = Fun - http://www.ceondo.com

Re: [photon.users] Update of the default project - mini roadmap

From:
Loic d'Anterroches
Date:
2011-03-04 @ 08:37

On 2011-03-04 06:16, Devon Weller wrote:
> 
>> getting the sample project completed with the chat application and the 
unit tests

Great!

> I added a working chat application as a second sample project.  I would 
like to help with adding some application tests at some point, but I 
haven't gotten my head around testing an application yet.

I will do the first run to write the tests, you will see how this is done.

loïc

> On Mar 3, 2011, at 4:17 PM, Loic d'Anterroches wrote:
> 
>> Hello,
>>
>> just to let you know. Devon did a great job clearing out the stuff and
>> making the new default project with a nice structure. I cleaned a bit
>> and have been reusing the work of Mehdi to get the secret key in the
>> config file and the uuid in the mongrel2 conf.
>>
>> The next step is to generate the unit tests for the helloworld app to be
>> sure that when the user run $ hnu runtests in his newly created project,
>> he gets a 100% code coverage success.
>>
>> Thank you all for the work.
>>
>> Side note, I have improved the size of the tests with a reduction from
>> about 4MB to 240KB, maxing Photon only 700KB now. Way better. Also,
>> interestingly Photon is still less than 3000 lines of code. I will try
>> to keep this number small, really small in the future. The less code the
>> system has to run, the less instructions for the CPU, the fastest it is.
>>
>> The mini roadmap is:
>>
>> - update of the photon-project.com website with the documentation.
>>  Including for me a fabric release script to do that easily in one
>>  $ fab deploy call.
>> - getting the sample project completed with the chat application and
>>  the unit tests.
>> - getting the form handling fully unit tested.
>>
>> From this point, I will be able to finish the port of the "search" part
>> of Cheméo on Photon and push it on the staging server for testing. This
>> will be interesting.
>>
>> Also, the photon-projects.com handlers have been pushing more than
>> 300,000 answers in the last five days without memory leak and particular
>> load issues. Yeah!
>>
>> $ hnu server list
>> Waiting for the answers...
>> Photon id                Uptime        Served  Mem. (kB)  Peak mem. (kB)
>> -------------------------------------------------------------------------
>> vm112-28695-1298735635   5d06:19:05    104928  2931       3237
>> vm112-28693-1298735635   5d06:19:05    104930  2936       3241
>> vm112-28697-1298735635   5d06:19:05    104928  3154       3469
>> [... removed the 2 dummy background tasks ...]
>> -------------------------------------------------------------------------
>> 5 Photon servers running. Memory usage: 12187kB.
>>
>> loïc
>>
>> --
>> Indefero - Project management and code hosting - http://www.indefero.net
>> Photon - High Performance PHP Framework - http://photon-project.com
>> Céondo Ltd - Web + Science = Fun - http://www.ceondo.com
> 

-- 
Dr Loïc d'Anterroches
Founder Céondo Ltd

w: www.ceondo.com       |  e: loic@ceondo.com
t: +44 (0)207 183 0016  |  f: +44 (0)207 183 0124

Céondo Ltd
Dalton House
60 Windsor Avenue
London
SW19 2RR / United Kingdom