pikelang / Roxen

Roxen Webserver
Other
16 stars 6 forks source link

How to develop module ? #6

Open tsybot opened 1 year ago

tsybot commented 1 year ago

How to develop module on c language for roxen server ? it possible ?

grubba commented 1 year ago

Developing a Roxen module in C is possible, but not something I would recommend.

The typical approach is to make a C/CMOD that just interfaces the required functionality, and to then use it from a Roxen module written in Pike.

tsybot commented 1 year ago

Roxen server has some kind of thread parallelization when processing http requests inside yourself? That is, can it process several http requests at the same time or only strictly one after the other? Can roxen server modules that are written in .pike be called to process more than 1 request at once? For example, 10 simultaneously sent http requests will be passed in turn to the module in turn one by one roxen server without using parallelization or using it?