Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Isolating search urls, posted by Philip Leung on Wed Aug 12 16:59:30 2015 
    icon2.gif   Re: Isolating search urls, posted by Stefan Ritt on Wed Aug 12 17:19:45 2015 
       icon2.gif   Re: Isolating search urls, posted by Philip Leung on Thu Aug 13 10:06:23 2015 
          icon2.gif   Re: Isolating search urls, posted by Philip Leung on Mon Aug 17 10:32:51 2015 
             icon2.gif   Re: Isolating search urls, posted by Stefan Ritt on Mon Aug 17 10:41:22 2015 
                icon2.gif   Re: Isolating search urls, posted by Philip Leung on Mon Aug 17 11:17:37 2015 
                   icon2.gif   Re: Isolating search urls, posted by Stefan Ritt on Mon Aug 17 11:26:22 2015 
                      icon2.gif   Re: Isolating search urls, posted by Philip Leung on Mon Aug 17 11:28:08 2015 
                         icon2.gif   Re: Isolating search urls, posted by Stefan Ritt on Mon Aug 17 11:36:49 2015 
                            icon2.gif   Re: Isolating search urls, posted by Philip Leung on Mon Aug 17 11:52:54 2015 
Message ID: 68083     Entry time: Thu Aug 13 10:06:23 2015     In reply to: 68079     Reply to this: 68088
Icon: Reply  Author: Philip Leung  Author Email: philip.leung@cern.ch 
Category: Question  OS: Linux | Windows  ELOG Version: 3.1.1 
Subject: Re: Isolating search urls 

Thanks for the quick response!

It's great to hear that multi-threading is in the works as this has been my main issue with an otherwise very nice piece of software. I do, however, feel like we should be able to get my slightly hacky approach to work to hold us over until you finish.

The idea is to run separate ELOG instances in read-only mode dedicated to these types of requests. I've managed to sync up the logbook indexation of each instance so now, unless there's some statefulness to ELOG that I'm forgetting about, I only need to make sure that requests are forwarded to the right instance.

 

Stefan Ritt wrote:

I guess the underlying problem is the long time these requests take and block other users.

I have pretty high on my todo list to convert ELOG into a multi-threaded server which would fix this completely. So if you are patient enough (=months) you might get what you want.

Philip Leung wrote:

Hello all,

I am in need of isolating GET-requests referring to long-running, read-only elog functions such as search/filter/sort in our Apache proxy and redirecting them elsewhere. There does not, however, appear to be any easy way of reliably isolating these functions (with the exception of sort) by only looking at the URL.

Does anybody have any suggestions?

Regards,

Philip

 

 

ELOG V3.1.5-3fb85fa6