-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posting API very slow while ingest agent running. #85
Comments
Just adding a little more info here. Descriptions of each request from top to bottom. 1). GET all offers and questions associated with posting - 2). GET all of a user's posts -
|
Hi Josh, if you can get these requests using elasticsearch to get response times down I can handle everything else with buy/sell 360. |
@that1guy - I've upgraded the MongoDB version and storage engine for the staging environment to 3.0 and wiredTiger (respectively). The wiredtiger storage engine supports a more granular level of locking at the document level (instead of collection) which should dramatically enhance read/write performance - it's quite new and wasn't readily available when we built the DBs, originally. To do this, I had to take the staging environment down for a short period (it took approximately 1 hour). These changes are only in staging for the purposes of testing and verification... I believe this is the lowest hanging fruit for immediate performance enhancement. Assigning to @that1guy to evaluate and see if this will work near term... |
Interesting. Okay, I'll read up on 3.0 and do some performance testing tonight. |
Hi Josh, this doesn't seem to be resolving the issue. Believe the problem is the slower queries need to go through ES. Let discuss in meeting. |
… callback instantally and continuing on with the delete in the background
1). GET all offers and questions associated with posting - NOT YET ADDRESSED 2). GET all of a user's posts - USE THE FOLLOWING RESOURCE - https://staging-posting-api.hashtagsell.com/v1/users/bradprodtest/postings
|
Assigning to @that1guy for review |
@brozeph I can confirm that number 2 & 3 from above are working much quicker. Number one, as expected, is now our bottleneck. See screenshot. |
All interactions with posting api are very slooww during while ingest agent is running. This occurs in staging env and posting env.
The text was updated successfully, but these errors were encountered: