4: How do I reduce API latency and increase throughput?
If you would like to cut down the latency of API requests, or improve throughput, you can try some of the following tips:
For queries against resources that support paging, try using the ".nocount" parameter and set it to true. For example
Doing so will remove the "count," "first," and "last" attributes from the API response. However, the API will require one less query against the underlying data source, yielding a lower latency.
Consider using Summary resources if they report all the information you need. API latency can be reduced by using resources that return more limited sets of information. For instance, if you wish to get the IP addresses of clients, then Client Summary will report the data you need faster than Client Details.
Use larger page sizes for resources that support paging. While it might seem counter-intuitive, most of the performance costs paid by the API are on a per-request basis, not a per-record basis. By increasing page sizes, you can reduce the overall number of requests and increase your overall throughput.
5: Is there a Sandbox available for Prime Infrastructure on DevNet?
At this time we don't have a Prime Infrastructure sandbox available. However, Prime Infrastructure does come with an out-of-the-box evaluation license that you can use for API testing and development
6. Is the Prime Infrastructure REST API supported by TAC?
When TAC is contacted regarding the Prime REST API, the customers will be directed to appropriate support forums. Here is the link for DevNet community forum Prime Infrastructure Also , Prime Infrastructure REST API related queries can be sent to email@example.com which is checked regularly by customer support engineers, product managers, and developers that work on Prime Infrastructure.
7: What is the link for Prime Infrastructure Trial download?
Hello All 1. What is the best way to pull # of connections per last 24 hours?It took 3-4 hours to get everything out of "/v3/data/HistoricalClientCounts.json?.full=true&id=gt(target)&.maxResults=1000" using paged request. I can alter th...
I am trying to create and run the openconfig script which is shown as a sample in DevNet tutorial NETCONF/YANG on Nexus Part 3: Using OpenConfig YANG Models on Nexus Switches. The file as an example is add_oc_loopback.py. The file contents are :...
Hi, Any idea how to achieve the following:1. WAN QoS change2. WAN link relocation3. WAN link bandwidth upgrade or downgrade4. WAN routes advertisement or de-advertisement Using Viptela APIs:https://sdwan-docs.cisco.com/Product_Documentatio...
Ok, so Im just trying to get APIC-EM running and I keep running into this issue no matter what i do.I've attached a net diagram to clarify...Currently running APIC-EM Version 220.127.116.11024. The issue I have is that I can find one device and it won...
I have a 2960x-48LPS-L switch I connected to the console cable The first command I tried to enter was the switch hang for a few seconds and I encountered a pnp discovery error.There is a new switch I had just opened my boxDoes anyone know what the problem...