CN108134766A - A kind of method, apparatus, system, server and client for servicing publication - Google Patents

A kind of method, apparatus, system, server and client for servicing publication Download PDF

Info

Publication number
CN108134766A
CN108134766A CN201611099694.4A CN201611099694A CN108134766A CN 108134766 A CN108134766 A CN 108134766A CN 201611099694 A CN201611099694 A CN 201611099694A CN 108134766 A CN108134766 A CN 108134766A
Authority
CN
China
Prior art keywords
service
rpc
load value
registration
service provider
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611099694.4A
Other languages
Chinese (zh)
Other versions
CN108134766B (en
Inventor
黄胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611099694.4A priority Critical patent/CN108134766B/en
Publication of CN108134766A publication Critical patent/CN108134766A/en
Application granted granted Critical
Publication of CN108134766B publication Critical patent/CN108134766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application provides a kind of method, apparatus, system, server and client for servicing publication, when the method is applied to registration center, the method includes during application program launching, obtaining current service provider multiple remote procedure call services to be released;The RPC service to be released is grouped, obtains N group RPC services, wherein N is positive integer;When often issuing one group of RPC service, real-time the first load value of system of the service provider is obtained;If first load value of system is more than default load threshold, the RPC service that the service provider is currently issued is counter to be registered;If first load value of system is less than or equal to default load threshold, next group of RPC service is issued.The embodiment of the present application can realize Dynamic Packet service publication, improve the correctness and stability of business.

Description

A kind of method, apparatus, system, server and client for servicing publication
Technical field
This application involves technical field of data processing, are issued more particularly to a kind of method for servicing publication, a kind of service Device, a kind of system for servicing publication, a kind of server for servicing publication, a kind of client for servicing publication and, it is a kind of Device, one or more computer-readable mediums.
Background technology
When webpage web application has just started exposure service, have external request and be received and then perform business and patrol Volume.This when can repeat many codes, these codes can (Java Virtual Machine, Java be virtual by JVM Machine) it captures and JIT (Just-In-Time Compiler, instant compiler) is transferred to be compiled.
In the prior art, after application starts, the problem of directly all services are all registered, are done so It is after registration, has flow into this service provider, and be the flow of total interface.These services start largely to hold Row carries out Just-In-Time so as to cause JIT.Although it is external service is provided in the case of, using machine machine loading in itself A normal level is maintained, but compiling (compiler) thread of this when of JIT can carry out a large amount of compilation operations, it is non- Normal consumption CPU, seizes system resource, system load is caused to rise violently, and the normal request execution time is elongated or even fails, seriously Influence service availability.
Therefore, the technical problem that those skilled in the art urgently solve is needed to be exactly at present:It is proposed a kind of service hair The mechanism of cloth to reduce system load, improves the correctness and stability of business.
Invention content
In view of the above problems, it is proposed that the embodiment of the present application overcomes the above problem or at least partly in order to provide one kind Solve the above problems a kind of service publication method, it is a kind of service publication device, it is a kind of service publication system, a kind of clothes Be engaged in the server of publication, a kind of client for servicing publication and, a kind of device, one or more computer-readable medium.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of service delivery system, and the system comprises registrations Center, service provider and service consumer;
The service provider determines multiple remote procedure call services to be released, and for the multiple RPC Service creation registration request;
The registration center based on the registration request that the server is sent, generates service list, and will be described to be released RPC service be grouped, obtain N group RPC services, when often issuing one group of RPC service, it is real-time to obtain the service provider The first load value of system;If first load value of system is more than default load threshold, the service provider is currently sent out The RPC service of cloth is counter to be registered;If first load value of system is less than or equal to default load threshold, next group is issued RPC service;Update the service list;
The service consumer receives the service list and newer service list that the registration center sends, And the newer service list is replaced into the service list.
The embodiment of the present application also discloses a kind of method for servicing publication, applied to registration center, the method includes:
During application program launching, current service provider multiple remote procedure calls to be released are obtained Service;
The RPC service to be released is grouped, obtains N group RPC services, wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system of the service provider is obtained;
If first load value of system is more than default load threshold, the RPC that the service provider is currently issued Service is counter to be registered;
If first load value of system is less than or equal to default load threshold, next group of RPC service is issued.
The embodiment of the present application also discloses a kind of method for servicing publication, applied to service provider, the method includes:
During application starts, multiple remote procedure call services to be released are determined;
For the multiple RPC service, registration request is sent to registration center, the registration center is used for based on the note Volume request, the RPC service to be released is grouped, and obtains N group RPC services, and wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system is obtained;
If first load value of system is more than default load threshold, anti-registration request is sent to the registration center, The registration center is used to be based on the anti-registration request, and the RPC service that the service provider is currently issued is counter to be noted Volume;
If first load value of system is less than or equal to default load threshold, next group is sent to the registration center The posting request of RPC service, the registration center are used to, based on the posting request, issue next group of RPC service.
The embodiment of the present application also discloses a kind of newer method of service, applied to service consumer, including:
The service list that registration center sends is received, the service list includes what one or more service providers provided The mark of one or more service;
The newer service list that registration center sends is received, the newer service list is being answered for the registration center During startup, after obtaining current service provider multiple remote procedure calls service to be released, treated described The RPC service of publication is grouped, and obtains N group RPC services, and when often issuing one group of RPC service, it is real to obtain the service provider When the first load value of system, and when first load value of system is more than default load threshold, by the service provider The RPC service currently issued carries out the list obtained after instead registering;
The newer service list is replaced into the service list.
The embodiment of the present application also discloses a kind of device for servicing publication, and described device includes:
Service acquisition module to be released, for during application program launching, it is pending to obtain current service provider Multiple remote procedure call services of cloth;
Service packet module for the RPC service to be released to be grouped, obtains N group RPC services, and wherein N is Positive integer;
System load acquisition module during for often issuing one group of RPC service, obtains the real-time system of the service provider First load value;
Anti- registration module, for when first load value of system is more than default load threshold, the service to be provided The RPC service of Fang Dangqian publications is counter to be registered;
Successively release module, for when first load value of system is less than or equal to default load threshold, under publication One group of RPC service.
The embodiment of the present application also discloses a kind of device for servicing publication, and described device includes:
Service determining module to be released during starting in application, determines multiple remote process tune to be released Use RPC service;
For being directed to the multiple RPC service, registration request is sent to registration center for registration request sending module, described Registration center is used to, based on the registration request, the RPC service to be released be grouped, obtain N group RPC services, Middle N is positive integer;
System load determining module during for often issuing one group of RPC service, obtains real-time the first load value of system;
Anti- registration request sending module, for when first load value of system is more than default load threshold, to described Registration center sends anti-registration request, and the registration center is used to, based on the anti-registration request, the service provider be worked as The RPC service of preceding publication is counter to be registered;
Posting request sending module, for when first load value of system is less than or equal to default load threshold, to The registration center sends the posting request of next group of RPC service, and the registration center is used for based on the posting request, publication Next group of RPC service.
The embodiment of the present application also discloses a kind of newer device of service, including:
Service list receiving module, for receiving the service list of registration center's transmission, the service list includes one Or the mark of one or more services that multiple service providers provide;
List reception module is updated, for receiving the newer service list of registration center's transmission, the newer service List is the registration center during application starts, and obtains current service provider multiple remote process tune to be released After RPC service, the RPC service to be released is grouped, obtains N group RPC services, often issues one group of RPC service When, real-time the first load value of system of the service provider is obtained, and be more than default load in first load value of system During threshold value, the RPC service that the service provider is currently issued is subjected to the list obtained after instead registering;
List update module, for the newer service list to be replaced the service list.
The embodiment of the present application also discloses a kind of system for servicing publication, the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one A or multiple processors perform, and one or more of modules have following function:
During application program launching, current service provider multiple remote procedure calls to be released are obtained Service;
The RPC service to be released is grouped, obtains N group RPC services, wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system of the service provider is obtained;
If first load value of system is more than default load threshold, the RPC that the service provider is currently issued Service is counter to be registered;
If first load value of system is less than or equal to default load threshold, next group of RPC service is issued.
The embodiment of the present application also discloses a kind of server for servicing publication, and the server includes:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one A or multiple processors perform, and one or more of modules have following function:
During application starts, multiple remote procedure call services to be released are determined;
For the multiple RPC service, registration request is sent to registration center, the registration center is used for based on the note Volume request, the RPC service to be released is grouped, and obtains N group RPC services, and wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system is obtained;
If first load value of system is more than default load threshold, anti-registration request is sent to the registration center, The registration center is used to be based on the anti-registration request, and the RPC service that the service provider is currently issued is counter to be noted Volume;
If first load value of system is less than or equal to default load threshold, next group is sent to the registration center The posting request of RPC service, the registration center are used to, based on the posting request, issue next group of RPC service.
The embodiment of the present application also discloses a kind of client for servicing publication, and the client includes:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one A or multiple processors perform, and one or more of modules have following function:
The service list that registration center sends is received, the service list includes what one or more service providers provided The mark of one or more service;
The newer service list that registration center sends is received, the newer service list is being answered for the registration center During startup, after obtaining current service provider multiple remote procedure calls service to be released, treated described The RPC service of publication is grouped, and obtains N group RPC services, and when often issuing one group of RPC service, it is real to obtain the service provider When the first load value of system, and when first load value of system is more than default load threshold, by the service provider The RPC service currently issued carries out the list obtained after instead registering;
The newer service list is replaced into the service list.
The embodiment of the present application also discloses a kind of device, including:
One or more processors;With
Instruction in the one or more computer-readable mediums stored thereon, is performed by one or more of processors When, described device is caused to perform above-mentioned method.
The embodiment of the present application also discloses one or more computer-readable mediums, is stored thereon with instruction, when by one Or multiple processors are when performing so that terminal device performs above-mentioned method.
Compared with background technology, the embodiment of the present application includes advantages below:
The embodiment of the present application is based on system load, realizes Dynamic Packet service publication, service is exposed away one by one, per sudden and violent The load of calculating operation system when revealing one group of service, to determine whether needing the anti-registration of registered service.If system Load is more than default load threshold (meaning that system is busy), then services counter registered by chartered.Each service quilt This jit compiling for servicing relevant .class files can all be caused after registration, ensured that in this way to after each service JIT, this There is no flow entrance for a service, on the one hand ensure to ask back to be routed on the machine do not restarted, on the one hand all systems are born It carries for JIT and performs other service, so as to improve the correctness of business and stability.
Description of the drawings
Fig. 1 is a kind of step flow chart of the embodiment of the method 1 of service publication of the application;
Fig. 2 is the service publication schematic diagram of the application;
Fig. 3 is a kind of step flow chart of the embodiment of the method 2 of service publication of the application;
Fig. 4 is a kind of step flow chart of the embodiment of the method 3 of service publication of the application
Fig. 5 is a kind of structure diagram of the device embodiment 1 of service publication of the application;
Fig. 6 is a kind of structure diagram of the device embodiment 2 of service publication of the application;
Fig. 7 is a kind of structure diagram of the device embodiment 3 of service publication of the application;
Fig. 8 is a kind of structure diagram of service delivery system embodiment of the application;
Fig. 9 is a kind of structure diagram of service delivery system embodiment of the application.
Specific embodiment
Above-mentioned purpose, feature and advantage to enable the application are more obvious understandable, below in conjunction with the accompanying drawings and specific real Mode is applied to be described in further detail the application.
The design of the application is easy to carry out various modifications and alternative form, and specific embodiment is by way of attached drawing It shows, and will be described in detail herein.It should be appreciated, however, that the above is not for the design of the application is limited to Disclosed concrete form, on the contrary, the description of the present application and additional claims are intended to cover all change, equally With the form of replacement.
" one embodiment " in this specification, " embodiment ", " specific embodiment " etc., represent described implementation Example can include a particular feature, structure, or characteristic, but each embodiment can include or may not necessarily so include the specific spy Sign, structure or characteristic.In addition, such phrase is not necessarily referring to the same embodiment.In addition, in contact one embodiment description In the case of a particular feature, structure, or characteristic, regardless of whether being expressly recited, it is believed that range known to those skilled in the art Interior, such feature, structure or characteristic are also related with other embodiment.Also, it should be understood that " in A, B and C at least One " in entry in list included by this form, following possible project can be included:(A);(B);(C);(A and B);(A and C);(B and C);Or (A, B and C).Equally, the project that " at least one of A, B or C " this form is listed may anticipate Taste (A);(B);(C);(A and B);(A and C);(B and C);Or (A, B and C).
In some cases, the disclosed embodiments may be implemented as hardware, firmware, software or its arbitrary combination.Institute Disclosed embodiment can also be embodied as carrying or be stored in it is one or more temporary or nonvolatile it is machine readable (such as It is computer-readable) instruction in storage medium, which can be executed by one or more processors.Machine readable storage medium It may be implemented for storing or transmitting in the form of it can be read by a machine storage device, mechanism or other physics of information Structure (such as volatibility or nonvolatile memory, dielectric disc or the other physical arrangement devices of other media).
In the accompanying drawings, some structures or method characteristic can be specifically to arrange and/or sequencing display.It is preferable, however, that Such specific arrangement and/or sequence are not necessary.On the contrary, in some embodiments, such feature can be with not With mode and/or be ranked sequentially rather than as shown in the drawing.In addition, in structure or method characteristic in specific attached drawing Comprising content, it is not intended to it in all embodiments is necessary, and in some embodiments to imply that this feature is, It may not include these features or these features may be combined with other feature.
With reference to Fig. 1, a kind of step flow chart of the embodiment of the method 1 of service publication of the application is shown, it specifically can be with Include the following steps:
Step 101, during application program launching, current service provider multiple RPC services to be released are obtained;
Specifically, RPC service be service provider (provider) provide based on RPC (Remote Procedure Call Protocol, remote procedure call protocol) service.
RPC is that one kind asks service by network from remote computer program, without understanding underlying network technology Agreement.RPC uses client computer (i.e. service consumer)/server (i.e. service provider) pattern.Requestor is exactly one Client computer, and service providing program is exactly a server.First, client calls process sends a tune for having process parameter With information to service processes, response message is then waited for.In server end, process keeps sleep state arriving until recalls information Until reaching.When a recalls information reaches, server obtains process parameter, and result of calculation sends reply message, under then waiting for One recalls information, finally, client call process receive reply message, obtain proceeding results, then call perform continue into Row.
Service publication in the embodiment of the present application can be based on RPC frames and carry out, and RPC frames are supplied to the transparent use of user The programming framework of RPC abilities after user uses RPC frames, is thoroughly hidden RPC behaviors, such as local calling.
In the concrete realization, registration center can be included in RPC frames, registration center maintains all service provider institutes The information of exposed service, for example, the information of service can include IP address, port numbers etc..
The responsibility of registration center is very specific, can include following function:
1) service provider is sent to some essential informations for the service that it is provided;
2) service consumer carrys out subscription service;
3) when service provider example is offline, some service of real-time informing service consumer is offline.
In addition to this, registration center further includes the function that some services are administered, such as:
1) service audit, this is that simplest operation is administered in service, is all to need because after some service provider is reached the standard grade To be audited, if do not audited, be likely to result in many unnecessary troubles, for example, accidentally the service of development environment to Online service is registered, and if not auditing directly if, be will result in interface on line and being called the difficult situation serviced under line;
2) record of load strategy, for example acquiescence is random weighting strategy, if manager wishes to make weighted polling into Strategy needs to notify service consumer, the change of access strategy;
3) manually change access weight of some service, for example the heavy burden of some service default is 50, (maximum 100) when Wait, but when the machine pressure at this time where this Service Instance is little, and other Service Instance pressure it is very big when It waits, the access weight for increasing the service that can suitably but is not wanted to make the service offline, its weight changed, so can again To change its heavy burden in registration center, then notify service consumer, thus can dynamically change heavy burden;
4) operation of some persistences, because registration center is stateless, if some registration center's example restarts it Afterwards, some pervious msu messages, the access strategy information of modification will disappear, and thus may require that user's first sentence again Core, this is pretty troublesome, so needing to land these information, is persisted to hard disk, then restarts registration center's example every time When, it goes to read these information.
RPC frames can be distributed service framework, can be used for the interapplication communications of distributed deployment.I.e. in step In 101, application program is the application program of distributed deployment, which can correspond to more machines, including multiple services Provider and multiple service consumers.
During application program launching, many resources are in a process built, and (most representative is local Cache (local cache)), this when comparatively the performance of application program is poor.Therefore, implement in the application In example, in the start-up course of application program, step 101 can be first carried out and obtain to be released multiple of current service provider Then RPC service performs step 102, RPC service to be released is grouped publication.
In the concrete realization, when service provider needs issuing service, service provider can be sent to registration center Registration request, as a kind of example, which can be expressed as PUBLISH_SERVICE, then registration center can be from clothes Know service provider RPC service to be released in the PUBLISH_SERVICE of business provider's push.
In practice, a service provider can provide one or more services, for example, a machine can be provided and be deposited A variety of services such as storage, inquiry.
Step 102, the RPC service to be released is grouped, obtains N group RPC services;
In the embodiment of the present application, after registration center obtains every service provider multiple RPC services to be released, Multiple RPC service can be divided into N groups, wherein, N is positive integer.
In a kind of preferred embodiment of the embodiment of the present application, step 102 can further include following sub-step:
Sub-step S11 reads service packet strategy preset in configuration file;
The RPC service to be released according to the service packet strategy is grouped, is corresponded to by sub-step S12 N groups service.
In the concrete realization, user can set one or more services point by JVM parameter configurations in configuration file Group policy, for example, the service packet strategy can include, the quantity of service (i.e. RPC service) that fixed configurations are each grouped;Root According to the total quantity of service to be released, according to preset M groups divide equally, etc..
Such as, it is assumed that according to the total quantity of service to be released be M, then can will take 1/4M as one group.
Registration center can read the service packet strategy set in configuration file, if there are one service packet strategies, Then RPC service to be released is grouped according to the service packet strategy, obtains corresponding N groups service.Alternatively, registration center The service packet strategy can also be presented to user, after user selectes the service packet strategy, according to the service packet RPC service to be released is grouped by strategy, obtains corresponding N groups service.
If service packet strategy has multiple, multiple service packet strategy can be presented to user, when user selects After some fixed service packet strategy, RPC service to be released is grouped according to the selected service packet strategy, is obtained Corresponding N groups service, and grouping situation is informed into service provider.
It should be noted that the N groups service can be the service sequentially sorted, sequentially sequence can include:Clothes in group Business is sequentially sorted, and is sequentially sorted between group, to ensure the order of service publication.For example, some server-side has issued 6 clothes altogether Business, respectively A1, A2, A3, A4, A5, A6, wherein, every 2 services are divided into one group, totally three groups, respectively C1 (A1, A2), C2 (A3, A4), C3 (A5, A6), wherein, then the distribution order between group can be C1-C2-C3;Distribution order in group can be A1- A2, A3-A4, A5-A6.
Step 103, when often issuing one group of RPC service, real-time the first load value of system of the service provider is obtained;
In the embodiment of the present application, after the service of N groups is obtained, service exposure can be carried out by group, to reach dynamic point The purpose of group publication.
It should be noted that when often exposing one group of service, multiple services in the group are also to carry out exposure one by one.
In a kind of preferred embodiment of the embodiment of the present application, step 103 can be further:Often issue one group of RPC clothes During business, real-time the first load value of system of current service provider is obtained by reading specified file.
Specifically, system load is defined as in specified time interval the averaging process tree in operation queue, generally may be used To embody system load with Load Average, the busy extent of Load Average and system is positively correlated, and Load is higher Expression system is busier.
The first load value of system can be the cpu busy percentage in the system of service provider.In the implementation, service provider Cpu busy percentage can be calculated with specified file.
As a kind of example, which can include/proc/stat files, this file contains all CPU and lives Dynamic information, all values in this document are all to be accumulated to current time since starting system.
After service provider obtains the first load value of system, which can be sent in registration The heart.
Certainly, registration center can also the first load value of computing system by other means, for example, github can be passed through On increase income library oshi to calculate the system load value of current service provider.The embodiment of the present application is not construed as limiting this.
Step 104, if the first load value of the system is more than default load threshold, the service provider is currently sent out The RPC service of cloth is counter to be registered;
In the embodiment of the present application, the system of the current a certain service provider that service is provided obtained when registration center the After one load value, judge whether first load value of system is more than default load threshold, if it is, illustrating that the service provides The CPU of side is largely occupied, and system is busy.
In practice, the machine of every server-side all have the ability to registration center's registration or it is counter register itself, with to registration Center is registered or the anti-service for registering oneself offer, and the registered service of exposure.Each service is after registration center is registered The jit compiling of the relevant .class files of the service will be caused, and the occupied compiler threads of JIT compiler can be a large amount of Using CPU, therefore, in the embodiment of the present application, when the first load value of system of service provider is more than default load threshold, For the service being already registered for, counter can be registered after receiving flow preheating.
In a kind of preferred embodiment of the embodiment of the present application, step 104 can include following sub-step:
Sub-step S21 if the first load value of the system is more than default load threshold, receives the service provider pair The anti-anti- registration request registered of RPC service currently issued;
Sub-step S22 is registered based on the anti-registration request is counter to corresponding RPC service.
In the embodiment of the present application, when the first load value of system of the machine of service provider judgement current system is more than in advance If during load threshold, it can propose that anti-registration request registers the service currently issued with counter to registration center, the anti-registration request In can include to negate registration service mark.
As a kind of example, which can be described as PUBLISH_CANCEL_SERVICE.
After registration center receives the PUBLISH_CANCEL_SERVICE of service provider push, to corresponding clothes Business is counter to be registered.
In practice, registration center can safeguard a service list for being directed to registered service, work as service provider One or more is serviced after registration center registers, registration center can be by one or more service additions of registration Service consumer (consumer) is sent into service list, and by the service list, each RPC is called, service consumer The machine of a service provider can be selected to be called in service list.
Correspondingly, when the anti-registration that service provider is serviced, registration center can be updated service list.
In one embodiment, above-mentioned update, which can be included in service list, deletes this and counter is registered corresponding clothes Business.
Certainly, the embodiment of the present application can also have other update modes, for example, the anti-service registered is added default Anti- sign-on ID, the embodiment of the present application is not restricted this.
After service list is updated by service centre, updated service list is sent to service consumer, To carry out the update of the service list of service consumer side.
In the newer service list received in service consumer, it is not present or unavailable by the anti-service registered, therefore, To it is each service JIT after, the anti-service registered does not expose outward, will not thus have request to come in, no longer exist flow into Enter, on the one hand ensure to ask back to be routed on the machine do not restarted, on the one hand all system loads for JIT and perform other Service, so as to improve the correctness of business and stability.
It should be noted that in order to ensure the normal processing of business, can be registered again by the anti-serve future registered.
Step 105, if the first load value of the system is less than or equal to default load threshold, next group of RPC clothes are issued Business.
In a kind of preferred embodiment of the embodiment of the present application, step 105 can include following sub-step:
Sub-step S31 if the first load value of the system is less than or equal to default load threshold, receives service provider The posting request for next group of RPC service sent;
Sub-step S32 based on the posting request, issues next group of RPC service.
Specifically, after one group of service is issued, service provider calculates current the first load value of system, if this is First load value of uniting is less than or equal to default load threshold, illustrates current system there is no overloading, at this point, service provider can be with Posting request is sent to registration center, registration center to be asked to issue next group of service, registration center is based on the posting request, after The lower one group of service of supervention cloth.
After next group of service is issued, service provider continues to calculate the load of current system, if load is more than in advance If load threshold, then the preceding service exposed is registered in registration center is counter, if load is less than or equal to default load threshold, Next group of service of exposure then is asked to registration center, and so on, until all service publications finish.
After all service publications finish, the embodiment of the present application can also include the following steps:
After all service publications finish, the second load value of system of the service provider is obtained;If the system Second load value is more than default load threshold, then counter to all announced all services in the service provider to be noted Volume.
In the concrete realization, a data structure in RPC frames can be set to preserve all services, and it can be issued State be marked, therefore registration center can be known according to the state of the label how many service issued, Duo Shaowei Publication.
After all service publications finish, service provider can once calculate system load again, is It unites the second load value, if second load value of system is higher than default load threshold, illustrates that the load of current system is still very high, At this point, service provider can ask registration center is counter to register all services.
In a kind of preferred embodiment of the embodiment of the present application, it can also include the following steps:
After silent preset time period, the system third load value of the service provider is obtained;When the system third is born Load value is less than or equal to default load threshold, and the anti-service registered is re-registered.
In the embodiment of the present application, after all services are by counter register, after a burst of quiet period, if service provides The system load value of side is less than or equal to default load threshold, then the anti-service registered is re-registered.
When all RPC services are all after JIT is preheated, RPC service frame all registers all services, and system starts Receive request, work.
The embodiment of the present application is based on system load, realizes Dynamic Packet service publication, service is exposed away one by one, per sudden and violent The load of calculating operation system when revealing one group of service, to determine whether needing the anti-registration of registered service.If system Load is more than default load threshold (meaning that system is busy), then services counter registered by chartered.Each service quilt This jit compiling for servicing relevant .class files can all be caused after registration, ensured that in this way to after each service JIT, this There is no flow entrance for a service, on the one hand ensure to ask back to be routed on the machine do not restarted, on the one hand all systems are born It carries for JIT and performs other service, so as to improve the correctness of business and stability.
In order to which those skilled in the art is made to better understood when the embodiment of the present application, below with a specific example to this Application embodiment illustrates.
As shown in the service publication schematic diagram of Fig. 2, it is assumed that there is lower single function, the lower single function institute in some web applications Associated service includes opening commodity details page, adds in shopping cart, opens multiple services such as shopping cart, selection commodity, clearing.It adopts Service hierarchy publication is carried out with following steps:
1st, when web applications are just opened, for the multiple services to be issued, N layers is cut into and is issued, and determined each The service number of layer.
2nd, after often issuing one layer of service, into quiet period, the system load Load of current machine is calculated, if system load Higher than predetermined threshold value, then register the service issued before is counter;In step 2, JVM is allowed to go to preheat the code of these services, note Sell announced service so that these services not exposure outward will not thus have request to come in;Continue to execute step 4;
If the 3, system load is less than predetermined threshold value, continue to determine whether to need to carry out layering publication, if it is desired, then Return to step 2, but do not need to, then perform step 4;
4th, judge whether current system load is still higher than threshold value;If it is, all services are nullified, silent a period of time Afterwards, all services are issued again;If it is not, then layering publication terminates, system starts to receive request, work.
In this example, RPC service frame can carry out decision, by not when application starts exposure service Different codes is induced JIT by registration/anti-registration with service, and the service being already registered for carries out after receiving flow preheating Anti- registration, ensures that machine resources are preferentially used for JIT, also ensures the success rate of business.
With reference to Fig. 3, a kind of step flow chart of the embodiment of the method 2 of service publication of the application is shown, the application is real Applying example can be illustrated based on the angle of service provider, specifically may include steps of:
Step 301, during application starts, multiple remote procedure call services to be released are determined;
Application program is the application program of distributed deployment, which can correspond to more machines, including multiple clothes Business provider and multiple service consumers.
During application program launching, service provider can determine that it is the quantity of the service of application offer, As multiple RPC services to be released.
Step 302, for the multiple RPC service, registration request is sent to registration center;
After service provider determines multiple RPC services to be released, it can be asked by sending registration to registration center Request registration center is asked to register multiple RPC service.
As a kind of example, which can be expressed as PUBLISH_SERVICE.
Then registration center is used to, based on the registration request, RPC service to be released be grouped, and obtains N groups RPC clothes Business, wherein N are positive integer.
Specifically, service provider can be known from the PUBLISH_SERVICE that service provider pushes in registration center RPC service to be released, then, registration center can read the service packet strategy set in preset configuration file, will be pending The RPC service of cloth is grouped, and obtains corresponding N groups service, and grouping situation is informed service provider.
Step 303, when often issuing one group of RPC service, real-time the first load value of system is obtained;
In the embodiment of the present application, after the service of N groups is obtained, registration center can carry out service exposure by group, to reach The purpose issued to Dynamic Packet.
It should be noted that when often exposing one group of service, multiple services in the group are also to carry out exposure one by one.
When registration center exposes one group of service, service provider is informed, at this point, service provider can use specified file Carry out the first load value of computing system.
Step 304, if the first load value of the system is more than default load threshold, anti-note is sent to the registration center Volume request;
It, can be to registration when the first load value of system of service provider judgement current system is more than default load threshold Center proposes that anti-registration request registers the service currently issued with counter, and the clothes for the registration that negate can be included in the anti-registration request The mark of business.
As a kind of example, which can be described as PUBLISH_CANCEL_SERVICE.
Then registration center is used for based on the anti-registration request, by the RPC service that the service provider is currently issued into The anti-registration of row.
In practice, registration center can safeguard a service list for being directed to registered service, work as service provider One or more is serviced after registration center registers, registration center can be by one or more service additions of registration Service consumer (consumer) is sent into service list, and by the service list, and each RPC is called, and client can be from The machine of a service provider is selected to be called in service list.
Correspondingly, when the anti-registration that service provider is serviced, registration center can be updated service list.
Step 305, it if the first load value of the system is less than or equal to default load threshold, is sent out to the registration center Send the posting request of next group of RPC service.
Then the registration center is used to, based on the posting request, issue next group of RPC service.
Specifically, after one group of service is issued, service provider calculates current the first load value of system, if this is First load value of uniting is less than or equal to default load threshold, illustrates current system there is no overloading, at this point, service provider can be with Posting request is sent to registration center, registration center to be asked to issue next group of service, registration center is based on the posting request, after The lower one group of service of supervention cloth.
After next group of service is issued, service provider continues to calculate the load of current system, if load is more than in advance If load threshold, then the preceding service exposed is registered in registration center is counter, if load is less than or equal to default load threshold, Next group of service of exposure then is asked to registration center, and so on, until all service publications finish.
After all service publications finish, the embodiment of the present application can also include the following steps:
After all service publications finish, the second load value of system is obtained;If second load value of system is more than pre- If load threshold, then the anti-de-registration request for registering all services is sent out to registration center.
Then the registration center is used for based on the de-registration request, to all announced institutes in the service provider There is service is counter to be registered.
In the concrete realization, a data structure in RPC frames can be set to preserve all services, and it can be issued State be marked, therefore registration center can be known according to the state of the label how many service issued, Duo Shaowei Publication.After all service publications finish, send publication to service provider and complete information, then service provider receives hair After cloth completes information, then it can determine that all service publications finish.
After all service publications finish, service provider can once calculate system load again, is It unites the second load value, if second load value of system is higher than default load threshold, illustrates that the load of current system is still very high, At this point, service provider can generate de-registration request, which is used to ask registration center is counter to register the service provider All services.
It is counter to all services of the service provider to be registered, and more after registration center receives de-registration request Service list is sent to service consumer by new demand servicing list.
In a kind of preferred embodiment of the embodiment of the present application, it can also include the following steps:
After silent preset time period, the system third load value of the service provider is obtained;When the system third is born Load value is less than or equal to default load threshold, then is sent out to registration center and re-register request, to ask registration center to described The anti-service registered is re-registered.
In the embodiment of the present application, after all services are by counter register, after a burst of quiet period, if service provides The system load value of side is less than or equal to default load threshold, then the anti-service registered is re-registered.
When all RPC services are all after JIT is preheated, RPC service frame all registers all services, and system starts Receive request, work.
In the embodiment of the present application, the system load based on service provider is realized Dynamic Packet service publication, will be serviced It exposes away one by one, the load of calculating operation system when often exposing one group of service, to determine whether needing registered service Anti- registration.If the load of system is more than default load threshold (meaning that system is busy), chartered service is carried out Anti- registration.Each service can cause jit compiling of this relevant .class file of service after being registered, ensure that in this way pair After each service JIT, there is no flow entrance for this service, on the one hand ensure to ask back to be routed on the machine do not restarted, one All system loads of aspect are for JIT and perform other service, so as to improve the correctness of business and stability.
With reference to Fig. 4, a kind of step flow chart of the embodiment of the method 3 of service publication of the application is shown, it specifically can be with Include the following steps:
Step 401, the service list that registration center sends is received;
In practice, the machine of every server-side all have the ability to registration center's registration or it is counter register itself, with to registration Center is registered or the anti-service for registering oneself offer.Registration center can safeguard that a service for registered service arranges Table, the service list can include the mark of one or more services that one or more service providers provide.
When service provider services after registration center registers one or more, registration center can will register One or more services be added in service list, and the service list is sent to service consumer (consumer), often Secondary RPC is called, and service consumer can select the machine of a service provider to be called in service list.
Step 402, the newer service list that registration center sends is received;
In the embodiment of the present application, the newer service list can be registration center application start during, obtain After the multiple RPC services for taking current service provider to be released, the RPC service to be released is grouped, obtains N groups RPC service when often issuing one group of RPC service, obtains real-time the first load value of system of the service provider, and in the system When first load value of uniting is more than default load threshold, the RPC service that the service provider is currently issued is carried out after instead registering Obtained list.
When service provider is proposed to servicing counter registered, registration center can be updated service list.
In one embodiment, above-mentioned update, which can be included in service list, deletes this and counter is registered corresponding clothes Business.
Certainly, the embodiment of the present application can also have other update modes, for example, the anti-service registered is added default Anti- sign-on ID, the embodiment of the present application is not restricted this.
After service list is updated by service centre, newer service list is sent to service consumer.
Step 403, the newer service list is replaced into the service list.
After service consumer obtains newer list, which is replaced into the service list, into The update of the service list of row client-side.
In the newer service list received in service consumer, it is not present or unavailable by the anti-service registered, therefore, To it is each service JIT after, the anti-service registered does not expose outward, will not thus have request to come in, no longer exist flow into Enter, on the one hand ensure to ask back to be routed on the machine do not restarted, on the one hand all system loads for JIT and perform other Service, so as to improve the correctness of business and stability.
In a kind of preferred embodiment of the embodiment of the present application, after all service publications finish, service provider can Once calculated again system load, the second load value of system is obtained, if second load value of system is higher than preset negative Threshold value is carried, illustrates that the load of current system is still very high, at this point, service provider can generate de-registration request, the de-registration request For asking the anti-all services for registering the service provider of registration center.
After all services of the service provider are nullified by registration center, service list is updated, deletes and nullifies Service record, and updated service list is sent to service consumer, will be recently received in service consumer side Service list replace previous service list, to carry out the update of service list.
In a kind of preferred embodiment of the embodiment of the present application, after all services are by counter register, by a burst of silent After phase, if the system load value of service provider is less than or equal to default load threshold, service provider can be to registration Center requests re-register the anti-service registered.
When registration center re-starts registration to the anti-service registered, service list is updated, increase re-registers Service record, and updated service list is sent to service consumer, will be recently received in service consumer side Service list replace previous service list, to carry out the update of service list.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group It closes, but those skilled in the art should know, the embodiment of the present application is not limited by described sequence of movement, because according to According to the embodiment of the present application, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and involved action not necessarily the application is implemented Necessary to example.
With reference to Fig. 5, show a kind of structure diagram of the device embodiment 1 of service publication of the application, can include such as Lower module:
Service acquisition module 501 to be released is treated for during application program launching, obtaining current service provider Multiple remote procedure call services of publication;
Service packet module 502 for the RPC service to be released to be grouped, obtains N group RPC services, wherein N is positive integer;
During for often issuing one group of RPC service, it is real-time to obtain the service provider for system load acquisition module 503 The first load value of system;
Anti- registration module 504, for when first load value of system is more than default load threshold, the service to be carried RPC service that supplier currently issues is counter to be registered;
Successively release module 505, for when first load value of system is less than or equal to default load threshold, issuing Next group of RPC service.
In a kind of preferred embodiment of the embodiment of the present application, described device further includes:
Second load value computing module, after being finished in all service publications, obtain the service provider is It unites the second load value;
Cancellation module, for when second load value of system is more than default load threshold, then providing the service All announced all services in side counter are registered.
In a kind of preferred embodiment of the embodiment of the present application, described device further includes:
Third load value computing module after silent preset time period, obtains the system third of the service provider Load value;
Re-register module, for being less than or equal to default load threshold in the system third load value, to the progress The anti-service registered is re-registered.
In a kind of preferred embodiment of the embodiment of the present application, further include:
Service list add module, for working as after the service provider registers one or more services, general One or more services of the registration are added in preset service list;
Service list sending module, for the service list to be sent to service consumer.
In a kind of preferred embodiment of the embodiment of the present application, the anti-registration module 504 includes:
Anti- registration request receiving submodule if being more than default load threshold for first load value of system, receives The service provider anti-registration request registered counter to the RPC service currently issued;
The anti-registration submodule of service, for being based on, the anti-registration request is counter to corresponding RPC service to be registered.
In a kind of preferred embodiment of the embodiment of the present application, described device further includes:
List update module, for when the anti-registration that the service provider is serviced, to the service list into Row update, the update include that deletion is described counter to register corresponding service;
List sending module is updated, for updated service list to be sent to service consumer, is disappeared with carrying out service The update of the service list of Fei Fang sides.
In a kind of preferred embodiment of the embodiment of the present application, the successively release module 505 includes:
Posting request receiving submodule, if being less than or equal to default load threshold for first load value of system, Receive the posting request for next group of RPC service that service provider is sent;
Service publication submodule, for being based on the posting request, issues next group of RPC service.
In a kind of preferred embodiment of the embodiment of the present application, the service packet module 502 includes:
Grouping strategy acquisition submodule, for reading service packet strategy preset in configuration file;
Submodule is grouped, for being grouped the RPC service to be released according to the service packet strategy, is obtained Corresponding N groups service.
In a kind of preferred embodiment of the embodiment of the present application, the system load acquisition module 503 is additionally operable to:
When often issuing one group of RPC service, the real-time system of current service provider is obtained by reading specified file One load value.
For the device embodiment of Fig. 5, since its embodiment of the method to above-mentioned Fig. 1 is substantially similar, so description It is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
With reference to Fig. 6, show a kind of structure diagram of the device embodiment 2 of service publication of the application, can include such as Lower module:
Service determining module 601 to be released, during starting in application, determines multiple remote process to be released Call RPC service;
For being directed to the multiple RPC service, registration request, institute are sent to registration center for registration request sending module 602 Registration center is stated for based on the registration request, the RPC service to be released being grouped, obtains N group RPC services, Wherein N is positive integer;
System load determining module 603 during for often issuing one group of RPC service, obtains real-time the first load value of system;
Anti- registration request sending module 604, for when first load value of system is more than default load threshold, to institute It states registration center and sends anti-registration request, the registration center is used for based on the anti-registration request, by the service provider The RPC service currently issued is counter to be registered;
Posting request sending module 605, for when first load value of system is less than or equal to default load threshold, The posting request of next group of RPC service is sent to the registration center, the registration center is used for based on the posting request, hair The lower one group of RPC service of cloth.
In a kind of preferred embodiment of the embodiment of the present application, described device further includes:
Second load value computing module, for work as it is all service publication finish after, obtain the second load value of system;
De-registration request sending module, if being more than default load threshold for second load value of system, into registration The heart sends out the anti-de-registration request for registering all services, and the registration center is used to, based on the de-registration request, propose the service All announced all services in supplier counter are registered.
In a kind of preferred embodiment of the embodiment of the present application, described device further includes:
Third load value computing module after silent preset time period, obtains the system third of the service provider Load value;
Request sending module is re-registered, is less than or equal to default load threshold for working as the system third load value, It is then sent out to registration center and re-registers request, registration center to be asked to note the anti-service registered again Volume.
For the device embodiment of Fig. 6, since it is substantially similar to above method embodiment, so the comparison of description Simply, the relevent part can refer to the partial explaination of embodiments of method.
With reference to Fig. 7, show a kind of structure diagram of the device embodiment 3 of service publication of the application, can include such as Lower module:
Service list receiving module 701, for receiving the service list of registration center's transmission, the service list includes one The mark of one or more services that a or multiple service providers provide;
List reception module 702 is updated, for receiving the newer service list of registration center's transmission, the newer clothes List of being engaged in is the registration center during application starts, and obtains current service provider multiple remote process to be released After calling RPC service, the RPC service to be released is grouped, obtains N group RPC services, often issue one group of RPC clothes During business, real-time the first load value of system of the service provider is obtained, and be more than preset negative in first load value of system When carrying threshold value, the RPC service that the service provider is currently issued is subjected to the list obtained after instead registering;
List update module 703, for the newer service list to be replaced the service list.
For the device embodiment of Fig. 7, since it is substantially similar to above method embodiment, so the comparison of description Simply, the relevent part can refer to the partial explaination of embodiments of method.
The embodiment of the present application additionally provides a kind of system for servicing publication, the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one A or multiple processors perform, and one or more of modules have following function:
During application program launching, current service provider multiple remote procedure calls to be released are obtained Service;
The RPC service to be released is grouped, obtains N group RPC services, wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system of the service provider is obtained;
If first load value of system is more than default load threshold, the RPC that the service provider is currently issued Service is counter to be registered;
If first load value of system is less than or equal to default load threshold, next group of RPC service is issued.
Optionally, which can have following function:
After all service publications finish, the second load value of system of the service provider is obtained;
If second load value of system is more than default load threshold, all in the service provider have been issued All services counter registered.
Optionally, which can have following function:
After silent preset time period, the system third load value of the service provider is obtained;
Load threshold is preset when the system third load value is less than or equal to, the anti-service registered is carried out It re-registers.
Optionally, which can have following function:
After the service provider registers one or more services, the one or more of the registration is taken Business is added in preset service list;
The service list is sent to service consumer.
Optionally, which can have following function:
If first load value of system is more than default load threshold, the service provider is received to currently issuing The anti-anti- registration request registered of RPC service;
It is registered based on the anti-registration request is counter to corresponding RPC service.
Optionally, which can have following function:
When the anti-registration that the service provider is serviced, the service list is updated, the update packet It includes to delete and described counter registers corresponding service;
Updated service list is sent to service consumer, to carry out the service list of service consumer side more Newly.
Optionally, which can have following function:
If first load value of system is less than or equal to default load threshold, being directed to for service provider transmission is received The posting request of next group of RPC service;
Based on the posting request, next group of RPC service is issued.
Optionally, which can have following function:
Read service packet strategy preset in configuration file;
The RPC service to be released is grouped according to the service packet strategy, obtains corresponding N groups service.
Optionally, which can have following function:
When often issuing one group of RPC service, the real-time system of current service provider is obtained by reading specified file One load value.
The embodiment of the present application additionally provides a kind of server for servicing publication, and the server includes:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one A or multiple processors perform, and one or more of modules have following function:
During application starts, multiple remote procedure call services to be released are determined;
For the multiple RPC service, registration request is sent to registration center, the registration center is used for based on the note Volume request, the RPC service to be released is grouped, and obtains N group RPC services, and wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system is obtained;
If first load value of system is more than default load threshold, anti-registration request is sent to the registration center, The registration center is used to be based on the anti-registration request, and the RPC service that the service provider is currently issued is counter to be noted Volume;
If first load value of system is less than or equal to default load threshold, next group is sent to the registration center The posting request of RPC service, the registration center are used to, based on the posting request, issue next group of RPC service.
Optionally, which can have following function:
After all service publications finish, the second load value of system is obtained;If second load value of system is more than pre- If load threshold, then the anti-de-registration request for registering all services is sent out to registration center, the registration center is used for based on described De-registration request, it is counter to all announced all services in the service provider to be registered.
Optionally, which can have following function:
After silent preset time period, the system third load value of the service provider is obtained;
Load threshold is preset when the system third load value is less than or equal to, then sends out to re-register to registration center and ask It asks, registration center to be asked to re-register the anti-service registered.
The embodiment of the present application additionally provides a kind of client for servicing publication, and the client includes:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one A or multiple processors perform, and one or more of modules have following function:
The service list that registration center sends is received, the service list includes what one or more service providers provided The mark of one or more service;
The newer service list that registration center sends is received, the newer service list is being answered for the registration center During startup, after obtaining current service provider multiple remote procedure calls service to be released, treated described The RPC service of publication is grouped, and obtains N group RPC services, and when often issuing one group of RPC service, it is real to obtain the service provider When the first load value of system, and when first load value of system is more than default load threshold, by the service provider The RPC service currently issued carries out the list obtained after instead registering;
The newer service list is replaced into the service list.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
Embodiment of the disclosure can be implemented as System.Fig. 8 schematically shows the exemplary system 800 that can be used for realizing each embodiment described in the disclosure.
For one embodiment, Fig. 8 shows exemplary system 800, the system have one or more processors 802, It is coupled to the system control module (chipset) 804 of at least one of (one or more) processor 802, is coupled to and be The system storage 806 for control module 804 of uniting is coupled to the nonvolatile memory (NVM) of system control module 804/deposit Equipment 808 is stored up, one or more input-output apparatus 810 of system control module 804 is coupled to and is coupled to and is The network interface 812 for control module 806 of uniting.
Processor 802 may include one or more single or multiple core processors, processor 802 may include general processor or The arbitrary combination of application specific processor (such as graphics processor, application processor, Baseband processor etc.).In some embodiments, System 800 can be as the RPC service frame described in the embodiment of the present application.In other embodiments, system 800 being capable of conduct Any one of registration center in embodiment shown in FIG. 1 or other described embodiments.In other embodiments, system 800 can be used as service provider or service consumer.
In some embodiments, system 800 may include with instruction one or more computer-readable mediums (for example, System storage 806 or NVM/ storage devices 808) and mutually merge with the one or more computer-readable medium and be configured as Execute instruction performs the one or more processors 802 of the action described in the disclosure to realize module.
For one embodiment, system control module 804 may include any suitable interface controller, with to (one or It is multiple) at least one of processor 802 and/or any suitable equipment or component that communicate with system control module 804 carries For any suitable interface.
System control module 804 may include Memory Controller module, to provide interface to system storage 806.Storage Device controller module can be hardware module, software module and/or firmware module.
System storage 806 can be used for for example, system 800 and load and store data and/or instruction.For a reality Example is applied, system storage 806 may include any suitable volatile memory, for example, appropriate DRAM.In some embodiments In, system storage 806 may include four Synchronous Dynamic Random Access Memory of Double Data Rate type (DDR4SDRAM).
For one embodiment, system control module 804 may include one or more i/o controllers, with to NVM/ storage devices 808 and (one or more) input-output apparatus 810 provide interface.
For example, NVM/ storage devices 808 can be used for storing data and/or instruction.NVM/ storage devices 808 may include appointing Anticipating appropriate nonvolatile memory (for example, flash memory) and/or may include that any suitable (one or more) is non-volatile and deposits Equipment is stored up (for example, one or more hard disk drives (HDD), one or more CD (CD) drivers and/or one or more Digital versatile disc (DVD) driver).
NVM/ storage devices 808 may include a part for the equipment being physically mounted on as system 800 Storage resource or its can be accessed by the equipment and be not necessarily as the part of the equipment.For example, NVM/ storage devices 808 can lead to Network is crossed to access via (one or more) input-output apparatus 810.
(one or more) input-output apparatus 810 can be system 800 provide interface with other arbitrary appropriate equipment Communication, input-output apparatus 810 can include communication component, audio component, sensor module etc..Network interface 812 can be System 800 provides interfaces with by one or more network communications, system 800 can according to one or more wireless network standards and/ Or arbitrary standards in agreement and/or agreement carry out wireless communication, such as access come the one or more components with wireless network Wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof carry out wireless communication.
For one embodiment, at least one of (one or more) processor 802 can be with system control module 804 The logic of one or more controllers (for example, Memory Controller module) is packaged together.For one embodiment, (one Or multiple) at least one of processor 802 can be encapsulated in the logic of one or more controllers of system control module 804 Together to form system in package (SiP).For one embodiment, at least one of (one or more) processor 802 can It is integrated on same mold with the logic of one or more controllers of system control module 804.For one embodiment, (one It is a or multiple) at least one of processor 802 can integrate with the logic of one or more controllers of system control module 804 To form system on chip (SoC) on same mold.
In various embodiments, system 800 can be, but not limited to be:Distributed system, server, client, desk-top meter Calculate equipment or mobile computing device (for example, lap-top computing devices, handheld computing device, tablet computer, net book etc.).Each In a embodiment, system 800 can have more or fewer components and/or different frameworks.For example, in some embodiments, System 800 includes one or more video cameras, keyboard, liquid crystal display (LCD) screen (including touch screen displays), non-volatile Port memory, mutiple antennas, graphic chips, application-specific integrated circuit (ASIC) and loud speaker.
Wherein, if display includes touch panel, display screen may be implemented as touch screen displays, be used by oneself with receiving The input signal at family.Touch panel includes one or more touch sensors to sense the hand on touch, slide, and touch panel Gesture.The touch sensor can not only sense the boundary of a touch or slide action, but also detect and the touch or slip Operate relevant duration and pressure.
The embodiment of the present application additionally provides a kind of non-volatile readable storage medium, in the storage medium storage there are one or Multiple modules (programs) when the one or more module is used in terminal device, can cause the terminal device to perform The instruction (instructions) of various method steps in the embodiment of the present application.
With reference to figure 9, a kind of structure diagram of service delivery system embodiment of the application, service publication system are shown System can include registration center 901, service provider 902 and service consumer 903;
The service provider 902 determines multiple remote procedure call services to be released, and for the multiple RPC service generates registration request;
The registration center 901 based on the registration request that the server is sent, generates service list, and treat described The RPC service of publication is grouped, and obtains N group RPC services, and when often issuing one group of RPC service, it is real to obtain the service provider When the first load value of system;If first load value of system is more than default load threshold, the service provider is worked as The RPC service of preceding publication is counter to be registered;If first load value of system is less than or equal to default load threshold, under publication One group of RPC service;Update the service list;
The service consumer 903 receives the service list and newer service row that the registration center sends Table, and the newer service list is replaced into the service list.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present application can be provided as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present application is with reference to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that can flow chart and/or side be realized by computer program operational order The combination of flow in each flow and/or block and flowchart and/or the block diagram and/or box in block diagram.It can provide These computer program operational orders are at all-purpose computer, special purpose computer, Embedded Processor or other programmable datas The processor of terminal device is managed to generate a machine so that pass through computer or other programmable data processing terminal equipments The operational order generation that processor performs is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram Or the device for the function of being specified in multiple boxes.
These computer program operational orders, which may also be stored in, can guide computer or other programmable data processing terminals In the computer-readable memory that equipment works in a specific way so that the operation being stored in the computer-readable memory refers to The manufacture for generating and including operational order device is enabled, which realizes in one flow of flow chart or multiple flows And/or the function of being specified in one box of block diagram or multiple boxes.
These computer program operational orders can be also loaded into computer or other programmable data processing terminal equipments, So that series of operation steps are performed on computer or other programmable terminal equipments to generate computer implemented processing, from And the operational order offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or The step of function of being specified in one box of multiple flows and/or block diagram or multiple boxes.
Although the preferred embodiment of the embodiment of the present application has been described, those skilled in the art once know base This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to Including preferred embodiment and fall into all change and modification of the embodiment of the present application range.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
Method, apparatus, system, server and the client issued above to a kind of service provided herein carry out It is discussed in detail, the principle and implementation of this application are described for specific case used herein, above example Illustrate to be merely used to help understand the present processes and its core concept;Meanwhile for those of ordinary skill in the art, according to According to the thought of the application, there will be changes in specific embodiments and applications, in conclusion the content of the present specification It should not be construed as the limitation to the application.

