This post explains some of the not so well-known features and configurations settings of the Azure App Service deployment slots. These can be used to modify the swap logic as well as to improve the application availability during and after the swap. Here is what you can do with them:
- Gregtech Automate Machines With Multiple Slots Machines
- Gregtech Automate Machines With Multiple Slots No Deposit
GregTech 6 has hundreds of ores and more than a dozen types of stone to harvest. Some types of stone are themselves ores, or are valuable resources in their own right. This guide covers all of the different goods a GregTech 6 player can find in or beneath the earth. 1 Stones 1.1 Rock Ores 1.2 Soft Earth 2 Ores 2.1 Small Ores 2.2 Mix Veins 2.3 Ore Layers 2.4 Bedrock Ores GregTech 6 adds several. GregTech is a mod for Minecraft that expands upon, and increases the effective difficulty of, Industrial Craft 2, and if installed, BuildCraft and/or Forestry. GregTech changes a large number of recipes, both Vanilla and from other mods, on top of additional items and mechanics being supplied by GregTech. Because GregTech is capable of referencing items from multiple.
Swap based on the status code
During the swap operation the site in the staging slot is warmed up by making an HTTP request to its root directory. More detailed explanation of that process is available at How to warm up Azure Web App during deployment slots swap. By default the swap will proceed as long as the site responds with any status code. However, if you prefer the swap to not proceed if the application fails to warm up then you can configure it by using these app settings:
WEBSITE_SWAP_WARMUP_PING_PATH
: The path to make the warm up request to. Set this to a URL path that begins with a slash as the value. For example, “/warmup.php”. The default value is /.WEBSITE_SWAP_WARMUP_PING_STATUSES
:Expected HTTP response codes for the warm-up operation. Set this to a comma-separated list of HTTP status codes. For example: “200,202” . If the returned status code is not in the list, the swap operation will not complete. By default, all response codes are valid.
You can mark those two app setting as “Slot Settings” which would make them remain with the slot during the swap. Or you can have them as “non-sticky” settings meaning that they would move with the site as it gets swapped between slots.
Minimize random cold starts
In some cases after the swap the web app in the production slot may restart later without any action taken by the app owner. This usually happens when the underlying storage infrastructure of Azure App Service undergoes some changes. When that happens the application will restart on all VMs at the same time which may result in a cold start and a high latency of the HTTP requests. While you cannot control the underlying storage events you can minimize the effect they have on your app in the production slot. Set this app setting on every slot of the app:
WEBSITE_ADD_SITENAME_BINDINGS_IN_APPHOST_CONFIG
: setting this to “1” will prevent web app’s worker process and app domain from recycling when the App Service’s storage infrastructure gets reconfigured.
The only side effect this setting has is that it may cause problems when used with some Windows Communication Foundation (WCF) application. If you app does not use WCF then there is no downside of using this setting.
Control SLOT-sticky configuration
Originally when deployment slots functionality was released it did not properly handle some of the common site configuration settings during swap. For example if you configured IP restrictions on the production slot but did not configure that on the staging slot and then performed the swap you would have had the production slot without any IP restrictions configuration, while the staging slot had the IP restrictions enabled. That did not make much sense so the product team has fixed that. Now the following settings always remain with the slot:
- IP Restrictions
- Always On
- Protocol settings (Https Only, TLS version, client certificates)
- Diagnostic Log settings
- CORS
If however for any reason you need to revert to the old behavior of swapping these settings then you can add the app setting WEBSITE_OVERRIDE_PRESERVE_DEFAULT_STICKY_SLOT_SETTINGS
to every slot of the app and set its value to “0” or “false”.
swap Diagnostics detector
If a swap operation did not complete successfully for any reason you can use the diagnostics detector to see what has happened during the swap operation and what caused it to fail. To get to it use the “Diagnose and solve problems” link in the portal:
From there click on “Check Swap Operations” which will open a page showing all the swaps performed on the webapp and their results. It will include possible root causes for the failures and recommendations on how to fix them.
This article is part of the Feed The Beast Wiki's Tutorials section. |
This Tutorial is a synopsis on how to get started building an Automated Ore Processing Facility using machines and transport systems from popular Mods. Although some Mods are easier to automate than others, automation is most commonly done with Itemducts, BuildCraft pipes and sometimes RedPower 2 tubes. A typical automated system will easily handle the influx of materials sent from an Automated Miner. Using automated ore processing machines increases the ratio of Ore to Ingot and/ or speed up the process.
Whatever the Mod a Player chooses to use to build his Facility, the first step is to set up a diversion for unwanted items such as Dirt and Cobblestone using chests or other storage with an overflow to a Void Transport Pipe or Trash Can. This will avoid stuffing the Itemducts and reduce lag especially when using a transparent transport system.
To transport Items from the dig site to be processed, consider using a Tesseract, a railway system or even Steve's Factory Manager amongst many possibilities.
When setting up an Ore Processing Facility allow ample space for each machines to avoid cramped areas, especially when using BC Transport Pipes.
Optionally, a Player may want to automate crafting Ingots into Blocks using Auto Workbenchs to reduce the amount of storage needed. An easily expandable set-up for this is a double row of Workbench with Hoppers underneath and a row of Itemduct in between, the Itemduct will deliver the Ingots to the appropriate Workbench and the hoppers pass on to each other the resulting Blocks to an Itemduct.
- 1Thermal Expansion
- 1.2Induction Smelter
Thermal Expansion[edit]
Thermal Expansion offers an easy to build processing system, the machines are the easiest to configure and automate. Using Itemduct to transport materials to Machines is ideal, preferably Opaque to reduce lag. A buffer inventory in the form of a chest and Hopper to feed the Machines will avoid stuffing the Itemduct or clogging up a BC Pipe system.
These Machines are optimized for automation as the sides are easily configured using a simple colour-coded system. Primary and Secondary Input and/or Output may be combined. Furthermore the Machines have built in output pumps that ejects to transport systems and may be placed directly next to each other as long as the sides are properly configured.
The list of Ore and other Items that may be processed by each machine is quite extensive (and will vary with Modpacks), so it's recommended to browse the in-game recipe list by 'Clicking' on the arrow in the Machine to view all the potential recipes, results and amounts.
These Machines are also used for several other purposes not covered here.
Pulverizer[edit]
The Pulverizer turns one Ore into two dust (pulverized metal). It also has the potential of producing a secondary product. Power usage varies depending on the material pulverized, but usually uses 4,000 RF for Ores. The Dust may be used directly in some recipes or Smelted into Ingots using the Redstone Furnace.
The Pulverizer is particularly recommended for the following Ore [1]:
Ore | Product | Qty | Bonus Product | Ratio |
---|---|---|---|---|
Coal | Pulverized Coal | Sulfur | 15% | |
Copper Ore | Pulverized Copper | 2 | Pulverized Gold | 10% |
Diamond Ore | Diamond | 2 | ||
Emerald Ore | Emerald | 2 | ||
Glowstone | Glowstone Dust | 4 | ||
Iron Ore | Pulverized Iron | 2 | Pulverized Ferrous Metal | 10% |
Lapis Lazuli Ore | Lapis Lazuli | 8 | ||
Nether Pig Iron Ore | Steel Dust | 4 | ||
Nether Platinum Ore | Pulverized Shiny Metal | 4 | ||
Nether Quartz Ore | Nether Quartz | 2 | Sulfur | 10% |
Nether Saltpeter Ore | Niter | 10 | ||
Nether Sulfur Ore | Sulfur | 24 | ||
Redstone Ore | Redstone | 6 | Cinnabar | 25% |
Sulfur Ore | Sulfur | 6 |
Induction Smelter[edit]
This Machine uses a catalyst to enhance the smelting process and also has the potential to produce Rich Slag, a secondary metal Ingot or Slag depending on the catalyst used. Power usage varies depending on the catalyst and the material smelted, but usually uses 3,200 RF for Ores with Sand. This Machine is very power efficient since it smelts the Ore directly into Ingots.
An advanced Ore processing facility will use at least 3 of these Machines, one for each main catalyst (there are several speciality catalysts not covered here).
The Induction Smelter is particularly recommended for the following Ores, listed by catalyst used:
Sand[edit]
Produces 2 Metal Ingots from an Ore and 2 Ores from a Nether Ore. It is the catalyst used to produce Rich Slag from most Ore (unless listed in other sections) at a 10% ratio.
It is recommended to use a second Pulverizer fed with Cobblestone to provided a constant supply of Sand to the Induction Smelter (Gravel must be sent off separately)
- Aluminum Ore
- Lead Ore
- Osmium Ore
- Silver Ore
- Tin Ore
- Nether Coal Ore
- Nether Copper Ore
- Nether Ferrous Ore
- Nether Gold Ore
- Nether Iron Ore
- Nether Lapis Ore
- Nether Lead Ore
- Nether Silver Ore
- Nether Tin Ore
Rich Slag[edit]
Produces 3 Metal Ingots from an Ore and 3 Ore from a Nether Ore. Also produces Slag as secondary output at a 75% or 100% ratio. Ore recommended:
Cinnabar[edit]
This catalyst has the ability to produce a secondary Ingot at a 100% ratio. It also produces 3 Metal Ingots from an Ore and 3 Ore from a Nether Ore.
Quantities of this catalyst are limited so it is recommended to focus it's use to producing hard to find materials such as:
Ore | Product | Qty | Bonus Product | Ratio |
---|---|---|---|---|
Ardite Ore | Ardite Ingot | 3 | Gold Ingot | 100% |
Draconium Ore | Draconium Ingot | 3 | Draconium Ingot | 100% |
Ferrous Ore | Ferrous Ingot | 3 | Shiny Ingot | 100% |
Shiny Ore | Shiny Ingot | 3 | Rich Slag | 75% |
Redstone Furnace[edit]
The Redstone Furnace is an efficient automated Furnace used to smelt pulverized metal (dust) into Ingots and also used for other materials not accepted by the Induction Smelter.
IndustrialCraft2[edit]
The IC2 ore processing system is very simple to build and the automation difficulty is only moderate. The most common build consists of a Macerator and an Electric Furnace. The Macerator converts each Ore Block into two pieces of metal dust. The dust is then smelted. This converts ores to ingots at a 1:2 ratio using energy that can be generated from a number of sources.
in addition, GregTech 4 also provides new Ores and the Industrial Grinder. Because the industrial grinder produces multiple outputs and its optimal inputs can change depending on the Ore being processed, it is much harder to fully automate it. GregTech also provides its own automation system. The ratios of Ores to Ingots varies and several Ores produce dusts from additional bars. The grinder requires energy and water with some recipes requiring Mercury Cells and Sodium Persulfate Cells to yield better results.
Factorization[edit]
Factorization is a complex and considerably slower process. The ratio of Ores to Ingots is approximately 1:3 with Clay produced as a secondary product [2], but the process may seem complicated, lengthy and tenuous to beginners. The processing uses several machines powered with 'Charge', Factorization's form of energy that can be produced with a Steam Turbine and Solar Boiler[3].
The basic ore processing method in Factorization is:
- Send Ore to a Grinder or to a Barrel connected to a Lacerator[4] to create Dirty Ore Gravel
- Send the Dirty Ore Gravel to a Mixer (along with Water) to obtain Clean Ore Chunks
- Send the Clean Ore Chunks to a Slag Furnace to produce Reduced Metal Chunks
- Send the Reduced Metal Chunks to a Crystallizer to get Crystallized Metals [5]
- Finaly Send the Crystallized Metals back to the Slag Furnace [6] to receive the Metal Ingots.
Note[edit]
- ↑Some of these Ores are extracted from Nether Ores or require Silk Touch (available on the Digital Miner). The Pulverizer is also recommended for the Dense version of the Ore listed here.
- ↑Silver Ore will produce a secondary Lead product.
- ↑The Steam Turbine and Solar Boiler has replaced the Solar Turbine.
- ↑The Lacerator has replaced the Grinder.
- ↑This step takes 20 minutes per cycle and is difficult to automate, so may be best done manually, but if automating the Crystalyser a Player could opt to build several units, one for each type of Ore needed quickly.
- ↑For Players with Thaumcraft an Infernal Furnace may be used to increase yields in the form of extra Nuggets.
Video[edit]
Gregtech Automate Machines With Multiple Slots Machines
Automated Ore processing tutorial with:
- IndustrialCraft2 and BuildCraft