René's URL Explorer Experiment


Title: [Discussion] RPC in Ctrip. · Issue #31 · capa-cloud/capa-java · GitHub

Open Graph Title: [Discussion] RPC in Ctrip. · Issue #31 · capa-cloud/capa-java

X Title: [Discussion] RPC in Ctrip. · Issue #31 · capa-cloud/capa-java

Description: Ctrip实现层方案选型 在Ctrip的RPC实现层选型上,主要考虑SOA SDK和Service Mesh两种模式。 1. SOA SDK 首先,需要将SOA SDK中的接口层和调用实现层做一个分割。 这样可以通过SPI机制,选择加载SOA调用实现层 or AWS调用实现层。 并且业务代码只引入接口层(契约+服务调用接口)。 其次,SOA SDK目前只支持引入具体服务的client-sdk,然后才能调用该服务。 需要引入调用目标服务的SOA实现层的client-sdk...

Open Graph Description: Ctrip实现层方案选型 在Ctrip的RPC实现层选型上,主要考虑SOA SDK和Service Mesh两种模式。 1. SOA SDK 首先,需要将SOA SDK中的接口层和调用实现层做一个分割。 这样可以通过SPI机制,选择加载SOA调用实现层 or AWS调用实现层。 并且业务代码只引入接口层(契约+服务调用接口)。 其次,SOA SDK目前只支持引入具体服务的client-sdk...

X Description: Ctrip实现层方案选型 在Ctrip的RPC实现层选型上,主要考虑SOA SDK和Service Mesh两种模式。 1. SOA SDK 首先,需要将SOA SDK中的接口层和调用实现层做一个分割。 这样可以通过SPI机制,选择加载SOA调用实现层 or AWS调用实现层。 并且业务代码只引入接口层(契约+服务调用接口)。 其次,SOA SDK目前只支持引入具体服务的client-sdk...