Claims (22)

1. a kind of service delivery system, which is characterized in that the system comprises registration center, service provider and service consumptions Side;
The service provider determines multiple remote procedure call services to be released, and for the multiple RPC service Generate registration request;
The registration center based on the registration request that the server is sent, generates service list, and will be described to be released RPC service is grouped, and obtains N group RPC services, and when often issuing one group of RPC service, obtaining the service provider is in real time It unites the first load value;If first load value of system is more than default load threshold, the service provider is currently issued RPC service counter registered;If first load value of system is less than or equal to default load threshold, next group is issued RPC service;Update the service list;
The service consumer receives the service list and newer service list that the registration center sends, and will The newer service list replaces the service list.
2. a kind of method for servicing publication, applied to registration center, which is characterized in that the method includes:
During application program launching, current service provider multiple remote procedure call services to be released are obtained;
The RPC service to be released is grouped, obtains N group RPC services, wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system of the service provider is obtained;
If first load value of system is more than default load threshold, the RPC service that the service provider is currently issued It is counter to be registered;
If first load value of system is less than or equal to default load threshold, next group of RPC service is issued.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
After all service publications finish, the second load value of system of the service provider is obtained;
If second load value of system is more than default load threshold, to all announced institutes in the service provider There is service is counter to be registered.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
After silent preset time period, the system third load value of the service provider is obtained;
Load threshold is preset when the system third load value is less than or equal to, the anti-service registered is carried out again Registration.
5. according to claim 2-4 any one of them methods, which is characterized in that it is described often issue one group of RPC service when, obtain After the step of taking the service provider real-time the first load value of system, further include:
After the service provider registers one or more services, one or more services of the registration are added It is added in preset service list;
The service list is sent to service consumer.
6. if according to the method described in claim 5, it is characterized in that, first load value of system is more than default load Threshold value, then the step of RPC service that the service provider is currently issued being carried out and instead being registered, include:
If first load value of system is more than default load threshold, the service provider is received to the RPC that currently issues The anti-anti- registration request registered of service;
It is registered based on the anti-registration request is counter to corresponding RPC service.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
When the anti-registration that the service provider is serviced, the service list is updated, the update includes deleting Anti- corresponding service is registered except described;
Updated service list is sent to service consumer, to carry out the update of the service list of service consumer side.
8. if according to the method described in claim 2, it is characterized in that, first load value of system is less than or equal in advance If load threshold, then the step of issuing next group of RPC service, includes:
If first load value of system is less than or equal to default load threshold, it is next to receive being directed to for service provider transmission The posting request of group RPC service;
Based on the posting request, next group of RPC service is issued.
9. according to the method described in claim 2, it is characterized in that, described be grouped the RPC service to be released, obtain Include to the step of N group RPC services:
Read service packet strategy preset in configuration file;
The RPC service to be released is grouped according to the service packet strategy, obtains corresponding N groups service.
10. according to the method described in claim 2, it is characterized in that, described when often issuing one group of RPC service, the clothes are obtained The step of business provider's real-time the first load value of system, includes:
When often issuing one group of RPC service, it is negative to obtain the real-time system first of current service provider by reading specified file Load value.
11. a kind of method for servicing publication, applied to service provider, which is characterized in that the method includes:
During application starts, multiple remote procedure call services to be released are determined;
For the multiple RPC service, registration request is sent to registration center, the registration center is used for please based on the registration It asks, the RPC service to be released is grouped, obtain N group RPC services, wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system is obtained;
If first load value of system is more than default load threshold, anti-registration request is sent to the registration center, it is described Registration center is used to be based on the anti-registration request, and the RPC service that the service provider is currently issued is counter to be registered;
If first load value of system is less than or equal to default load threshold, next group of RPC is sent to the registration center The posting request of service, the registration center are used to, based on the posting request, issue next group of RPC service.
12. according to the method for claim 11, which is characterized in that further include:
After all service publications finish, the second load value of system is obtained;If second load value of system is more than preset negative Threshold value is carried, then sends out the anti-de-registration request for registering all services to registration center, the registration center is used for based on the cancellation Request, it is counter to all announced all services in the service provider to be registered.
13. according to the method for claim 12, which is characterized in that further include:
After silent preset time period, the system third load value of the service provider is obtained;
Load threshold is preset when the system third load value is less than or equal to, then is sent out to registration center and re-registers request, Registration center to be asked to re-register the anti-service registered.
14. a kind of newer method of service, applied to service consumer, which is characterized in that including:
The service list that registration center sends is received, the service list includes one that one or more service providers provide Or the mark of multiple services;
The newer service list that registration center sends is received, the newer service list is opened for the registration center in application It, will be described to be released after obtaining current service provider multiple remote procedure calls service to be released in dynamic process RPC service be grouped, obtain N group RPC services, when often issuing one group of RPC service, it is real-time to obtain the service provider The first load value of system, and when first load value of system is more than default load threshold, the service provider is current The RPC service of publication carries out the list obtained after instead registering;
The newer service list is replaced into the service list.
15. a kind of device for servicing publication, which is characterized in that described device includes:
Service acquisition module to be released, for during application program launching, it is to be released to obtain current service provider Multiple remote procedure call services;
Service packet module for the RPC service to be released to be grouped, obtains N group RPC services, and wherein N is just whole Number;
System load acquisition module during for often issuing one group of RPC service, obtains the real-time system first of the service provider Load value;
Anti- registration module, for when first load value of system is more than default load threshold, the service provider to be worked as The RPC service of preceding publication is counter to be registered;
Successively release module, for when first load value of system is less than or equal to default load threshold, issuing next group RPC service.
16. a kind of device for servicing publication, which is characterized in that described device includes:
Service determining module to be released during starting in application, determines multiple remote procedure calls to be released Service;
For being directed to the multiple RPC service, registration request, the registration are sent to registration center for registration request sending module Center is used to, based on the registration request, the RPC service to be released be grouped, obtain N group RPC services, wherein N is Positive integer;
System load determining module during for often issuing one group of RPC service, obtains real-time the first load value of system;
Anti- registration request sending module, for when first load value of system is more than default load threshold, to the registration Center sends anti-registration request, and the registration center is used to, based on the anti-registration request, the service provider currently be sent out The RPC service of cloth is counter to be registered;
Posting request sending module, for when first load value of system is less than or equal to default load threshold, to described Registration center sends the posting request of next group of RPC service, and the registration center is used to, based on the posting request, issue next Group RPC service.
17. a kind of newer device of service, which is characterized in that including:
Service list receiving module, for receiving the service list of registration center's transmission, the service list includes one or more The mark of one or more services that a service provider provides;
List reception module is updated, for receiving the newer service list of registration center's transmission, the newer service list Be the registration center during application starts, obtain current service provider multiple remote procedure calls to be released After RPC service, the RPC service to be released is grouped, obtains N group RPC services, when often issuing one group of RPC service, Real-time the first load value of system of the service provider is obtained, and is more than default load threshold in first load value of system When, the RPC service that the service provider is currently issued is subjected to the list obtained after instead registering;
List update module, for the newer service list to be replaced the service list.
18. a kind of system for servicing publication, which is characterized in that the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules be stored in the memory and be configured to by one or Multiple processors perform, and one or more of modules have following function:
During application program launching, current service provider multiple remote procedure call services to be released are obtained;
The RPC service to be released is grouped, obtains N group RPC services, wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system of the service provider is obtained;
If first load value of system is more than default load threshold, the RPC service that the service provider is currently issued It is counter to be registered;
If first load value of system is less than or equal to default load threshold, next group of RPC service is issued.
19. a kind of server for servicing publication, which is characterized in that the server includes:
One or more processors;
Memory;With
One or more modules, one or more of modules be stored in the memory and be configured to by one or Multiple processors perform, and one or more of modules have following function:
During application starts, multiple remote procedure call services to be released are determined;
For the multiple RPC service, registration request is sent to registration center, the registration center is used for please based on the registration It asks, the RPC service to be released is grouped, obtain N group RPC services, wherein N is positive integer;
When often issuing one group of RPC service, real-time the first load value of system is obtained;
If first load value of system is more than default load threshold, anti-registration request is sent to the registration center, it is described Registration center is used to be based on the anti-registration request, and the RPC service that the service provider is currently issued is counter to be registered;
If first load value of system is less than or equal to default load threshold, next group of RPC is sent to the registration center The posting request of service, the registration center are used to, based on the posting request, issue next group of RPC service.
20. a kind of client for servicing publication, which is characterized in that the client includes:
One or more processors;
Memory;With
One or more modules, one or more of modules be stored in the memory and be configured to by one or Multiple processors perform, and one or more of modules have following function:
The service list that registration center sends is received, the service list includes one that one or more service providers provide Or the mark of multiple services;
The newer service list that registration center sends is received, the newer service list is opened for the registration center in application It, will be described to be released after obtaining current service provider multiple remote procedure calls service to be released in dynamic process RPC service be grouped, obtain N group RPC services, when often issuing one group of RPC service, it is real-time to obtain the service provider The first load value of system, and when first load value of system is more than default load threshold, the service provider is current The RPC service of publication carries out the list obtained after instead registering;
The newer service list is replaced into the service list.
21. a kind of device, which is characterized in that including:
One or more processors;With
Instruction in the one or more computer-readable mediums stored thereon, when being performed by one or more of processors, Described device is caused to perform such as claim 1-9,10-12,13 method.
22. one or more computer-readable mediums, are stored thereon with instruction, when executed by one or more processors, make Obtain claim 1-9,10-12,13 method that terminal device performs.
CN201611099694.4A 2016-12-01 2016-12-01 Service publishing method, device, system, server and client Active CN108134766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611099694.4A CN108134766B (en) 2016-12-01 2016-12-01 Service publishing method, device, system, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611099694.4A CN108134766B (en) 2016-12-01 2016-12-01 Service publishing method, device, system, server and client

