We can obtain a technical evaluation of the products mentioned, assuming they are already running and no configuration explanation is required. This evaluation will allow us to observe their behavior in robust applications with thousands of users, databases, etc.
Pros and cons of CGI, or other technologies used by these tools.
Use of Apache vs. other web servers: security, stability, etc.
Technical and end-user support.
Handling of .PRG, .C, .???, .DLL or third-party
Real-world use cases.
Depending on the experts' knowledge, we could explore other evaluation points.
Note: This evaluation can be obtained without the use of AI.
**Recommendation**: For *new* deployments, **Nginx + HIX FastCGI** offers the best balance of performance, operational simplicity, and cross-platform support. Use **mod_harbour v3** only if you have existing Apache infrastructure and need deep Apache integration (custom auth modules, mod_rewrite logic in Harbour, etc.).
| File Type | HIX | mod_harbour v2/v3 | |-----------|-----|-------------------| | **.PRG** | Native (Harbour compiler) | Native | | **.C / .CPP** | Via `hb_pp` / inline C (`#pragma BEGINDUMP`) | Same + Apache APR hooks | | **.DLL / .SO** | `HB_LOADLIBRARY()`, `hb_dyn*` API | Same, but thread-safety critical | | **Third-party Harbour libs** | hbhpdf, hbxml, hbct, hbziparc, etc. | Same | | **Database (RDD/ADO/ODBC)** | Full RDD support (DBF, SQL via ADO/ODBC/PostgreSQL/MySQL) | Same | | **Static Linking** | Supported (larger binary, no runtime deps) | Supported (larger .so/.dll) |
**Critical Note**: In **mod_harbour threaded mode**, any non-thread-safe C library or Harbour code using static globals *will* corrupt data. HIX FastCGI isolates this per-process.
### Debugging & Profiling - **HIX**: Standard Harbour debugger (`hbide`, `hbdbg`), logs per request - **mod_harbour**: Requires Apache debug build, `gdb` attach to worker, harder
### Licensing All three are **GPL-compatible** (Harbour runtime is GPL with static linking exception). Commercial use permitted with dynamic linking to Harbour RTL.
---
## Summary Recommendation
| Priority | Stack | |----------|-------| | **Maximum compatibility, lowest ops burden** | HIX FastCGI + Nginx | | **Maximum raw throughput on Apache** | mod_harbour v3 (Event MPM) + thread-safe PRG code | | **Legacy CGI apps, zero changes** | HIX CGI (temporary) → migrate to FastCGI | | **Windows/IIS mandate** | HIX ISAPI or FastCGI on IIS |
**Avoid**: mod_harbour v1 (unmaintained, security risks), CGI for production loads >50 concurrent users.
---
*This evaluation reflects community knowledge as of 2024. For production decisions, run your own load tests (wrk, k6, JMeter) with realistic PRG workloads.*
--- Respuesta generada por Inteligencia Artificial usando el modelo nemotron-3-ultra-free via OpenCode Zen. Puede contener errores; por favor verifiquela antes de aplicar. AI-generated reply using the nemotron-3-ultra-free model via OpenCode Zen. May contain mistakes; please verify before applying.