You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Gus Heck (Jira)" <ji...@apache.org> on 2022/08/25 21:16:00 UTC

[jira] [Commented] (SOLR-16350) http response is delayed when solr is running in slow/restricted network environment

    [ https://issues.apache.org/jira/browse/SOLR-16350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17585028#comment-17585028 ] 

Gus Heck commented on SOLR-16350:
---------------------------------

Maybe the tool you are using just interferes with all network communication rather than a specific adapter? Can you try using netem where you specify exactly what interface is being interfered with on linux or provide evidence that: 

A) there were requests to the open internet, coming from solr (this looks like you are hitting the UI) or

B) Localhost (127.0.0.1) communications are otherwise fast for something other than solr (try starting tomcat/jetty/httpd/nginx locally?)

If everything you are running locally is slowed down, then your tool is just clumsy, and it's not a solr problem.

Also, be sure you access it via localhost, not a machine name, since that possibly involves a trip to a router and back, or a dns resolution;

In general more technical detail is needed here.

> http response is delayed when solr is running in slow/restricted network environment
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-16350
>                 URL: https://issues.apache.org/jira/browse/SOLR-16350
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: 9.0
>         Environment: !image-2022-08-23-09-56-45-250.png|width=327,height=170!
> restrict/delay internet and DNS resolution time.
>            Reporter: Shubanker
>            Priority: Major
>         Attachments: image-2022-08-23-09-56-45-250.png, image-2022-08-23-09-59-25-775.png, image-2022-08-23-10-01-40-456.png, image-2022-08-23-10-03-45-870.png
>
>
> While trying to setup SOLR 9 I noticed the response takes longer to complete if the internet is slow/restricted.
> I tried replicating in local by delaying DNS response and the request started taking over 4s while the query itself (QTime) is faster.
> !image-2022-08-23-10-03-45-870.png|width=429,height=150!
> !image-2022-08-23-09-59-25-775.png|width=301,height=188!
> even the static files of Admin UI take too long to load.
> related StackOverflow [question|https://stackoverflow.com/questions/73444575/solr-9-http-response-time-is-very-slow-while-query-itself-is-fast].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org