Skip to main content Join the Agentforce Virtual Hackathon to build innovative solutions and compete for a $50k Grand Prize. Sign up now. Terms apply.
Sunil Nandipati 님이 #Integration에 질문했습니다

We are planning to build a webpage which will use the REST API Webservice to connect to salesforce using one salesforce license.

So multiple users will try to access the webpage at a single time and try to retrieve their contact information and update them.

The question is

How many parallel sessions can i invoke using the REST API Webservice on a single license?

Thanks.
답변 1개
  1. 2015년 4월 4일 오후 9:38

    Having done this before let me throw out some tips / tricks.

    1. Use a dedicated user for this. Don't mix the "integration" user with a real-life user.
    2. Ensure your code is written to retry in the case of a 4xx/5xx error with login. Most of the good integration libraries do this for you. I know RestForce does. 
    3. If your app is a traditional client/server approach your server pool is likely all behind a single IP, making the session tokens valid for any call established from there. If you're doing an angular/react/framework-of-the-week where these calls are originating in a users' brower you will likely encounter serious difficulty with authorization / recognition of new clients. 
    4. if possible, queue your calls through a singleton interface to the api. 

    That said, your proximate question is likely mute 

    if you're using a traditional client-server application design, where the server is making the api calls
0/9000