View Issue Details

IDProjectCategoryView StatusLast Update
0004714Composrcorepublic2021-11-09 03:22
ReporterChris GrahamAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0004714: Persistent app server support
DescriptionThere is an interesting discussion over at Drupal about supporting persistent app servers:
https://www.drupal.org/project/drupal/issues/2218651

In theory it would be a huge improvement.

It also is, however, pretty antithetical to how PHP and Composr (and to some degree Drupal) is designed. For it to work we'd have to vet every part of Composr to not have globals, static cached data in many cases, singletons, static classes. We've used a lot of that stuff to make Composr faster on a normal PHP server. It'd have to be done VERY carefully to avoid security holes in assumptions about what was valid for one request being also valid for the next. The amount of OOP overhead needed would be massive, and generally an enormous project. Doing those changes would make many people happy of course. And that overhead wouldn't matter as much for a persistent app server as most of the cost would only happen during initial boost.

Really it would be making PHP a lot more like a Java web server, with an entirely different set of tradeoffs.

I doubt there would ever be enough resources to make this all happen, but you never know, so I want this issue to stay here.
TagsRisk: Major rearchitecting, Type: Cross-cutting feature, Type: Performance
Time estimation (hours)1500
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-11-09 03:22 Chris Graham New Issue
2021-11-09 03:22 Chris Graham Tag Attached: Type: Performance
2021-11-09 03:22 Chris Graham Tag Attached: Risk: Major rearchitecting
2021-11-09 03:22 Chris Graham Tag Attached: Type: Cross-cutting feature