Opengraph URL: https://github.com/capa-cloud/capa-java/issues/31

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Discussion] RPC in Ctrip.","articleBody":"## Ctrip实现层方案选型\r\n\r\n在Ctrip的RPC实现层选型上,主要考虑SOA SDK和Service Mesh两种模式。\r\n\r\n### 1. SOA SDK\r\n\r\n首先,需要将SOA SDK中的接口层和调用实现层做一个分割。\r\n这样可以通过SPI机制,选择加载SOA调用实现层 or AWS调用实现层。\r\n并且业务代码只引入接口层(契约+服务调用接口)。\r\n\r\n其次,SOA SDK目前只支持引入具体服务的client-sdk,然后才能调用该服务。\r\n需要引入调用目标服务的SOA实现层的client-sdk;或者SOA需要开发动态调用的能力。\r\n\r\n直接使用SOA SDK进行RPC调用的好处是:不需要关注反序列化等步骤。\r\n而缺点是:需要对目前的SOA SDK有较大的改动(接口层实现层分割等)\r\n\r\n### 2. Service Mesh\r\n\r\n选择servicemesh的原因是,不需要依赖SOA SDK的更改,可以快速实现MVP的RPC功能。\r\n\r\nServicemesh的一个好处是,支持动态的服务调用。可以通过appId、method等参数,即可发起一次服务调用,而无需提前引入对应服务的client-sdk。\r\n例如在capa-proxy场景,不可能预先知道要调哪些服务,引入全量的client-sdk是不现实的,所以需要动态化调用能力。\r\n\r\n但是sidecar返回给业务进程的数据,本身透传了服务端的数据序列化格式,如果不是标准json格式,那么需要客户端针对性的做反序列化工作。\r\n需要针对SOA服务端返回的bjjson序列化格式,做反序列化操作。\r\n\r\n但该部分工作是不可避免的,因为存在AWS调用Ctrip的场景,如果AWS端不对Ctrip的数据序列化格式进行兼容,那么就会存在问题。所以从工作量的角度来看,反序列化操作是必须要做的,并且应该放到抽象层,供ctrip、aws一起使用。\r\n\r\n### 总结\r\n\r\n综上,如果需要快速实现MVP模式,ServiceMesh方案可以快速实现(因为不依赖于SOA的改造)。\r\n\r\n如果采用SOA方案,也是OK的,等待SOA SDK改造完成,实现层也可以从ServiceMesh方案切换到SOA方案。\r\n(ServiceMesh方案主要开发量在反序列化上,但这部分工作本身就会用在AWS端,所以本身是必需的工作量)\r\n\r\n最后,如果本身采用的是三层设计 (https://github.com/reactivegroup/capa/issues/32) ,只要API确定好,实现层是可以随时更改的,对上层是无感的;但如果采用两层设计,可能需要更改代码进行适配。\r\n","author":{"url":"https://github.com/kevinten10","@type":"Person","name":"kevinten10"},"datePublished":"2021-11-03T05:30:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/31/capa-java/issues/31"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7a2f6f60-83e9-987f-ea6f-ee65d6a80ae0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB772:1931FB:BBA3A3B:F9A5D4D:698C5F98
html-safe-nonce4f61754ce25df46802c93e3ed5c9608e436933081a8d99e0ff44d1ca15f3bdc1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzcyOjE5MzFGQjpCQkEzQTNCOkY5QTVENEQ6Njk4QzVGOTgiLCJ2aXNpdG9yX2lkIjoiNjY4OTY4Mzc1ODg0MzE5MTE5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac292074ef877d8743ebd8cfd47750a28d56cf1b29e02458a6904391aaf0aa1239
hovercard-subject-tagissue:1043103518
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/capa-cloud/capa-java/31/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e40f6924b1c3c021a16e06682733ba02da33c13d38f916eb6acdeaca2e5e9a40/capa-cloud/capa-java/issues/31
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e40f6924b1c3c021a16e06682733ba02da33c13d38f916eb6acdeaca2e5e9a40/capa-cloud/capa-java/issues/31
og:image:altCtrip实现层方案选型 在Ctrip的RPC实现层选型上,主要考虑SOA SDK和Service Mesh两种模式。 1. SOA SDK 首先,需要将SOA SDK中的接口层和调用实现层做一个分割。 这样可以通过SPI机制,选择加载SOA调用实现层 or AWS调用实现层。 并且业务代码只引入接口层(契约+服务调用接口)。 其次,SOA SDK目前只支持引入具体服务的client-sdk...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekevinten10
hostnamegithub.com
expected-hostnamegithub.com
None640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4
turbo-cache-controlno-preview
go-importgithub.com/capa-cloud/capa-java git https://github.com/capa-cloud/capa-java.git
octolytics-dimension-user_id97497199
octolytics-dimension-user_logincapa-cloud
octolytics-dimension-repository_id375015365
octolytics-dimension-repository_nwocapa-cloud/capa-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id375015365
octolytics-dimension-repository_network_root_nwocapa-cloud/capa-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3d444f0a47beeeac94cddbb51c91ab408befe8d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/capa-cloud/capa-java/issues/31#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcapa-cloud%2Fcapa-java%2Fissues%2F31
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcapa-cloud%2Fcapa-java%2Fissues%2F31
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=capa-cloud%2Fcapa-java
Reloadhttps://patch-diff.githubusercontent.com/capa-cloud/capa-java/issues/31
Reloadhttps://patch-diff.githubusercontent.com/capa-cloud/capa-java/issues/31
Reloadhttps://patch-diff.githubusercontent.com/capa-cloud/capa-java/issues/31
capa-cloud https://patch-diff.githubusercontent.com/capa-cloud
capa-javahttps://patch-diff.githubusercontent.com/capa-cloud/capa-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcapa-cloud%2Fcapa-java
Fork 9 https://patch-diff.githubusercontent.com/login?return_to=%2Fcapa-cloud%2Fcapa-java
Star 14 https://patch-diff.githubusercontent.com/login?return_to=%2Fcapa-cloud%2Fcapa-java
Code https://patch-diff.githubusercontent.com/capa-cloud/capa-java
Issues 7 https://patch-diff.githubusercontent.com/capa-cloud/capa-java/issues
Pull requests 1 https://patch-diff.githubusercontent.com/capa-cloud/capa-java/pulls
Actions https://patch-diff.githubusercontent.com/capa-cloud/capa-java/actions
Projects 0 https://patch-diff.githubusercontent.com/capa-cloud/capa-java/projects
Security 0 https://patch-diff.githubusercontent.com/capa-cloud/capa-java/security
Insights https://patch-diff.githubusercontent.com/capa-cloud/capa-java/pulse
Code https://patch-diff.githubusercontent.com/capa-cloud/capa-java
Issues https://patch-diff.githubusercontent.com/capa-cloud/capa-java/issues
Pull requests https://patch-diff.githubusercontent.com/capa-cloud/capa-java/pulls
Actions https://patch-diff.githubusercontent.com/capa-cloud/capa-java/actions
Projects https://patch-diff.githubusercontent.com/capa-cloud/capa-java/projects
Security https://patch-diff.githubusercontent.com/capa-cloud/capa-java/security
Insights https://patch-diff.githubusercontent.com/capa-cloud/capa-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/capa-cloud/capa-java/issues/31
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/capa-cloud/capa-java/issues/31
[Discussion] RPC in Ctrip.https://patch-diff.githubusercontent.com/capa-cloud/capa-java/issues/31#top
https://github.com/kevinten10
https://github.com/kevinten10
kevinten10https://github.com/kevinten10
on Nov 3, 2021https://github.com/capa-cloud/capa-java/issues/31#issue-1043103518
#32https://github.com/capa-cloud/capa-java/issues/32
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.