arcgis rest services performance

861
1
Jump to solution
06-30-2020 07:10 AM
MRReddy
Occasional Contributor

acgis 10.8

I have six services with table in it, no layers.

I'm looking to combine six services into one service with six tables.

performance wise will there a difference?

Now:

https://domain.com/rest/services/service1/MapServer/0  --table1

https://domain.com/rest/services/service2/MapServer/0 --table2

https://domain.com/rest/services/service3/MapServer/0 --table3

https://domain.com/rest/services/service4/MapServer/0  -- table4

https://domain.com/rest/services/service5/MapServer/0  --table5

https://domain.com/rest/services/service6/MapServer/0 --table6 

Trying to 

https://domain.com/rest/services/Service1/MapServer/0  --table1

https://domain.com/rest/services/Service1/MapServer/1  --table2

https://domain.com/rest/services/Service1/MapServer/2  --table3

https://domain.com/rest/services/Service1/MapServer/3  --table4

https://domain.com/rest/services/Service1/MapServer/4  --table5

https://domain.com/rest/services/Service1/MapServer/5  --table6

Thanks

0 Kudos
1 Solution

Accepted Solutions
BenTurrell
Occasional Contributor III

Hey MR Reddy‌,

Are you using shared instances? Configure service instance settings—ArcGIS Server Administration (Windows) | Documentation for ArcGI... 

The answer to your question is maybe and it is a hard one to answer easily.

If you are using pooling and have a minimum for each service then you will be using a small amount of ram for each service. By combining all these into one service you reduce the overal number of minimum socs that you have to run. This would reduce the overall amount of RAM you need to allocate to the server. You will likely need to increase the number of maximum socs so that users don't end up waiting for a soc.

Now each soc when running and not servicing a request utilises around ~140MB of RAM. So reducing the 6 down to 1 service with 2 or 3 minimum socs running will save you a few hundred Mb of RAM. You just need to be careful your services don't get over subscribed. If you combine the 6 into one service and lots of people use one of the tables more heavily it will take impact on the user experience.

Happy to discuss further!

Thanks,

Ben


If this answer was helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.

View solution in original post

1 Reply
BenTurrell
Occasional Contributor III

Hey MR Reddy‌,

Are you using shared instances? Configure service instance settings—ArcGIS Server Administration (Windows) | Documentation for ArcGI... 

The answer to your question is maybe and it is a hard one to answer easily.

If you are using pooling and have a minimum for each service then you will be using a small amount of ram for each service. By combining all these into one service you reduce the overal number of minimum socs that you have to run. This would reduce the overall amount of RAM you need to allocate to the server. You will likely need to increase the number of maximum socs so that users don't end up waiting for a soc.

Now each soc when running and not servicing a request utilises around ~140MB of RAM. So reducing the 6 down to 1 service with 2 or 3 minimum socs running will save you a few hundred Mb of RAM. You just need to be careful your services don't get over subscribed. If you combine the 6 into one service and lots of people use one of the tables more heavily it will take impact on the user experience.

Happy to discuss further!

Thanks,

Ben


If this answer was helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.