apache / shardingsphere-example

Sharding-Sphere examples
Apache License 2.0
972 stars 730 forks source link

enhance sharding-proxy example #117

Open cherrylzhao opened 5 years ago

cherrylzhao commented 5 years ago

currently sharding-prxoy example is lack of concrete scenario, we should enhance proxy-example using docker-compose. we can define various of sharding case in config file, then make it testable in running environment.

taojintianxia commented 5 years ago

@cherrylzhao please decompose the task, make this task tiny and detail. I'd like to take some missions.
since I was extreme busy recently, I'm sorry for the PR suspend and the response

cherrylzhao commented 5 years ago

sorry for lately reply, I'll try to split this task.

cherrylzhao commented 5 years ago

here is task list, we can leverage configuration of sharding-jdbc-example, make below scenario runnable within docker-compose enviroment

taojintianxia commented 5 years ago

since there is not corresponding example , I'm not quite sure to code the configuration . en .. get straight to the point , would you pls let me know the resources type and quantity ?

cherrylzhao commented 5 years ago

in factor, you should know how to configuration proxy in above 4 scenario. we have wrote some manual in document, but we lack of these example that can run in docker.

cherrylzhao commented 5 years ago

sharding-proxy-boot-mybatis-example module use JDBC way to connect proxy server. we can startup various of proxy server using docker-compose according to sh or 'profile'. you have implemented one in /docker/sharding-jdbc/sharding/conf