Clicky

  • Welcome to P2P Lending / NFT Lending Forum.
 

ETH.LOAN

News:

This was the original Lend Academy peer-to-peer lending forum, since forensically restored by deBanked and now reintroduced to eth.loan.

To restore access to your user account, email [email protected]. We apologize for errors you may experience during the recovery.

Main Menu
NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL

API Latency

Started by Peter, March 26, 2016, 11:00:00 PM

Previous topic - Next topic

dompazz

This has been mentioned recently, but I feel it deserves its own topic. 

Latency in the API around the note releases has become appalling.  I'm seeing 10-20+ second times to request new loans.  Orders are taking more than 5-15 seconds to process and confirm.  What times are you seeing?

I wrote a note to LC earlier in the week and got this reply Friday afternoon:

Quote

Fred93

Thank you for hitting them. 

I see same.  Some commands >20 seconds.   

I will note that the long delays are only near feeding times.  The problem is therefore some sort of server congestion at feeding time.  Maybe somebody missed a schedule date to upgrade some piece of the server network?  As volumes grow, they have to keep upgrading.

Commands have always been slower at feeding times, but not this slow.  Also in the past, the slowdown was only within a few seconds of feeding time.  Now its slow within the minute around feeding time.




TravelingPennies

Anyone else notice that the physical location of the API's IP address changed to a data center in Las Vegas? The main site still seems to be somewhere around Santa Monica. Maybe they moved some of their systems to a different data center and introduced some latency in the process.

I used https://www.iplocation.net/" class="bbc_link" target="_blank">https://www.iplocation.net/ to check api.lendingclub.com and http://www.lendingclub.com" class="bbc_link" target="_blank">www.lendingclub.com.

TravelingPennies


TravelingPennies

It looks like that the speed of Browse Notes page on LC web site was back to normal at feeding times since at least yesterday.

TravelingPennies

API behavior is back to normal also.

TravelingPennies


dms

Slightly off topic, but is there a secret handshake or undocumented documentation for using the LC API?

I'm a new LC investor and am having problems with getting the API to work as documented. I suspect that I'm passing my credentials in the HTTP header properly because when I don't pass them (or deliberately typo) I get a 401 not authorized. With it, I get a 404 not found. I'm using the investor id given off the account summary page as documented and v1 of the api. (account number changed to protect the innocent) Any suggestions from people who are successfully using the API?

I would expect this to return 200, but I get 404 instead -

https://api.lendingclub.com/api/investor/v1/accounts/12345678/summary" class="bbc_link" target="_blank">https://api.lendingclub.com/api/investor/v1/accounts/12345678/summary

TravelingPennies

nm, figured it out. WCF5.5/OData3 != json.

TravelingPennies

I remember lots of trial and error when I went thru this, not just with LC, but every damn web API I've ever used.  What you've written looks correct, so the error is not immediately obvious to me. 


NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL