Hisoka-X commented on issue #2426:
URL: 
https://github.com/apache/incubator-seatunnel/issues/2426#issuecomment-1227254665

   > > public class Resource {
   > > private Memory memorySize;
   > > // only work on kubernetes
   > > private CPU cpu;
   > > }
   > 
   > Does standalone use this `Resource` too? If I want run 500 task in a 
node(this is possible because of shared threads), How do we define the number 
of slots supported by a node?And, how many `CPU` and `memorySize` a slot use?
   
   First, standalone yes. The number of our slots is configurable, such as 
1024M of memory, 1024 slots can be declared (if you want to). It means that you 
can run 1024 tasks at the same time, and each slot has 1M memory resources 
(declarative, not occupied. Later, consider implementing occupied resource 
application in off-heap memory). By the way, we can share one slot with 
multi-task in the future.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to