Publications (2)

Publication Number Publication Date
CN108134766A true CN108134766A (en) 2018-06-08
CN108134766B CN108134766B (en) 2020-12-18

Family

ID=62387797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611099694.4A Active CN108134766B (en) 2016-12-01 2016-12-01 Service publishing method, device, system, server and client

Country Status (1)

Country Link
CN (1) CN108134766B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636304A (en) * 2018-10-29 2019-04-16 浙江口碑网络技术有限公司 Dissemination method and device, storage medium, the electronic device of operation system
CN111045833A (en) * 2018-10-15 2020-04-21 北京京东尚科信息技术有限公司 Interface calling method and device
CN111240760A (en) * 2020-01-08 2020-06-05 江苏满运软件科技有限公司 Application publishing method, system, storage medium and equipment based on registry
CN112099921A (en) * 2020-09-27 2020-12-18 中国建设银行股份有限公司 Java application system preheating method and system based on JVM
CN112243024A (en) * 2020-09-17 2021-01-19 北京金山云网络技术有限公司 Service control method, device, server and storage medium
CN112449005A (en) * 2020-11-11 2021-03-05 北京健康之家科技有限公司 Request distribution method and device, electronic equipment and readable storage medium
CN112463408A (en) * 2020-11-26 2021-03-09 北京达佳互联信息技术有限公司 Method and device for starting remote procedure call service, server and storage medium
CN113064596A (en) * 2021-04-01 2021-07-02 广州虎牙科技有限公司 Event registration method, compiling method and device of application program and electronic equipment
CN113765870A (en) * 2020-09-01 2021-12-07 北京沃东天骏信息技术有限公司 Remote service calling method, device and system
CN113821351A (en) * 2020-11-05 2021-12-21 北京京东乾石科技有限公司 Remote procedure calling method and device, readable storage medium and electronic equipment
CN115002194A (en) * 2022-05-25 2022-09-02 中国工商银行股份有限公司 Management method and related device for microservice

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094224A (en) * 2006-06-22 2007-12-26 华为技术有限公司 Method and system of providing services, access services, logging in and out services
US20110107358A1 (en) * 2009-10-30 2011-05-05 Symantec Corporation Managing remote procedure calls when a server is unavailable
CN102571550A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 General information interaction platform and method
CN105141452A (en) * 2015-08-07 2015-12-09 北京思特奇信息技术股份有限公司 High-performance service system and method based on CXF
CN105573842A (en) * 2015-12-21 2016-05-11 北京奇虎科技有限公司 Method and device for achieving process recycling in application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094224A (en) * 2006-06-22 2007-12-26 华为技术有限公司 Method and system of providing services, access services, logging in and out services
US20110107358A1 (en) * 2009-10-30 2011-05-05 Symantec Corporation Managing remote procedure calls when a server is unavailable
CN102571550A (en) * 2010-12-30 2012-07-11 北京亿阳信通软件研究院有限公司 General information interaction platform and method
CN105141452A (en) * 2015-08-07 2015-12-09 北京思特奇信息技术股份有限公司 High-performance service system and method based on CXF
CN105573842A (en) * 2015-12-21 2016-05-11 北京奇虎科技有限公司 Method and device for achieving process recycling in application

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045833A (en) * 2018-10-15 2020-04-21 北京京东尚科信息技术有限公司 Interface calling method and device
CN111045833B (en) * 2018-10-15 2024-06-18 北京京东尚科信息技术有限公司 Interface calling method and device
CN109636304A (en) * 2018-10-29 2019-04-16 浙江口碑网络技术有限公司 Dissemination method and device, storage medium, the electronic device of operation system
CN111240760A (en) * 2020-01-08 2020-06-05 江苏满运软件科技有限公司 Application publishing method, system, storage medium and equipment based on registry
CN111240760B (en) * 2020-01-08 2022-09-16 江苏满运软件科技有限公司 Application publishing method, system, storage medium and equipment based on registry
CN113765870B (en) * 2020-09-01 2023-09-05 北京沃东天骏信息技术有限公司 Remote service calling method, device and system
CN113765870A (en) * 2020-09-01 2021-12-07 北京沃东天骏信息技术有限公司 Remote service calling method, device and system
CN112243024B (en) * 2020-09-17 2022-05-06 北京金山云网络技术有限公司 Service control method, device, server and storage medium
CN112243024A (en) * 2020-09-17 2021-01-19 北京金山云网络技术有限公司 Service control method, device, server and storage medium
CN112099921B (en) * 2020-09-27 2024-07-23 中国建设银行股份有限公司 Java application system preheating method and system based on JVM
CN112099921A (en) * 2020-09-27 2020-12-18 中国建设银行股份有限公司 Java application system preheating method and system based on JVM
CN113821351A (en) * 2020-11-05 2021-12-21 北京京东乾石科技有限公司 Remote procedure calling method and device, readable storage medium and electronic equipment
CN113821351B (en) * 2020-11-05 2024-07-16 北京京东乾石科技有限公司 Remote procedure call method and device, readable storage medium and electronic equipment
CN112449005A (en) * 2020-11-11 2021-03-05 北京健康之家科技有限公司 Request distribution method and device, electronic equipment and readable storage medium
CN112449005B (en) * 2020-11-11 2023-11-17 北京水滴科技集团有限公司 Request distribution method, request distribution device, electronic equipment and readable storage medium
CN112463408A (en) * 2020-11-26 2021-03-09 北京达佳互联信息技术有限公司 Method and device for starting remote procedure call service, server and storage medium
CN112463408B (en) * 2020-11-26 2024-09-20 北京达佳互联信息技术有限公司 Method and device for starting remote procedure call service, server and storage medium
CN113064596B (en) * 2021-04-01 2024-04-19 广州虎牙科技有限公司 Event registration method, compiling method and device of application program, and electronic equipment
CN113064596A (en) * 2021-04-01 2021-07-02 广州虎牙科技有限公司 Event registration method, compiling method and device of application program and electronic equipment
CN115002194A (en) * 2022-05-25 2022-09-02 中国工商银行股份有限公司 Management method and related device for microservice

