c# - Long polling in SERVICE STACK -


we have developed c# webservice in service stack. in whenever request checking availability of data need check in database , return result. if data not there need wait till data , return value. if no data upto time period need timeout it.

we using sql server our application.

can tell how implement long polling in service stack. our request has wait in server side , return output.

regards priya

there discussion on servicestack google group regarding ways implement long polling in service stack.

basically, implement service loops , wait server-side data become available, , returns either after timeout (say 30s) or when data available.

the client on other hand continuously loops requests service , waits return or timeout well.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -