Uploaded image for project: 'Usergrid (Retired)'
  1. Usergrid (Retired)
  2. USERGRID-1340

High response time for activity post in group

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • 2.2.0
    • Stack
    • None
    • OS: Ubuntu 14.04;
      Cassandra version: 2.2.6 (DataStax);
      Elasticsearch version: 1.4.4;
      Tomcat version: 7;
      JDK version: 1.8.0_65 (Oracle);
      Usergrid version: 2.2.0 (Master branch, 3rd May, 2016)

    Description

      I'm writing this regarding a new issue that I'm facing with latest 'master'
      branch of Usergrid (last commit on 3rd May, 2016). Note, this branch has
      some fixes over 2.1.0 release and hence I'm using it.

      Issue is related to the response time of activity post in a group (with
      users > 500) which is quite high (~ 3 sec) in comparison to the response
      time in older (release 2.1.0) build.

      Below are the replication steps:

      1. Make a group.
      2. Make few users (say 10) member of above group.
      3. Make an activity post in that group by one of the member user and note
      down the response time.
      4. Now, make more users (>500) member of this group.
      5. Repeat step 3.

      API: POST http://host/<org_id>/<app_id>/groups/<group_id>/activities
      Post Body:
      {
      "actor":

      { "uuid": "<member_user_id>" }

      , "verb": "post", "comment":
      "Hello"
      }

      I'm facing this issue repeatedly. Please suggest if anything has changed
      implementation-wise or am I doing something wrong here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaskaran Jaskaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: