#430: BibEdit: make it work in load-balanced architecture
----------------------+-----------------------------------------------------
 Reporter:  simko     |       Owner:      
     Type:  defect    |      Status:  new 
 Priority:  critical  |   Milestone:  v1.0
Component:  BibEdit   |     Version:      
 Keywords:            |  
----------------------+-----------------------------------------------------
 When running in a multi-node environment, BibEdit has troubles since
 it caches files in per-node `/opt/invenio/var/tmp` directory.  This
 can lead to errors like:

 {{{
 A server error has occured. You may have lost your changes to this record.
 Error code: 106 (missing cache file)
 }}}

 because the cache file may be created on one worker machine and cannot
 be accessed from another worker machine.

 The solution would be (1) to redirect `/record/edit` URLs always to the
 same worker by the load-balancer; (2) to use `tmp-shared` space on AFS
 that is common to all worker nodes; (3) to use DB for storing BibEdit
 cache files.

 The former looks like a workaround, the middle may be useful to many
 modules, only the latter is BibEdit-specific.  However, storing
 cache files in DB may be good to do regardless of the `tmp-shared`.

-- 
Ticket URL: <http://invenio-software.org/ticket/430>
Invenio <http://invenio-software.org>

Reply via email to