View Issue Details

IDProjectCategoryView StatusLast Update
4714Composrcorepublic2021-11-09 03:22
ReporterChris Graham Assigned ToGuest  
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary4714: 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
Attach Tags
Time estimation (hours)1500
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

There are no notes attached to this issue.

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the 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