+ Start a Discussion
SFDC-NOOBSFDC-NOOB 

Is there a limit to the number of SOQL queries that can be executed within some time frame?

I have a requirement to implement short polling using JS Remoting.  I've looked into long polliing using the streaming API but it does not seem like a reliable solution for my use case.  I would like to poll the server every X minutes.  Is there a limit to the number of SOQL queries that can be executed?
Best Answer chosen by SFDC-NOOB
Sumeet_ForceSumeet_Force
SOQL limits are per transaction. However there is no limit mentioned in any SF docs which mentions on daily or time-based limits. However if you are running these SOQLs via SOAP or REST calls, then you may end up with API Request limit which is on a daily basis. If you are running it via Apex, then I dont see any issues unless you are crossing the API request limit which is 15000 calls for Developer Orgs.