Archive

Archive for the ‘C’ Category

How many task are involved when creating an open source project ?

March 23rd, 2010 Eduardo Silva No comments

Today i’ve been summarizing  how many different task are involved when you start an open source project, let’s see:

  1. Choose project name: for some people this task can take days!
  2. Choose project website URL: nowadays is difficult to find a short and cool domain name available
  3. Get a hosting, maybe sourceforge.net ? well, the right place to start :)
  4. Design your project logo and web site: you can install a CMS, but you need to spent time configuring and deciding contents that will be available
  5. Create a control version system repository: oh! svn or git ?, if so, where ? hmm
  6. Create a mailing list: you want to keep informed “someone” in the future!
  7. Create documentation: you know everything about your program, but what about others ?, not all end users are developers!
  8. Create a chat room: maybe the most easy step, don’t forget to set the topic if is an IRC channel and “save” the channel
  9. Register your project on a news site like freshmeat.net: the world must know about your project! not just your 2 friends!
  10. Invite people to participate: most of the successful projects are growing thanks to the community! you need people involved! (including fanboys!), if your project is interesting more than one will want to take part on it…
  11. Coding :)

Are you sure that you will handle the whole stuff by your own ?, an open project is not just the license attached, is about to let people collaborate and hear their ideas, they can contribute a lot…

Categories: C, Misc, Programming, Talks Tags:

Monkey HTTP Daemon 0.10.0 RC5 is OUT!!!

March 22nd, 2010 Eduardo Silva No comments

Monkey HTTP DaemonWe have just released our fifth candidate for Monkey 0.10.0 !!

Changes from previous versions:

  • This version includes a new function to retreive the OS somaxconn value
  • Fix a return value for forbidden status connections
  • Enable logs for connection status 301 302 and 304
  • Fix log body length for partial content connections
  • Fix log for HEAD method connections
  • Checklog: this is a new tool for the QA package. This tool check logfiles entries for specified rules, now for every QA .htt test file exists a logfile rule.
Categories: C, Monkey, Programming Tags:

Monkey HTTP Daemon 0.10.0 RC4 is OUT!!!

March 18th, 2010 Eduardo Silva No comments

The Monkey Team is proud to announce the availability of Monkey HTTP Daemon   0.10.0 Release Candidate 4 !!!

What’s new ?

This version includes fixes in the headers TOC parser, better handling of
Connection header, fix a Pipelining check, six new QA scripts, new
MONKEY_TRACE environment var support for trace mode, old comments cleanup
and updated README and ChangeLogs

Please check the web site for details

http://www.monkey-project.com

Categories: C, Monkey Tags:

Monkey 0.10.0-rc2 is OUT !!!

March 11th, 2010 Eduardo Silva No comments

The Monkey Team is proud to announce the availability of Monkey HTTP Daemon 0.10.0-rc2 !!!

What’s new ?

Here we have the most significant changes made in RC2:

- Monkey RC2 runs 8%-10% faster than RC1 !!!
- Fixed bug in backward transversal directory Check
- Fixed non-freed buffer for client IP
- Minor fixes

Thanks to Carlos Ghan and Jonathan Gonzalez for their contribution in this release !!

More details in http://www.monkey-project.com

Categories: C, Monkey Tags:

Monkey 0.10.0 RC1 is OUT !!!

March 2nd, 2010 Eduardo Silva No comments

Today begins a very excited moment in Monkey HTTP Daemon project, the
development team has decided to release Monkey 0.10.0 Release Candidate 1,
so please check the following details:

What’s a RC version ?

A release candidate version (aka rc), is a special version which focus in
stability, we will go releasing different rc versions until we consider that
is a strong version free of visible bugs.

How can i help ?

First download Monket 0.10.0-rc1 and run hard tests over it, serving
different type of files (small and big ones), run benchmark test with httest
or apache benchmark, check compatibility issues on your local machine, etc.

Quick Start

You can download Monkey 0.10.0-rc1 from http://www.monkey-project.com or
http://www.monkey-project.com/releases

