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
Post a Comment