Hi,
since the progressive search seems to start right away and for some reason our setup is too slow/too large to get instant SQL replies the answers seem to be dropping in as the SQL server finishes and them the client will render them as soon as it receives them.
This unfortunately gives answers for shorter strings later even if the search field already does seem to be filled with a longer query string.
Is there anyone who has implemented some JS/AJAX fix for this and ensure the answers processed by the client are only those matching the current search string (i.e. add a "static" version/revision/serial field into the SQL select and check for that in the results)?
Cheers, Kilian
Hi again,
any pointers where we could speed up our search box "user experience" since that's currently the only "issue" our users report with the platform.
Or maybe someone could point me into the right direction where to fix this myself?
Cheers, Kilian
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Kilian Krause Sent: Monday, November 03, 2014 9:32 AM To: observium@observium.org Subject: [Observium] Progressive search and wrong answers
Hi,
since the progressive search seems to start right away and for some reason our setup is too slow/too large to get instant SQL replies the answers seem to be dropping in as the SQL server finishes and them the client will render them as soon as it receives them.
This unfortunately gives answers for shorter strings later even if the search field already does seem to be filled with a longer query string.
Is there anyone who has implemented some JS/AJAX fix for this and ensure the answers processed by the client are only those matching the current search string (i.e. add a "static" version/revision/serial field into the SQL select and check for that in the results)?
Cheers, Kilian
-- Kilian Krause Rechenzentrum Universität Stuttgart (RUS) Abt. NKS - Netze und Kommunikationssysteme
Tel.: +49 (711) 685-64512 Fax.: +49 (711) 685-54512 (PC) Fax.: +49 (711) 68 23 57
Allmandring 30a 70550 Stuttgart DEUTSCHLAND
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Kilian,
We also experience this issue. Searching in Observium is a fun game of type, wait, and select the result, only to find it updated a millisecond before you clicked. Rinse and repeat.
In conclusion, I will remind everyone that Observium is super awesome, and this is just a minor blemish.
Tristan
*Tristan Rhodes* Network Engineer Weber State University 801.626.8549
On Mon, Dec 15, 2014 at 7:00 AM, krause@rus.uni-stuttgart.de wrote:
Hi again,
any pointers where we could speed up our search box "user experience" since that's currently the only "issue" our users report with the platform.
Or maybe someone could point me into the right direction where to fix this myself?
Cheers, Kilian
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Kilian Krause Sent: Monday, November 03, 2014 9:32 AM To: observium@observium.org Subject: [Observium] Progressive search and wrong answers
Hi,
since the progressive search seems to start right away and for some
reason
our setup is too slow/too large to get instant SQL replies the answers seem to be dropping in as the SQL server finishes and them the client will render them as soon as it receives them.
This unfortunately gives answers for shorter strings later even if the search field already does seem to be filled with a longer query string.
Is there anyone who has implemented some JS/AJAX fix for this and ensure the answers processed by the client are only those matching the current
search
string (i.e. add a "static" version/revision/serial field into the SQL select and check for that in the results)?
Cheers, Kilian
-- Kilian Krause Rechenzentrum Universität Stuttgart (RUS) Abt. NKS - Netze und Kommunikationssysteme
Tel.: +49 (711) 685-64512 Fax.: +49 (711) 685-54512 (PC) Fax.: +49 (711) 68 23 57
Allmandring 30a 70550 Stuttgart DEUTSCHLAND
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hey All,
We experienced this also. I added a minor patch that puts some delay before firing off a search. It's not pretty, but the complaints went away.
http://jira.observium.org/secure/attachment/11917/navbar.inc.php.patch http://jira.observium.org/browse/OBSERVIUM-982
Dave
On Tue, Dec 16, 2014 at 3:55 AM, Tristan Rhodes tristanrhodes@weber.edu wrote:
Kilian,
We also experience this issue. Searching in Observium is a fun game of type, wait, and select the result, only to find it updated a millisecond before you clicked. Rinse and repeat.
In conclusion, I will remind everyone that Observium is super awesome, and this is just a minor blemish.
Tristan
*Tristan Rhodes* Network Engineer Weber State University 801.626.8549
On Mon, Dec 15, 2014 at 7:00 AM, krause@rus.uni-stuttgart.de wrote:
Hi again,
any pointers where we could speed up our search box "user experience" since that's currently the only "issue" our users report with the platform.
Or maybe someone could point me into the right direction where to fix this myself?
Cheers, Kilian
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Kilian Krause Sent: Monday, November 03, 2014 9:32 AM To: observium@observium.org Subject: [Observium] Progressive search and wrong answers
Hi,
since the progressive search seems to start right away and for some
reason
our setup is too slow/too large to get instant SQL replies the answers seem to be dropping in as the SQL server finishes and them the client will render them as soon as it receives them.
This unfortunately gives answers for shorter strings later even if the search field already does seem to be filled with a longer query string.
Is there anyone who has implemented some JS/AJAX fix for this and ensure the answers processed by the client are only those matching the current
search
string (i.e. add a "static" version/revision/serial field into the SQL select and check for that in the results)?
Cheers, Kilian
-- Kilian Krause Rechenzentrum Universität Stuttgart (RUS) Abt. NKS - Netze und Kommunikationssysteme
Tel.: +49 (711) 685-64512 Fax.: +49 (711) 685-54512 (PC) Fax.: +49 (711) 68 23 57
Allmandring 30a 70550 Stuttgart DEUTSCHLAND
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
patch from the root.
------ Original Message ------ From: "Dave Lindon" observium@davelindon.me To: "Observium Network Observation System" observium@observium.org Sent: 12/15/2014 10:42:47 PM Subject: Re: [Observium] Progressive search and wrong answers
Hey All,
We experienced this also. I added a minor patch that puts some delay before firing off a search. It's not pretty, but the complaints went away.
http://jira.observium.org/secure/attachment/11917/navbar.inc.php.patch http://jira.observium.org/browse/OBSERVIUM-982
Dave
On Tue, Dec 16, 2014 at 3:55 AM, Tristan Rhodes tristanrhodes@weber.edu wrote:
Kilian,
We also experience this issue. Searching in Observium is a fun game of type, wait, and select the result, only to find it updated a millisecond before you clicked. Rinse and repeat.
In conclusion, I will remind everyone that Observium is super awesome, and this is just a minor blemish.
Tristan
Tristan Rhodes Network Engineer Weber State University 801.626.8549
On Mon, Dec 15, 2014 at 7:00 AM, krause@rus.uni-stuttgart.de wrote:
Hi again,
any pointers where we could speed up our search box "user experience" since that's currently the only "issue" our users report with the platform.
Or maybe someone could point me into the right direction where to fix this myself?
Cheers, Kilian
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf
Of
Kilian Krause Sent: Monday, November 03, 2014 9:32 AM To: observium@observium.org Subject: [Observium] Progressive search and wrong answers
Hi,
since the progressive search seems to start right away and for some
reason
our setup is too slow/too large to get instant SQL replies the
answers
seem to be dropping in as the SQL server finishes and them the client
will
render them as soon as it receives them.
This unfortunately gives answers for shorter strings later even if
the
search field already does seem to be filled with a longer query
string.
Is there anyone who has implemented some JS/AJAX fix for this and
ensure
the answers processed by the client are only those matching the current
search
string (i.e. add a "static" version/revision/serial field into the
SQL
select and check for that in the results)?
Cheers, Kilian
-- Kilian Krause Rechenzentrum Universität Stuttgart (RUS) Abt. NKS - Netze und Kommunikationssysteme
Tel.: +49 (711) 685-64512 Fax.: +49 (711) 685-54512 (PC) Fax.: +49 (711) 68 23 57
Allmandring 30a 70550 Stuttgart DEUTSCHLAND
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Done.
On Tue, Dec 16, 2014 at 4:06 PM, Adam Armstrong adama@memetic.org wrote:
patch from the root.
------ Original Message ------ From: "Dave Lindon" observium@davelindon.me To: "Observium Network Observation System" observium@observium.org Sent: 12/15/2014 10:42:47 PM Subject: Re: [Observium] Progressive search and wrong answers
Hey All,
We experienced this also. I added a minor patch that puts some delay before firing off a search. It's not pretty, but the complaints went away.
http://jira.observium.org/secure/attachment/11917/navbar.inc.php.patch http://jira.observium.org/browse/OBSERVIUM-982
Dave
On Tue, Dec 16, 2014 at 3:55 AM, Tristan Rhodes tristanrhodes@weber.edu wrote:
Kilian,
We also experience this issue. Searching in Observium is a fun game of type, wait, and select the result, only to find it updated a millisecond before you clicked. Rinse and repeat.
In conclusion, I will remind everyone that Observium is super awesome, and this is just a minor blemish.
Tristan
*Tristan Rhodes* Network Engineer Weber State University 801.626.8549
On Mon, Dec 15, 2014 at 7:00 AM, krause@rus.uni-stuttgart.de wrote:
Hi again,
any pointers where we could speed up our search box "user experience" since that's currently the only "issue" our users report with the platform.
Or maybe someone could point me into the right direction where to fix this myself?
Cheers, Kilian
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Kilian Krause Sent: Monday, November 03, 2014 9:32 AM To: observium@observium.org Subject: [Observium] Progressive search and wrong answers
Hi,
since the progressive search seems to start right away and for some
reason
our setup is too slow/too large to get instant SQL replies the answers seem to be dropping in as the SQL server finishes and them the client will render them as soon as it receives them.
This unfortunately gives answers for shorter strings later even if the search field already does seem to be filled with a longer query string.
Is there anyone who has implemented some JS/AJAX fix for this and
ensure
the answers processed by the client are only those matching the current
search
string (i.e. add a "static" version/revision/serial field into the SQL select and check for that in the results)?
Cheers, Kilian
-- Kilian Krause Rechenzentrum Universität Stuttgart (RUS) Abt. NKS - Netze und Kommunikationssysteme
Tel.: +49 (711) 685-64512 Fax.: +49 (711) 685-54512 (PC) Fax.: +49 (711) 68 23 57
Allmandring 30a 70550 Stuttgart DEUTSCHLAND
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Dave,
That’s great! It at least enhances the search to a significant degree. What I wonder is how we could use the key_count_global counter you introduce already and make that both be passed to ajax_search.php and have the “$('#suggestions').html(data)” only update when the key_count_global matches.
I’m pretty confident I could hack together an “ugly” version of this, but is there anyone on this list that can hint me what the “elegant” way of doing this in JS is? Especially since this would ensure we achieve both: reduce the delay a bit and still only have the matching results be printed.
Moreover, you introduce a function lookupwait and obsolete the already existing function lookup, right? Thus lookup for a “final” patch could be removed, right?
Thanks a lot for sharing!
Best,
Kilian
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Dave Lindon Sent: Tuesday, December 16, 2014 6:55 AM To: Adam Armstrong Cc: Observium Network Observation System Subject: Re: [Observium] Progressive search and wrong answers
Done.
On Tue, Dec 16, 2014 at 4:06 PM, Adam Armstrong <adama@memetic.org mailto:adama@memetic.org > wrote:
patch from the root.
------ Original Message ------
From: "Dave Lindon" <observium@davelindon.me mailto:observium@davelindon.me >
To: "Observium Network Observation System" <observium@observium.org mailto:observium@observium.org >
Sent: 12/15/2014 10:42:47 PM
Subject: Re: [Observium] Progressive search and wrong answers
Hey All,
We experienced this also.
I added a minor patch that puts some delay before firing off a search. It's not pretty, but the complaints went away.
http://jira.observium.org/secure/attachment/11917/navbar.inc.php.patch http://jira.observium.org/secure/attachment/11917/navbar.inc.php.patch http://jira.observium.org/browse/OBSERVIUM-982 http://jira.observium.org/browse/OBSERVIUM-982
Dave
On Tue, Dec 16, 2014 at 3:55 AM, Tristan Rhodes <tristanrhodes@weber.edu mailto:tristanrhodes@weber.edu > wrote:
Kilian,
We also experience this issue. Searching in Observium is a fun game of type, wait, and select the result, only to find it updated a millisecond before you clicked. Rinse and repeat.
In conclusion, I will remind everyone that Observium is super awesome, and this is just a minor blemish.
Tristan
Tristan Rhodes Network Engineer
Weber State University
801.626.8549
On Mon, Dec 15, 2014 at 7:00 AM, <krause@rus.uni-stuttgart.de mailto:krause@rus.uni-stuttgart.de > wrote:
Hi again,
any pointers where we could speed up our search box "user experience" since that's currently the only "issue" our users report with the platform.
Or maybe someone could point me into the right direction where to fix this myself?
Cheers, Kilian
-----Original Message----- From: observium [mailto:observium-bounces@observium.org mailto:observium-bounces@observium.org ] On Behalf Of Kilian Krause Sent: Monday, November 03, 2014 9:32 AM To: observium@observium.org mailto:observium@observium.org Subject: [Observium] Progressive search and wrong answers
Hi,
since the progressive search seems to start right away and for some reason our setup is too slow/too large to get instant SQL replies the answers seem to be dropping in as the SQL server finishes and them the client will render them as soon as it receives them.
This unfortunately gives answers for shorter strings later even if the search field already does seem to be filled with a longer query string.
Is there anyone who has implemented some JS/AJAX fix for this and ensure the answers processed by the client are only those matching the current search string (i.e. add a "static" version/revision/serial field into the SQL select and check for that in the results)?
Cheers, Kilian
-- Kilian Krause Rechenzentrum Universität Stuttgart (RUS) Abt. NKS - Netze und Kommunikationssysteme
Tel.: +49 (711) 685-64512 Fax.: +49 (711) 685-54512 (PC) Fax.: +49 (711) 68 23 57
Allmandring 30a 70550 Stuttgart DEUTSCHLAND
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (5)
-
Adam Armstrong
-
Dave Lindon
-
Kilian Krause
-
krause@rus.uni-stuttgart.de
-
Tristan Rhodes