How many routers and message processors are used by default in apigee public cloud?

Not applicable

This seems like I should be able to find the answer in the docs easily, but I have spent some time searching and haven't found it yet.

Is the default 2? Can it be configured?

Thanks,

Nathan

Solved Solved
0 2 1,833
1 ACCEPTED SOLUTION

Hi @nathanwright,

The number of MPs and ROs varies, typically its 2 each but you can't count on that. In a production environment this will vary with auto-scaling.

You can use the management APIs to check the deployments for an existing proxy and then count the message-processors.

See the management APIs here for more: https://docs.apigee.com/api/deployments

For example:

GET {{MGMTSVR}}/v1/o/{{ORG}}/apis/PROXY-NAME/deployments


{
    "environment": [
        {
            "name": "prod",
            "revision": [
                {
                    "configuration": {
                        "basePath": "/",
                        "steps": []
                    },
                    "name": "60",
                    "server": [
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "ad936597-3b97-42c6-a56e-eb1cc50897ec"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "bc6712d2-16cb-43f5-b3fa-f67f5c2fd599"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "61098278-97a2-414b-8412-2ff8c027435f"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "ced1500c-0996-4a20-8216-27715adb75ea"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "router"
                            ],
                            "uUID": "71a8a0d7-4f95-40d9-9d47-9143ad808b85"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "router"
                            ],
                            "uUID": "06827fa9-ba0b-4d54-9250-27225ffb49f6"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "router"
                            ],
                            "uUID": "cfac9b89-48a7-4635-868f-c2c7827d172e"
                        }
                    ],
                    "state": "deployed"
                }
            ]
        },
...

View solution in original post

2 REPLIES 2

Hi @nathanwright,

The number of MPs and ROs varies, typically its 2 each but you can't count on that. In a production environment this will vary with auto-scaling.

You can use the management APIs to check the deployments for an existing proxy and then count the message-processors.

See the management APIs here for more: https://docs.apigee.com/api/deployments

For example:

GET {{MGMTSVR}}/v1/o/{{ORG}}/apis/PROXY-NAME/deployments


{
    "environment": [
        {
            "name": "prod",
            "revision": [
                {
                    "configuration": {
                        "basePath": "/",
                        "steps": []
                    },
                    "name": "60",
                    "server": [
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "ad936597-3b97-42c6-a56e-eb1cc50897ec"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "bc6712d2-16cb-43f5-b3fa-f67f5c2fd599"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "61098278-97a2-414b-8412-2ff8c027435f"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "message-processor"
                            ],
                            "uUID": "ced1500c-0996-4a20-8216-27715adb75ea"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "router"
                            ],
                            "uUID": "71a8a0d7-4f95-40d9-9d47-9143ad808b85"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "router"
                            ],
                            "uUID": "06827fa9-ba0b-4d54-9250-27225ffb49f6"
                        },
                        {
                            "status": "deployed",
                            "type": [
                                "router"
                            ],
                            "uUID": "cfac9b89-48a7-4635-868f-c2c7827d172e"
                        }
                    ],
                    "state": "deployed"
                }
            ]
        },
...

Thanks, @Kurt Kanaskie