In our case the request handlers typically access data.

I've used ab too with fairly high numbers and not seen problems. In terms
of higher volume real world access we have allowed our program's googlebox
to index some content that is served by A4D. They do this frequently but
at a rate of a request every few seconds (logs show ~16400 requests
yesterday). I also have external monitors that make request every few
minutes for a simple status page.

Thanks,

Brad

On 4/20/17, 9:01 AM, "Active4D-dev on behalf of Aparajita Fishman"
<[email protected] on behalf of
[email protected]> wrote:

>I take that back about the request handler processes, they should be on
>the server if they access data.
>
>I’m fairly confident in the ability of the new NTK server code to handle
>high volumes, I tried a test using ab (apache benchmark) with a
>concurrency level of 20, making 1000 requests to a client as the web
>server, and it was getting 123 requests per second.
>
>All the best,
>
>  - Aparajita
>
>> On Apr 20, 2017, at 7:48 AM, Aparajita Fishman
>><[email protected]> wrote:
>> 
>> What volume of requests are you getting before it stalls?
>> 
>> You shouldn’t see the A4D_HTTPD_RequestHandler processes on the Windows
>>server at all. They should only be on the client.
>> 
>> All the best,
>> 
>>  - Aparajita
>> 
>>> On Apr 20, 2017, at 7:09 AM, Perkins, Bradley D <[email protected]>
>>>wrote:
>>> 
>>> Yes, the Mac Mini is the client that is the Active4D web server.
>>>Initially
>>> we were having 'sleep' problems caused by Apple's built in power saving
>>> settings. I've resolved those.
>>> 
>>> I just arrived at work and can see that problems started ~4 am local
>>>time.
>>> It is still down. I do have debug logging on and am going to look at
>>>those
>>> shortly. I'll send you anything notable. I also want to see if I can
>>> correlate any problems with incoming HTTPD requests from the Apache
>>>logs.
>>> 
>>> The many A4D_HTTPD_RequestHandler processes were observed on the
>>>Windows
>>> server. With the way our web client user interface is programmed it is
>>> difficult to get to the Runtime environment but I'm going to try that
>>>too.
>>> 
>>> re: Did you update the A4D_NTKConfig list? I had another developer
>>>work on
>>> this. I'll need to find out if he did.
>>> 
>>> Thanks,
>>> 
>>> Brad
>>> 
>>> On 4/19/17, 5:34 PM, "Active4D-dev on behalf of Aparajita Fishman"
>>> <[email protected] on behalf of
>>> [email protected]> wrote:
>>> 
>>>> Just to be clear, the Mac Mini is a client that is the Active4D web
>>>> server?
>>>> 
>>>> Have you turned on Active4D debug logging and looked for anything
>>>> suspicious in the log?
>>>> 
>>>> When you say that many A4D_HTTPD_RequestHandler processes were on the
>>>> server, you mean the Mac Mini or the Windows server?
>>>> 
>>>> Did you update the A4D_NTKConfig list?
>>>> 
>>>> All the best,
>>>> 
>>>> - Aparajita
>>>> 
>>>>> On Apr 19, 2017, at 11:30 AM, Perkins, Bradley D <[email protected]>
>>>>> wrote:
>>>>> 
>>>>> I noticed something else:
>>>>> 
>>>>> On the production server the A4D_HouseKeeper process was of type "4D
>>>>> Client Database Process" yet on development it was type "4D Client
>>>>> Process".
>>>>> When I relaunched the production server there is no A4D_HouseKeeper
>>>>>at
>>>>> all.
>>>>> 
>>>>> Brad
>>>>> 
>>>>> From: Brad Perkins <[email protected]<mailto:[email protected]>>
>>>>> Date: Wednesday, April 19, 2017 at 12:16 PM
>>>>> To: 
>>>>> 
>>>>>"[email protected]<mailto:[email protected]
>>>>>m>"
>>>>> 
>>>>> 
>>>>><[email protected]<mailto:[email protected]
>>>>>m>>
>>>>> Subject: Active4D Slowdown then Stall (weird
>>>>>A4D_HTTPD_RequestHandler_*
>>>>> behavior)
>>>>> 
>>>>> We upgraded a long running A4D-based system late last week and are
>>>>> noticing that Active4D will eventually become unresponsive. We can't
>>>>> serve for more than a day and web apps have been unresponsive the
>>>>>last
>>>>> two mornings. The old system would run for a long time without fail.
>>>>> 
>>>>> We went from
>>>>> 4D 14.2 to 4D15.4
>>>>> Active4D running on OS 10.11.latest to OS 10.12.4 (Sierra)
>>>>> Active4D is behind Apache. The Mac is a "client". Server runs on
>>>>> Windows.
>>>>> Replaced a 6+ year old Xserve with a Mac Mini (16 GB RAM)
>>>>> Upgraded to latest Active4D and latest NTK w/ necessary changes to
>>>>> Shell Code.
>>>>> 
>>>>> Admittedly a lot of changes, but this update was mandated by
>>>>> institutional cybersecurity group (Sierra was required). Sierra would
>>>>> not install on the Xserves. 15.4 is the only version close to
>>>>>certified
>>>>> for Sierra.
>>>>> 
>>>>> When this occurs I find:
>>>>> (a) Apache can still serve static content fine.
>>>>> (b) 4D is still running and responsive to user input.
>>>>> (c) I can see many A4D_HTTPD_RequestHandler_* processes on the
>>>>>server.
>>>>> Many are of type "4D Client Database Process" with num "0" and State
>>>>> "Running". That doesn't seem right to me.
>>>>> I'm currently observing both our production and development servers
>>>>>now
>>>>> and neither show any "4D Client Database Process" processes. I can
>>>>>force
>>>>> the creation of new processes by using ApacheBench to make many
>>>>> concurrent calls. All of the new process are client processes.
>>>>> 
>>>>> Can anyone suggest how those  "4D Client Database Process" are being
>>>>> created?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Brad Perkins
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Active4D-dev mailing list
>>>>> [email protected]
>>>>> http://list.aparajitaworld.com/listinfo/active4d-dev
>>>>> Archives: http://active4d-nabble.aparajitaworld.com/
>>>> 
>>>> _______________________________________________
>>>> Active4D-dev mailing list
>>>> [email protected]
>>>> http://list.aparajitaworld.com/listinfo/active4d-dev
>>>> Archives: http://active4d-nabble.aparajitaworld.com/
>>> 
>>> _______________________________________________
>>> Active4D-dev mailing list
>>> [email protected]
>>> http://list.aparajitaworld.com/listinfo/active4d-dev
>>> Archives: http://active4d-nabble.aparajitaworld.com/
>> 
>> 
>> _______________________________________________
>> Active4D-dev mailing list
>> [email protected]
>> http://list.aparajitaworld.com/listinfo/active4d-dev
>> Archives: http://active4d-nabble.aparajitaworld.com/
>
>
>_______________________________________________
>Active4D-dev mailing list
>[email protected]
>http://list.aparajitaworld.com/listinfo/active4d-dev
>Archives: http://active4d-nabble.aparajitaworld.com/

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to