Also Published As

Publication number Publication date
CN108134766B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN108134766A (en) A kind of method, apparatus, system, server and client for servicing publication
CN108510389B (en) Intelligent contract calling method and device based on block chain and readable storage medium
US8356274B2 (en) System and methods to create a multi-tenancy software as a service application
US8806655B1 (en) Providing limited versions of applications
US8745242B2 (en) Cloud computing roaming services
US11175796B2 (en) Menu management method, server, and system
US9722886B2 (en) Management of cloud provider selection
US20140344123A1 (en) Dynamically modifying workload patterns in a cloud
CN110192182A (en) Dynamic and the processing of dedicated virtualizing graphics
CN105631035B (en) Date storage method and device
CN109474522A (en) The method, apparatus and storage medium of business routing
US11347561B1 (en) Core to resource mapping and resource to core mapping
CN107800814B (en) Virtual machine deployment method and device
KR20180038515A (en) Graphical processing virtualization on the provider network
CN114265648B (en) Code scheduling method, server, client and system for acquiring remote desktop
CN109086136A (en) A kind of request processing method and relevant apparatus of Samba software
CN108156208A (en) A kind of dissemination method of application data, device and system
CN112235132A (en) Method, device, medium and server for dynamically configuring service
US20110321044A1 (en) Client hypervisor-based terminal device and operating method thereof
JP2010272090A (en) Device, program and method for managing processing request destination
CN116360918A (en) Modeling data processing method, modeling data processing device, computer equipment and storage medium
JP7182836B2 (en) Automatic Diagonal Scaling of Workloads in Distributed Computing Environments
CN109102200B (en) Timed task processing method and device
US8650533B2 (en) Management of variants of an enterprise process
CN109753353A (en) Resources of virtual machine distribution method, device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant