Another new-features-related snapshot is available.

I have closed all of the feature requests, so do not expect too much news
in the next two weeks (-rc will be pretty boring)

* The locking infrastructure has been (again) improved

flock()-based locking has been removed. The old (safe) POSIX ipc
semaphores are used when the OS does not support modern locking systems.
Sadly only Linux,Solaris and OSX have such a modern (fast) systems.

* fastrouter improvements

You can now specify un ulimited number of "fallback" nodes with
--fastrouter-fallback. Those nodes will be used when there are no more
nodes available or there is no mapping for the requested hostname.

You can now specify un unlimited number of --fastrouter-to directives
allowing old-fashioned static clustering

* The multiprocess spooler

One of the most requested features is finally available.
You can now spawn multiple spooler process monitoring the same directory.
The new monitoring subsystem is nfs-safe too.

You can spawn multiple spooler on the same directory with

--spooler foobar --spooler foobar --spooler foobar

or with the shortcut

--spooler-processes 3 --spooler foobar

You can obviously spawn additional spoolers on different directories:

[uwsgi]
spooler-processes = 3
spooler = spool1
spooler-processes = 2
spooler = spool2
spooler-processes = 4
spooler = spool3
spooler = spool4

Will spawn 3 processes on spool1, 2 on spool2, 4 on spool3 and 4 on spool4


* Ruby RVM support

The rack plugin can now use gemsets easily.

You obviously need to compile the rack plugin for all of the ruby binaries
installed (ONLY the binaries, not the gemsets !!!):

rvm use 1.8.7
python uwsgiconfig --plugins plusing/rack default rack187
rvm use 1.8.6
python uwsgiconfig --plugins plusing/rack default rack186
rvm use 1.9.2
python uwsgiconfig --plugins plusing/rack default rack192

and so on.

To use a specific gemset you simply need to specify it with the
--gemset option:

uwsgi --plugins rack187 -M -p 4 --rack config.ru --gemset ruby-1.8.7@foobar

will load the foobar gemset for ruby-1.8.7.

By default ~/.rvm and /usr/local/rvm are searched (remember to define
$HOME if it is not defined, you can use the --env option)
In addition to this you are free to specify additional rvm paths with the
--rvm-path option.


* Minor fixes

ConfigLogic has been improved for negative functions, check the doc on
http://projects.unbit.it/uwsgi/wiki/ConfigLogic

Thread-safety in the cache subsystem has been fixed.

Paster logging is finally working


* Issues

LDAP support is (still) broken (sorry i am too lazy to re-bring up my
slapd daemons :P).
Queue framework is not thread-safe
basicauth router is not thread-safe
Fastrouter stats system is broken if multiple fastrouter processes are spawn
Perl single-interpreter mode is still missing (but maybe this is not a
real-problem
as multiple interpreters in perl are safe everywhere)


You can download it from

http://projects.unbit.it/downloads/uwsgi-1.1-snapshot17.tar.gz

Thanks for reports

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to