Understanding how state survives failures - and how to test it.
When an entity "dies" (runner crashes, shard reassigned), there are two separate things to worry about:
| Concern | Question | Effect Cluster Solution |
|---|
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).| """ | |
| This example shows an implementation of the @oneOf directive proposed here: | |
| https://github.com/graphql/graphql-spec/pull/825. | |
| It requires Python 3.9 and graphql-core 3.1.3 (https://github.com/graphql-python/graphql-core). | |
| Although the directive support can be implemented out of the box when used in a field | |
| definition, its use in input object type definition requires a specific graphql-core | |
| feature custom output types of input object types | |
| (https://graphql-core-3.readthedocs.io/en/latest/diffs.html#custom-output-types-of-input-object-types). |
| IAM Permission | Params | |
|---|---|---|
| amplify:CreateApp | iamServiceRoleArn | |
| amplify:UpdateApp | iamServiceRoleArn | |
| appconfig:CreateConfigurationProfile | RetrievalRoleArn | |
| appconfig:UpdateConfigurationProfile | RetrievalRoleArn | |
| appflow:CreateConnectorProfile | connectorProfileConfig.connectorProfileProperties.Redshift.roleArn | |
| appflow:UpdateConnectorProfile | connectorProfileConfig.connectorProfileProperties.Redshift.roleArn | |
| application-autoscaling:RegisterScalableTarget | RoleARN | |
| apprunner:CreateService | SourceConfiguration.AuthenticationConfiguration.AccessRoleArn|InstanceConfiguration.InstanceRoleArn | |
| apprunner:UpdateService | SourceConfiguration.AuthenticationConfiguration.AccessRoleArn|InstanceConfiguration.InstanceRoleArn |
| SELECT eventtime, | |
| eventname, | |
| requestparameters, | |
| awsregion, | |
| eventsource, | |
| resources | |
| FROM cloudtrail_662651605507 | |
| WHERE year = '2019' | |
| AND month IN ('7', '8', '9', '10', '11') | |
| AND eventsource = 'lambda.amazonaws.com' |
Hmm... I don't see any docs for 4.0 on https://webpack.js.org. I guess I'll just wing it.
All I need to do is npm i -D webpack@next, right?
+ webpack@4.0.0-beta.2
| \set common_pct 0.1 | |
| \set common_slow 10 | |
| \set other_slow 100 | |
| CREATE MATERIALIZED VIEW v_pg_stat_statements AS | |
| WITH totals AS ( | |
| SELECT sum(calls) as ttl_calls, sum(total_time) as ttl_time | |
| FROM pg_stat_statements | |
| ) | |
| SELECT |
| import React from 'react'; | |
| import PropTypes from 'prop-types'; | |
| const relayMock = jest.genMockFromModule('react-relay'); | |
| const relayChildContextTypes = { | |
| relay: PropTypes.object | |
| }; | |
| const relayEnvironment = { | |
| lookup: jest.fn() |
| #!/bin/bash | |
| # Copyright © 2017 Google Inc. | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |