locked
GENERAL_READ_ENTITY_START: The more request means slower read from cached objects? RRS feed

  • Question

  • User-1944089975 posted


    Please do not judgme for the type of question. It might be about software algorithms and concepts. That is why I must write the link that it is already asked on server fault.

    1- > the algorithm and concept of project .net web app.

    Client's onblur event makes an ajax call-> UI -> functionUI() -> > APP <<

    functionUI()

    int limit=450;
    public bool functionUI(){

    for(int i=0;i< limit ; i++){
    functionApp(i);
    }

    }


    public static bool functionApp(int i){
    foreach(HolidayEntity h in Global.holidayGlobals.Values /*CachedList*/){
    if(h.Value == i){
    return false;
    }
    return true;
    }

    }
    2- The question The limit value from ui side if it is 2 or 20 times the response duration is good . But when it is 450 times. It takes 40 seconds to get a result in client side. I know the code is not well organised but the question is why the application side so slow when it is responsible to make more calculations.

    Any clue will be so usefull. Thank you.

    Servers are Server 2018 SP 1, .net Frame Work 4.0.30319.42000 It is only happened in production environment. In development side the application runs quite fast even the limit is 450.

    GENERAL_READ_ENTITY_START and GENERAL_READ_ENTITY_END 57 ms.. so how to fix it ? Why this part could be slow ?
    Friday, January 18, 2019 7:42 AM

All replies

  • User-848649084 posted

    Hi bilginkilic,

     As described in this article you need to see which type of client is facing this issue? see the log and find client IP to see  if the issue is coming from a specific geographic location. try some different browser and connection methods.

    Regards,

    Jalpa.

    Monday, January 21, 2019 5:53 AM
  • User-1944089975 posted
    It is internal network. All users are facing this issue. I ve already read that blog and asked the same situation by commenting that article. Any other advice or suggestion to check.
    Monday, January 21, 2019 10:42 AM