[FM Discuss] fm admin upgrade

adam adam at xs4all.nl
Tue May 24 08:03:27 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi

so, sorry for the slow replies to admin requests over the last few days.
i have been working on a new process for 'pushing' from write->read

essentially we were having a lot of issues with php and the memory and
processing time required to pull material from objavi. Its an issue to
do with the fact that php has to sit and wait while objavi generates the
html/epub/pdf then download it, do some processing (if html) and then
move the content. all in all it was taking quite sometime and memory for
poor little ole php

so now we are trying an experiment with gearman which is a que
management system for php

this means when you action a 'push' it is added to a que - enabling you
to get on with other stuff and not wait for the job to finish. it also
means that php isnt 'frozen' while the process rolls out.

there is a *basic* implementation in place now. I have also changed a
few things including :
1. you can now 'just' update the pdf or epub without needing to also
pull down the templated html
2. links are now changed to get rid of the chxxx_ at the front of the
chapter links

for number 2 I have made sure that the old files are not overwritten so
if u are currently pointing to a chapter with the syntax
chxxx_chaptername then the links will not be broken.

the new plugin should be tried out over the next week or so and i will
change as necessary. i will also add an email notification system so
that when the job is processed you get notified by email

in the meantime, if u are an admin you can use it or the old system. the
new one is called 'get book gears' the old one is still 'get book'

fingers crossed...

all bug reports please send to the list or (preferably) create a ticket
in trac:
http://booki-dev.flossmanuals.net

:)

adam






- -- 


- --
Adam Hyde
Founder FLOSS Manuals
Project Manager Booki
Book Sprint Facilitator
+49 01774935122


Please note: I am not usually online on weekends unless facilitating a
Book Sprint
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN28ifAAoJENaIz+he8+X+tkIH/2ZrZNn+e6h9MHO2lQFA+9OB
pp5wUFs4Hl+feB4hpd0LRPsNuWd7Cb7Y8C7p5BcDINdb2q5G1VQNhXOu6Hq1pAD7
AUAC6bG9t0l9SvP0o1SfWMAIztQmZ9LPXKiflqKIhGzKFcmkjrpfRrjbHDDXvw35
nPXJsuKgSSwgSa/k/rRPlDxNk9lUUqBW6H13eUIkYCKIUjkxqxl2aOFKuBdu3hrp
7s0SjHlnAiTVyXy7CfZ+neRUeKljkU8I73JkaYVlwBXHzwtQe5rN3PjQikoBQBj2
I5evV0/bEgmh2nkVX4T+Skoae2cd6mwOZ5I+smuohzN6qtZ5C4keiTICxQqNA6A=
=iAeE
-----END PGP SIGNATURE-----



More information about the Discuss mailing list