tapestry background jobs in a clustered environment

Ilya Obshadko <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAAT_KPKcFErOExXH1drAQK-opyMdFeBayEoB+hSKAYE5Nq8D_A@mail.gmail.com>
I’ve recently expanded my Tapestry application to run multiple hosts. While
it’s quite OK for the web-faced part (sticky load balancer does most of the
job), it’s not very straightforward with background jobs.

Some of them can be quite easily distributed using database row-level
locks, but this doesn’t work for every use case I have.

Are there any suggestions about this? I’d prefer not to have a dedicated
process running background tasks. Ideally, I want to dynamically distribute
background jobs between hosts in cluster, based on current load status.


-- 
Ilya Obshadko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.