What’s next ?

We need your feedback, if you find that something is not working properly,
you got a crash or similar, let us know as soon as possible to this mailing
list. Our bug tracker system is down so any email is appreciated,

How to report a problem ?

In order to provide full details about your issue, please provide
reproducible steps, configuration files used, linux distribution used and
your linux kernel version.

We will provide a full announcement with details about core changes and
people involved once 0.10.0 stable release is out, that’s all for now and
let’s put our hands on!

Categories: C, Monkey Tags:

Monkey HTTP Daemon 0.9.3 (Ouch!) is out

November 27th, 2009 Eduardo Silva No comments

This morning when i resumed my laptop and checked my email, i got a critical bug report for Monkey 0.9.2, it was a silly bug which was hidden for almost five years!,  the issue was fixed in 2 minutes with a new release. The bug was  discovered by Petroklos Argyroudis from census-labs.com, thanks Petroklos!

All users must upgrade their server versions. Development branch (0.10.x) users are not affected.

Please use the following link for the download section

Categories: C, Monkey Tags:

vmsplice() + SPLICE_F_GIFT flag ??

August 27th, 2009 Eduardo Silva 1 comment

does anybody know why the linux syscall vmsplice() doesn’t work with the SPLICE_F_GIFT flag ?, per manual page it should be supported but i get the following error:

vmsplice: Invalid argument

any help is appreciated..

Categories: C, Programming Tags:

Python + Epoll()

June 29th, 2009 Eduardo Silva No comments

Last year i started a new component for Monkey HTTP Daemon called Palm which contains a python module to use the linux epoll syscall through CTypes, if you  will like to use it you can get it from here:

http://repo.or.cz/w/MonkeyD.git?a=blob;f=palm/lib/epoll.py;h=ff60e6ff9bc94549e2aaa38acd5b1bc4846486b0;hb=HEAD

hope it helps…

Categories: C, Monkey, OLPC, Programming Tags:

Looking for freelancer opportunities

December 28th, 2008 Eduardo Silva 1 comment

I decided to work on my free time as a Freelancer developer/sysadmin, I will be available to do task related to:

  • Software Architect
  • C (sockets, threads, epoll, scalability, etc)
  • PHP
  • Python
  • GTK+
  • MySQL/PostgreSQL
  • Linux sysdamin

If you need somebody with this skills contact me using the information found in the About Page

He decido trabajar en mi tiempo libre como Freelancer (desarrollador y sysadmin), estare disponible para realizar tareas relacionadas con:

  • Software Architect
  • C (sockets, threads, epoll, scalability, etc)
  • PHP
  • Python
  • GTK+
  • MySQL/PostgreSQL
  • Linux sysdamin

Si necesitas a alguien con estos skills puedes contactarme a traves de la informacion del About Page

Categories: About me, Announces, C, Gnome, Google, OLPC, Programming Tags:

Monkey benchmark, a really fast web server: Part I

December 21st, 2008 Eduardo Silva No comments

The last months , have been a hard work time refactoring the monkey source code, almost the 80% of the source code have been rewritten and now we can see some real numbers about how the performance of our development version, future release 0.10.0 is doing : just really rocking !

I’ve done a simple benchmark using the Apache Benchmark utility on my laptop which hardware is an Intel Celeron M 1.6GHz, 750MB RAM:

ab -n 50000 -c 20 http://127.0.0.1:2001/linux.jpg

linux.jpg is a file of 202177 bytes (202KB) which is requested 50000 times using 20 concurrent request,

These are really good news, Monkey 0.9.2 handle 469.65 request per second for file linux.jpg versus the GIT version which handle 1633.96 per second, at this moment the new Monkey is almost 70% more faster and scalable than older versions. The big changes made that make possible get this excellent performance are based in the new way to handle the network connections using epoll() + threads and better memory management.

Still there’s a lot of things to do, if you will like to contribute contact us!, join us to our maling list:

http://groups.google.com/group/monkeyd

see you around!

Categories: Announces, C, Misc, Monkey, OLPC, Programming Tags: