You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "vikiuvb (via GitHub)" <gi...@apache.org> on 2023/02/19 04:36:53 UTC

[GitHub] [shardingsphere] vikiuvb opened a new issue, #24236: ShardingSphere rule model persistence

vikiuvb opened a new issue, #24236:
URL: https://github.com/apache/shardingsphere/issues/24236

   ## Feature Request
   
   ### Is your feature request related to a problem?
   ShardingSphere is currently storing all the rule configuration under one node in repository. This may work fine for small projects with few tables. However for large projects, having hundreds of table, it might hit the limit of the underlying repository storage.
   
   For an instance.
   * Zookeeper supports only 1MB of data per node.
   * HashiCorp Consul supports only 512kb of data per KV
   
   ![shardingsphere_rules](https://user-images.githubusercontent.com/13797616/219922138-ca7d2583-b7e5-492c-b2a6-436b059edf6f.jpg)
   
   
   
   ### Describe the feature you would like.
   
   A better model is to store the rules based on the rule type, and for the rules where there is a list of configurations (Ex: ShardingRule) is to store the configuration in its own node.  
   
   **Example:**
   
   ![image](https://user-images.githubusercontent.com/13797616/219922470-6e1e4285-9b68-43bf-a292-d054df2534ab.png)
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] strongduanmu commented on issue #24236: ShardingSphere rule model persistence

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu commented on issue #24236:
URL: https://github.com/apache/shardingsphere/issues/24236#issuecomment-1445349666

   Good suggestion, let's consider this in our new proposal.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] vikiuvb commented on issue #24236: ShardingSphere rule model persistence

Posted by "vikiuvb (via GitHub)" <gi...@apache.org>.
vikiuvb commented on issue #24236:
URL: https://github.com/apache/shardingsphere/issues/24236#issuecomment-1443893106

   @zhaojinchao95 Is this WIP?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] zhaojinchao95 commented on issue #24236: ShardingSphere rule model persistence

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #24236:
URL: https://github.com/apache/shardingsphere/issues/24236#issuecomment-1445081713

   > @zhaojinchao95 Is this WIP?
   
   Hi, thank you for your suggestion, you are right. And we will plan to redesign node structure, we can discuss it together. 
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] Pace2Car commented on issue #24236: ShardingSphere rule model persistence

Posted by "Pace2Car (via GitHub)" <gi...@apache.org>.
Pace2Car commented on issue #24236:
URL: https://github.com/apache/shardingsphere/issues/24236#issuecomment-1439419764

   Hi @zhaojinchao95, please help to check it, it looks like this work is in progress.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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