Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2014-08

fphttpserver and concurrent connections

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I've only used the fphttpserver component for a single user embedded web server application. For a different part of the product I'm working on, I'm trying to reduce the installation effort by dropping the Apache Web Server install and complex configuration. The embedded fphttpserver worked so well in the embedded product, I'm wondering if it could work on a slightly bigger scale on a LAN.

Is fphttpserver up to the task to handle 30-60 concurrent connections? The product runs in a classroom style environment where learners will log in and use the system for a hour at a time. The web server will mainly server Adobe Flash content.

I'm in the process of writing a test project where I can hopefully start 30+ HTTP clients and hit the fphttpserver web server for a set duration to see how it copes.

If somebody has already tested this, I would be very grateful to hear about your experiences.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

JB
to Graeme Geldenhuys

Hi, I use fphttpserver in my project https://github.com/jbsolucoes/ceosmw.

Now I'm changing server to use sockets to solve problem with concurrent connections and to use in bigger scale on a LAN. I'm using synapse with multithread, running tests and is very cool, support large users scale.

Will soon be providing the update, I'm just finishing component to develop pool (concurrent connectios need treatment pool for objects).

Take a look at the roadmap and if you're interested join the project :)

Please add me hangouts ;)

Best regards

JB

José Benedito
JBS Soluções
Consulting Systems Development
c
www.jbsolucoes.net

skype:
+55 22 30251654
+55 22 996064279

On Fri, Aug 8, 2014 at 3:54 AM, Graeme Geldenhuys <

Show quoted text 34 lines
wrote: Hi, I've only used the fphttpserver component for a single user embedded web server application. For a different part of the product I'm working on, I'm trying to reduce the installation effort by dropping the Apache Web Server install and complex configuration. The embedded fphttpserver worked so well in the embedded product, I'm wondering if it could work on a slightly bigger scale on a LAN. Is fphttpserver up to the task to handle 30-60 concurrent connections? The product runs in a classroom style environment where learners will log in and use the system for a hour at a time. The web server will mainly server Adobe Flash content. I'm in the process of writing a test project where I can hopefully start 30+ HTTP clients and hit the fphttpserver web server for a set duration to see how it copes. If somebody has already tested this, I would be very grateful to hear about your experiences. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email

Graeme Geldenhuys
to JB
JB wrote 5 lines
Hi, I use fphttpserver in my project https://github.com/jbsolucoes/ceosmw. Now I'm changing server to use sockets to solve problem with concurrent connections and to use in bigger scale on a LAN. I'm using synapse with multithread, running tests and is very cool, support large users scale.

I'm a big fan of Synapse components too. I actually implemented a few embedded HTTP servers into your product to test them all. Indy, Synapse, fphttpserver and some other one I can't remember now.

I've received useful information regarding concurrency with fphttpserver in the Lazarus Forums. So it seems like positive news.

http://forum.lazarus.freepascal.org/index.php/topic,25433.0.html

I'll make that suggested change, and then build my simulated test to see how it goes.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

JB
to Graeme Geldenhuys

Wow! Thanks, I will test too :)

Best regards and good luck!

JB

"Graeme Geldenhuys" wrote 31 lines
On 2014-08-08 12:49, JB wrote: > Hi, I use fphttpserver in my project https://github.com/jbsolucoes/ceosmw. > > Now I'm changing server to use sockets to solve problem with concurrent > connections and to use in bigger scale on a LAN. I'm using synapse with > multithread, running tests and is very cool, support large users scale. I'm a big fan of Synapse components too. I actually implemented a few embedded HTTP servers into your product to test them all. Indy, Synapse, fphttpserver and some other one I can't remember now. I've received useful information regarding concurrency with fphttpserver in the Lazarus Forums. So it seems like positive news. http://forum.lazarus.freepascal.org/index.php/topic,25433.0.html I'll make that suggested change, and then build my simulated test to see how it goes. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email