Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Storage Simulator performance issues

I am trying to setup a windows server to be my on-premises server. I was able to overcome the connection issues (the Computer Emulator only listens to 127.0.0.1), and now I face a new, more difficult problem.

Writing to the local BLOB storage takes a very long time.

I wrote a simple "hello world" ASP.NET Web Role that writes a random file to a Queue and to a BLOB. The web role runs on the same machine with the storage emulator. Writing to the Queue is fairly fast, but the BLOB is a completely different story.

Writing to the BLOB made my web role work 50 times slower(!).

Using the exact same code against the cloud storage made it work much faster. This tells me that the problem definitely lies in using the local storage emulator.

Does anyone have an idea how to boost the storage emulator's performance?

Thank you for your time, Elad

like image 220
Elad Avatar asked Dec 21 '10 14:12

Elad


People also ask

What type of storage offers the lowest latency in Azure?

Azure Storage offers two different performance options for block blobs: premium and standard. Premium block blobs offer significantly lower and more consistent latency than standard block blobs via high-performance SSD disks.

What is the advantage of using transaction optimized storage for Azure file storage?

Transaction optimized file shares enable transaction heavy workloads that don't need the latency offered by premium file shares with consistent latency. Transaction optimized file shares are a great fit for applications that require file storage or for backend storage.

How do you stop azurite?

Azurite (installed with npm) currently can only be stop by send Ctrl+c.

What is azurite Azure?

Azurite is the future storage emulator platform. Azurite supersedes the Azure Storage Emulator. Azurite will continue to be updated to support the latest versions of Azure Storage APIs. There are several different ways to install and run Azurite on your local system.


1 Answers

Congratulations on getting the server to work on premises, that always seemed like too much hard work to me. As you've gone to all of that effort I'm presuming that it's to avoid paying for compute instances in the cloud while you develop or test.

I apologise in advance that I'm not actually going to answer your question about how to speed up development storage. This is because development storage and I really just don't get along. It's pretty close to what you get from actual cloud storage, but the differences can be significant enough to cause problems if you develop against development storage then switch to the real thing.

In short, I'd say just ignore dev storage and connect straight to the cloud even though you're running locally. This will have a cost associated with it, but in my experience the costs for storage are really quite small. $5 per month will go a long way.

like image 100
knightpfhor Avatar answered Sep 30 '22 16:09

knightpfhor