glimmerveen commented on PR #419:
URL: https://github.com/apache/felix-dev/pull/419#issuecomment-2870053313

   > Without knowing much about this specific part of Felix and SCR in general, 
would java 21 virtual threads be of interest here? It would make the code more 
complex, as we want to support pre java 21 as well, but we have similar code in 
JettyService for Jetty 12.
   
   In case of SCR, I don't think its use of threads (SCR Component Registry, or 
SCR Component Actor) benefit particularly from specific properties of virtual 
threads, as I interpret [Oracle's 
description](https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html)
 of virtual threads:
   
   > Use virtual threads in high-throughput concurrent applications, especially 
those that consist of a great number of concurrent tasks that spend much of 
their time waiting. Server applications are examples of high-throughput 
applications because they typically handle many client requests that perform 
blocking I/O operations such as fetching resources.
   
   These properties do really fit with something like Jetty, but for SCR I 
don't really see what it would bring.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@felix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to