Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fast demands gives err 500
#10
(06-03-2019, 12:29 PM)ib elfving Wrote: I am not using any global IW-variables. My database (except for the firedac database connection) is accessed through variables in the usersession, so this should isolate the individual session data from each other, but I am using an ordinary delphi-unit for business routines. I will check this for variables that might cause the conflict, maybe try to move the database connection to the usersession instead to see if this makes a change.

Still - is it possible in an easy way to delay each call to the handler - e.g. 10 request arrives to the SA within 1 sec, but is "delay" so that each request starts with a delay of for instance 1 sec. (request 1 start at 1 sec, request 2 starts at 2 sec .. request 10 start at 10 sec)

You can serialize them using a critical section or a semaphore, but I find it weird that you want (or need) to do so. As long as you are not sharing things between threads you should be able to run "N" content handlers in parallel with no issues.
Reply


Messages In This Thread
Fast demands gives err 500 - by ib elfving - 05-28-2019, 03:21 PM
RE: Fast demands gives err 500 - by DanBarclay - 05-29-2019, 01:06 AM
RE: Fast demands gives err 500 - by ib elfving - 06-03-2019, 03:53 AM
RE: Fast demands gives err 500 - by ib elfving - 06-03-2019, 12:29 PM
RE: Fast demands gives err 500 - by zsleo - 06-03-2019, 09:24 PM
RE: Fast demands gives err 500 - by joel - 06-04-2019, 01:29 AM
RE: Fast demands gives err 500 - by Alexandre Machado - 06-04-2019, 01:48 AM
RE: Fast demands gives err 500 - by ib elfving - 06-04-2019, 03:00 AM
RE: Fast demands gives err 500 - by DanBarclay - 06-04-2019, 01:08 AM
RE: Fast demands gives err 500 - by ib elfving - 06-04-2019, 05:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)