What are the expected performance characteristics of an Azure Function App in Consumption mode? [closed] - performance

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
What are the expected performance characteristics of an Azure Function App in Consumption mode?
I was going to ask ... How can you carry out realistic testing of an Azure Function App?
A person in the team knocked together a Perl script that forked off and called our Function App to very crudely simulate the sort of load we're hoping to cope with, e.g. starting with say 150,000 users, calling 10 time a second
The script was running on a very beefy VM running over in Google
Things started Ok with lower numbers, but very quickly we started getting timeouts
We must be doing something "wrong", as I sort of assume that Function App's can cope with this sort of load ... but what?
... and can they cope with this load in Consumption Plan mode?

You can look into ARR-Affinity cookies and see if it is causing scaling problems.
When I was performing some load testing with my function I noticed all the traffic was only going to one instance, and it turned out to be a problem with AAR-Affinity cookies. The load client was being directed back to the same function instance for every request, so it was not scaling out to meet the demand.
You can disable this behavior to see if you get better scaling behavior.
https://blogs.msdn.microsoft.com/appserviceteam/2016/05/16/disable-session-affinity-cookie-arr-cookie-for-azure-web-apps/
or adding this response header.
Headers.Add("Arr-Disable-Session-Affinity", "True");

Related

How do I recover data after factory reset on Windows 10 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
A friend of mine factory reset her computer on Windows 10, and lost an important document, so I'm wondering if there is a way for her to get it back, any help is useful.
I realize that a factory reset sets the computer back to it's original state of when it was first purchased, but I'm just curious if there are any free or cheap options available, besides going to a recover specialist.
Any advice would be nice - thanks!
Download the free version of Piriform Recuva. It is something I have used before for basic file recovery, and I don't know of a simpler GUI tool for Windows. Simply follow the instructions of this tutorial, or search for a simple video tutorial on YouTube if that is insufficient.
To maximize your chances of recovery reduce the amount of writes to the drive- setting it to read-only for example. Avoiding doing anything else while you attempt to recover the files is critical, newer files may silently destroy whatever is left of the older data. If at all possible you should attempt to boot from a drive or disk that doesn't contain the erased data, but if that is not possible/not something you know how to do then you may still be able to recover the data by booting the computer normally.

How to Manage capacity using Trello? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
We started to play with Trello to manage our manufacturing process. Great tool and we want to keep using it. But we are missing one functionality .
We want every agent to log monthly capacity that will be reduced every day and to have some report that will show how much load we already assigned to this individual. (To be able to plan how much work we can take more and estimate when we can deliver new coming order)
Is it possible to achieve somehow in Trello? We can install additional plugins if required. Or we should look at different options?
According to Trello documentation, there are some available options for this case;
Burndown for Trello
Harvest Chrome Extentation
Hubstaff
Timecamp Chrome Extantation
Reports for Trello
Plus for Trello Chrome Extension
For the whole list, you can visit here

Unexplicable increase in page load time [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'll try to be as brief as possible;
My page load time increased 40% and I don't know why, in the atttached image you have the before and after loading times, plus the waterfall view for both the first and the repeated view.
The setup: LNMP VPS, opcache, memcache, joomla with T3 framework template, using joomla file caching
I did the following changes (unfortunately I didn't think about testing after each individual change):
-upgraded to the latest joomla, template, and template engine
-compressed images
-upgraded to PHP 7 (from 5.6)
-everything else is the same, including using the same server for testing and having the same server load
The only explanation I can come up with is that the provider is overloading their servers, making my VPS slower.
Please feel free to write any insight/ideas you have.
Thanks!
Screenshots from webpagetest.org
After extensive testing on various other platforms, using the same setup (I even copy-pasted the config files for php, php-fpm, mysql, etc) I found out that the issue was the hosting company which seems to be overselling.
Using different but identically specced hosting the page now has a first view load time of ~0,9s.

Cloud performance vs Desktop [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have developed an app to analyze videos using OpenCV and Visual Studio 2013. I was planning to run this app in the Azure assuming that it will run faster in cloud. However, to my surprise, the app ran slower than my desktop, taking about twice the time when I configured the Azure instance with 8 cores. It is a 64-bit app, compiled with appropriate compiler optimization. Can someone help me understand why am I losing time in the cloud, and is there a way to improve the timing there?
The app takes as input a video (locally in each case) and outputs a flat file with the analysis data.
I am not sure why people are voting to close this question. This is very much about programming and if possible, please help me in pinpointing the problem.
There is only going to be 3 reasons for this
Disk IO speed
CPU Speed
Memory Speed
Taking a look here you can see someone who actually checked the performance of on premise to cloud: Azure compute power: Extra Large VM slow
Basically the Ghz is most likely slower (around 1.6) and disk IO speed, while local, is normally capped at 300 or 500 IOPS, which is only just higher than 15k rpm drives and no where near SSD level.
I am not sure on memory speed. While you can keep adding cores, most programs, even ones optimized for multiple cores, have a lot of dependencies on single threads, hence slowing the whole operation down. Increased Ghz is what can make a large difference.

How do you prevent access to the 'calculator' interface on a particular OS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
How do you prevent access to the 'calculator' interface on a particular OS (say Windows). We would want to avoid usage of calculators while taking an online quiz at the site. Is this even possible?
If you're talking about through a purely web interface, then no. In order to do this, you would have to be able to monitor running processes, which is something a web app can't do. It would be too big a security risk.
If you control the machines (they're on your network, in a classroom where you can load and restrict the software, etc), you could write a program to monitor and shut down the processes. For example, a .NET application could use the System.Diagnostocs.Process object to monitor for instances of calc.exe.
A standard executable could do it, but not a web app.
Edit Added
There may be other alternatives if you control the PCs in question. Most corporate IT shops use some sort of monitoring software that will detect the use of "Unauthorized" programs. (I got busted for launching Solitaire once.) That would be more of a question for ServerFault.com, however.
Do you think it would be a good idea if websites were able to stop executable running on remote computers? Think about this seriously for a second, the security/privacy implications this would have.

Resources