AWS |
AWS Machine Learning Blog |
Unified data preparation and model training with Amazon SageMaker Data Wrangler and Amazon SageMaker Autopilot |
https://aws.amazon.com/blogs/machine-learning/unified-data-preparation-and-model-training-with-amazon-sagemaker-data-wrangler-and-amazon-sagemaker-autopilot/
|
Unified data preparation and model training with Amazon SageMaker Data Wrangler and Amazon SageMaker AutopilotData fuels machine learning ML the quality of data has a direct impact on the quality of ML models Therefore improving data quality and employing the right feature engineering techniques are critical to creating accurate ML models ML practitioners often tediously iterate on feature engineering choice of algorithms and other aspects of ML in search … |
2022-06-09 15:03:57 |
AWS |
AWS |
Containerized Applications on AWS | Amazon Web Services |
https://www.youtube.com/watch?v=Rqlj4jL5-sw
|
Containerized Applications on AWS Amazon Web ServicesEnroll now This course introduces you to container technologies and how they can be used to modernize your applications as well as exploring how different AWS services can be used to manage and orchestrate those containers This course uses a combination of video based lectures delivered by AWS technical trainers demonstrations and hands on lab exercises Verified Learners only to enable you to deploy and manage a containerized application Learn more Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-06-09 15:08:15 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
光量子で関数近似 |
https://qiita.com/notori48/items/d93cb9a073732a61ee10
|
関数近似 |
2022-06-10 00:31:57 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】CloudFormationテンプレート作成(SSMを使用してプライベートサブネット上のEC2に接続する構成) |
https://qiita.com/AWSnm88/items/09a088475c8f3a5f95a4
|
cloudformation |
2022-06-10 00:26:19 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Dockerの環境でNuxtを動かす |
https://qiita.com/popo62520908/items/53b2cae6a327885eec52
|
ineworkdirapprunapkupdat |
2022-06-10 00:59:11 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
[Windows+WSL2]VSCode のphp...executablePath にDocker コンテナ内のPHPを指定する |
https://qiita.com/Lyn131/items/1fe30ac88057d0ec3cc6
|
cannotvalidatesince |
2022-06-10 00:46:51 |
海外TECH |
Ars Technica |
Five automakers tell the Feds they want California emissions rules |
https://arstechnica.com/?p=1859936
|
automakers |
2022-06-09 15:05:22 |
海外TECH |
MakeUseOf |
How to Control Your Soundbar With a Roku TV Remote |
https://www.makeuseof.com/tag/control-sound-bars-roku-tv-remote/
|
remoteif |
2022-06-09 15:30:14 |
海外TECH |
MakeUseOf |
How to Create a DIY PC Teleprompter Using an iPad |
https://www.makeuseof.com/how-to-create-a-diy-pc-teleprompter/
|
teleprompter |
2022-06-09 15:30:14 |
海外TECH |
MakeUseOf |
How to Force Delete or Uninstall a Printer in Windows 10 & 11 |
https://www.makeuseof.com/windows-remove-printer/
|
windows |
2022-06-09 15:15:14 |
海外TECH |
DEV Community |
Load Testing GraphQL Performance With k6 and StepZen |
https://dev.to/gethackteam/load-testing-graphql-performance-with-k6-and-stepzen-bga
|
Load Testing GraphQL Performance With k and StepZenFor many companies performance is the main reason to go with GraphQL But is that a valid argument Often developers compare GraphQL to REST APIs and see the N requests or over fetching as an important reason to choose GraphQL Let s put that to the test and explore if GraphQL APIs can outperform existing REST APIs For this we ll take two GraphQL ized REST APIs IP API and Frankfurter and load test the performance of GraphQL nested data in GraphQL and compare it with the original REST APIs We ll be using the tool k one of the most popular load testing tools today to do this performance test Explore a GraphQL APILet s explore a StepZen GraphQL API converted from a REST API In this case I ve used the StepZen CLI to convert the IP API REST API to GraphQL using the instructions from the docs This free REST API lets you search for a location based on its IP address We GraphQL ized the IP API REST API with StepZen and explored it with GraphiQL The GraphiQL interface can be found here and looks like the following You can see the query you re sending to the GraphQL API on the left hand side of the screen while the right hand side shows the response It is named GetLocation Naming queries is recommended as it helps GraphQL APIs with for example caching Also note that the response has the same shape as the query you requested After exploring this GraphQL API let s set up k so we can use it to test GraphQL in the next section Using k for GraphQLTo load test this GraphQL API we ll be using k an open source load testing tool You can run k on your local machine by installing it from the GitHub repository or using k s cloud offering Using this tool you can test any API that accepts HTTP requests The most straightforward test you can run uses the http post function from k import http from k http const query query GetLocation ipApi location ip “ id city country const headers Content Type application json export default function http post JSON stringify query headers This k script can now hit the GraphQL API using the query to load test its performance Because the IP address is static k will make the same request repeatedly in your performance test Furthermore as the GraphQL API will cache the results the tests will get less realistic as different users will use different IP addresses when hitting the GraphQL API Therefore you should make use of dynamic variables in your GraphQL query The same query with a dynamic value for ip will look like this query GetLocation ip String ipApi location ip ip ip city country When sending the request you need to append a JSON object containing a value for ip alongside your GraphQL query If you visit the GraphiQL interface you can use the tab query parameters for this Using the dynamic query parameters you could use the http batch function from k to send multiple requests with different values for ip to the GraphLQ API to simulate a more realistic testing scenario import http from k http const query query GetLocation ip String ipApi location ip ip ip city country const headers Content Type application json export default function http batch POST JSON stringify query variables ip headers POST JSON stringify query variables ip headers POST JSON stringify query variables ip headers Running this k script will send a batch of requests to the GraphQL API with different IP addresses These requests are sent in parallel giving you a more realistic scenario than sending just one You could also create an array of IP addresses and loop over this to create a new array that you pass to the http batch function The next section will use these scripts to performance test this GraphQL API with k Load testing a GraphQL QueryWith the k scripts set up we can now do a performance test on the GraphQL API We can run two tests one with a static IP address and another with batched requests and dynamic IP addresses Running these tests only requires you to have k downloaded and installed on your local machine or you should have a k cloud account To run the first test you need to save the script in a file called simple js so you can run the test with k run vus duration s simple jsThis command runs k with VUs Virtual Users for seconds To get more information on running k go here The results show that the GraphQL API was hit almost times in seconds with an average duration of ms Which is very close to the average duration of the hits for of all requests meaning there are no outliers By looking at the results we can also test the scalability of the GraphQL API that runs on StepZen Therefore we need to have a closer look at the number of iterations that the GraphQL API handled iterations sWhen we ran the k script for seconds with ten concurrent VUs you can see that k hit the GraphQL API almost times or times per second If the GraphQL API is perfectly scalable it should be able to handle ten times more iterations when we increase the number of concurrent VUs to Let s try this out k run vus duration s simple jsThis results in the following As expected for a perfectly scalable service the number of iterations isn t but which is only a difference The GraphQL API isn t perfectly scalable but is getting pretty close to being so Next to testing the simple query with a static IP address we can also run the script with the dynamic IP address by placing it in a file called batch js k run vus duration s batch jsThe iterations to the GraphQL API in this test are sent in batch meaning that every iteration results in three HTTP requests the number of requests added to the http batch function As we learned previously the GraphQL API is almost perfectly scalable The number of iterations the GraphQL API can handle in this test should be roughly the same while the number of HTTP requests should be around three times larger When I ran the test the number of iterations resulted in http reqs siteration duration avg ms min ms med ms max ms p ms p msiterations sWith versus requests the number of iterations is comparable and the number of HTTP requests is three times larger than the number of iterations Now we know k can test the performance of GraphQL APIs and the GraphQL API is scalable Let s proceed by testing a heavier GraphQL query in the next section Load testing different data sourcesThe ability to determine the shape of the data isn t the only reason developers adopt GraphQL as the query language for their APIs GraphQL APIs have just one endpoint and the queries or other operations can also handle nested data You can request data from different database tables like with SQL joins or even various data sources in one request This is different from REST APIs where you typically have to hit multiple endpoints to get data from other sources In the GraphiQL interface for the StepZen GraphQL API we re testing you can explore what other queries are available One of those queries will get data from the Frankfurter REST API an open source API containing current and historical exchange rate data published by the European Central Bank This REST API is converted to GraphQL using StepZen in the same way as the IP API was To get the current conversion rate from Euros to US Dollars you can query query GetConversion frankfurter latest rates from EUR to USD amoun base date rates The query above gets the conversation rate from EUR to USD on the current date Because the schema for this API is a combination of the data from IP API and Frankfurter there is more you can do Using this combination you can get the current location based on the IP address and convert the local currency of that location to USD This currency conversion is available on the field priceInCountry You can see the result by visiting the GraphiQL interface or in this image below Besides the IP address location this query also lets the GraphQL API convert Euros to the local currency of that location In this case it means converting Euros to Dollars again To get this data the GraphQL API will do the following Send a request to the underlying IP API REST API to get the location and currency based on the IP address Convert the currency of that location to Euros using the Frankfurter REST API We can use this nested query in a k script to do another performance test of the GraphQL API This query has a different depth than the query we ve used in the previous section as the data is now nested as it comes from different sources You can put the following k script in a new file called nested js import http from k http const query query GetConversion ip String amount Float from String ipApi location ip ip ip city country currency priceInCountry amount amount from from const headers Content Type application json export default function http post JSON stringify query variables amount from EUR ip headers And run it under the same circumstances as the previous tests k run vus duration s nested jsThe results of this performance test are similar to the test with the batched requests The batching isn t occurring in the k script but at the GraphQL API which handles the two requests to the underlying REST APIs As the GraphQL API is built to be performant the difference between the initial query to get just the location of the IP address and this query to get both the IP address location and the currency conversion is minimal Something you can check in the output of the k load test below The test we ve just run shows GraphQL is perfectly able to get your data from different sources all in one request Let s break down the GraphQL query to the REST API requests they are doing under the hood in the final section to prove this point Compare GraphQL to REST performanceYou ve already learned how to performance test GraphQL using k and how that differs from testing a REST API The last GraphQL query we ve tested is calling two different REST API endpoints There are two scenarios we can try to compare GraphQL and REST performance Either set up two separate tests to compare the performance of the individual REST endpoints against their corresponding GraphQL queries or recreate the complete behavior of the GraphQL API by directly calling the two REST API endpoints from a k test The latter is the most interesting to test as both REST endpoints need to return data for the GraphQL query to resolve The GraphQL query behavior we re testing is query GetConversion ip String amount Float from String ipApi location ip ip ip cit country currency priceInCountry amount amount from from This sends requests to the REST endpoints To get the location and currency for IP address from IP API country currency To convert the currency from the IP address location to Euros from Frankfurter from EUR amp to USDTo test this using k you need to set up the following script in a new file let s call it rest js import http from k http import check from k const headers Content Type application json export default function const response http get country currency null headers check response currency should be returned res gt res json currency USD http get from EUR amp to USD null headers Not only will this k performance test call the two REST endpoints But in a real scenario it would make no sense to reach the second endpoint to convert the locations currency to Euros if the first request doesn t return the local currency of the IP address Running the test above with the same conditions as we did for the other tests k run vus duration s rest jsGives the following results The first thing that stands out is that only iterations with two HTTP requests per iteration are complete in seconds Only VUs have been able to send requests in these tests and of all requests have failed Compared to the GraphQL API these test results are disappointing The GraphQL ized versions of the two REST APIs can handle many more requests and resolve them faster Why is this The GraphQL API created using StepZen applies caching where the REST API itself doesn t seem to apply any caching at all The requests to the IP API endpoint seem to fail twenty percent of the time Furthermore the GraphQL API will also batch requests or optimize for N requests when needed For example you need to request the same data from the currency REST API twice ConclusionGraphQL usage has been on the rise especially amongst front end developers who want a more declarative way to handle data In this post we ve explored how to performance test a GraphQL API using k This GraphQL API was created with StepZen by converting the open source REST APIs from IP API and Frankfurter The test results showed the GraphQL API was close to being perfectly scalable and performant in all scenarios In contrast the individual REST API endpoints had significant performance issues in the tests This is due to the StepZen GraphQL API s performance optimizations such as caching For a complete performance test script for GraphQL see the StepZen GraphQL Benchmark tool in this repository Want to learn more about StepZen Try it out here or ask any question on the Discord here |
2022-06-09 15:16:04 |
Apple |
AppleInsider - Frontpage News |
Apple's M1 Max MacBook Pro 14-inch with 32GB RAM is $150 off & in stock |
https://appleinsider.com/articles/22/06/09/apples-m1-max-macbook-pro-14-inch-with-32gb-ram-is-150-off-in-stock?utm_medium=rss
|
Apple x s M Max MacBook Pro inch with GB RAM is off amp in stockNot only is Apple s M Max MacBook Pro inch in stock at Adorama but it s off plus off AppleCare when ordered with GB of memory in Space Gray Apple s MacBook Pro inch with the M Max chip is normally on backorder but it s in stock nowThe exclusive MacBook Pro deal delivers triple digit savings with promo code APINSIDER when shopping through this money saving activation link Step by step activation instructions can be found below and on this help page Read more |
2022-06-09 15:50:26 |
Apple |
AppleInsider - Frontpage News |
Apple developing 14.1-inch iPad Pro with M2 chip, two sources claim |
https://appleinsider.com/articles/22/06/09/apple-developing-141-inch-ipad-pro-with-m2-chip-two-sources-claim?utm_medium=rss
|
Apple developing inch iPad Pro with M chip two sources claimApple may be developing a larger iPad Pro model with a inch mini LED display and an M chipset for a potential release in early according to a display analyst iPad ProRoss Young of Display Supply Chain Consultants DSCC on Thursday said that his supply chain sources confirmed a inch iPad Pro was being developed The model will have both ProMotion Face ID and mini LED backlighting he added Read more |
2022-06-09 15:02:50 |
海外TECH |
Engadget |
Love Hulten’s latest synth project has a rainbow puke MIDI visualizer |
https://www.engadget.com/love-hulten-rainbow-puke-synth-doodlestation-155515977.html?src=rss
|
Love Hulten s latest synth project has a rainbow puke MIDI visualizerLove Hulten is fond of strange synthesizer projects but his latest might be his most ambitious to date The artist has unveiled a Doodlestation synth deck whose centerpiece display visualizes MIDI audio as rainbow puke ーif you re playing the poor person on screen is likely hurling Don t worry about that novelty fading away though as there are some surprisingly practical features Most of the space is occupied by a Sequential OB analog synth with a custom keybed a Moog DFAM percussion synth and a Hologram Microcosm effects pedal You ll also find a theremin setup though and you can add tape echo through a system that shows the tape bouncing around Built in speakers and a handy patch cord drawer also minimize clutter Like other Love Hulten projects the Doodlestation is a one off design You aren t about to buy one for your studio Still this shows that synth suites don t have to be boring ーthis is equipment you might be proud to show to your fellow musicians |
2022-06-09 15:55:15 |
Cisco |
Cisco Blog |
WAN Connectivity Matters in Delivering Exceptional Application Experiences |
https://blogs.cisco.com/partner/wan-connectivity-matters-in-delivering-exceptional-application-experiences
|
WAN Connectivity Matters in Delivering Exceptional Application ExperiencesCisco and Equinix have partnered to offer a seamlessly integrated portfolio of solutions that meet their customers high performance demands and help reduce the total cost of operations |
2022-06-09 15:00:53 |
Cisco |
Cisco Blog |
Technical and Certification Sessions at Cisco Live Las Vegas |
https://blogs.cisco.com/learning/technical-and-certification-sessions-at-cisco-live-las-vegas
|
vegas |
2022-06-09 15:00:50 |
海外科学 |
NYT > Science |
The New Abortion Bans: Almost No Exceptions for Rape, Incest or Health |
https://www.nytimes.com/2022/06/09/health/abortion-bans-rape-incest.html
|
The New Abortion Bans Almost No Exceptions for Rape Incest or HealthMost of the state abortion prohibitions that would go into effect if Roe v Wade is overturned do not contain carve outs that were once widely supported by abortion opponents |
2022-06-09 15:27:14 |
金融 |
RSS FILE - 日本証券業協会 |
株券等貸借取引状況(週間) |
https://www.jsda.or.jp/shiryoshitsu/toukei/kabu-taiw/index.html
|
貸借 |
2022-06-09 15:30:00 |
金融 |
金融庁ホームページ |
金融庁職員の新型コロナウイルス感染について公表しました。 |
https://www.fsa.go.jp/news/r3/sonota/20220609.html
|
新型コロナウイルス |
2022-06-09 17:00:00 |
ニュース |
BBC News - Home |
Boris Johnson sets out plan for benefit claimants to get mortgages |
https://www.bbc.co.uk/news/uk-politics-61739816?at_medium=RSS&at_campaign=KARANGA
|
ownership |
2022-06-09 15:22:13 |
ニュース |
BBC News - Home |
Sue Barker to step down as Wimbledon presenter after 2022 tournament |
https://www.bbc.co.uk/sport/tennis/61751601?at_medium=RSS&at_campaign=KARANGA
|
wimbledon |
2022-06-09 15:57:39 |
ニュース |
BBC News - Home |
Can Arslan jailed for 38 years for murdering neighbour |
https://www.bbc.co.uk/news/uk-england-gloucestershire-61745617?at_medium=RSS&at_campaign=KARANGA
|
boorman |
2022-06-09 15:22:23 |
ニュース |
BBC News - Home |
Rising number of children on free school meals |
https://www.bbc.co.uk/news/education-61721117?at_medium=RSS&at_campaign=KARANGA
|
meals |
2022-06-09 15:36:38 |
ニュース |
BBC News - Home |
Success not all about getting to top, says social mobility chief Birbalsingh |
https://www.bbc.co.uk/news/uk-politics-61745817?at_medium=RSS&at_campaign=KARANGA
|
universities |
2022-06-09 15:24:33 |
サブカルネタ |
ラーブロ |
長町ラーメン@愛宕橋(宮城県) 「長町ラーメン」 |
http://ra-blog.net/modules/rssc/single_feed.php?fid=199882
|
続きを読む |
2022-06-09 16:01:58 |
北海道 |
北海道新聞 |
日本、非常任理事国に選出 国連安保理、最多12回目 |
https://www.hokkaido-np.co.jp/article/691724/
|
国連安保理 |
2022-06-10 00:35:00 |
北海道 |
北海道新聞 |
小惑星の砂にアミノ酸23種 「生命の源」隕石で飛来? |
https://www.hokkaido-np.co.jp/article/691723/
|
宇宙航空研究開発機構 |
2022-06-10 00:33:00 |
北海道 |
北海道新聞 |
有罪確定の吉川被告、語らぬまま再起模索 談話は紙1枚、身内からも批判 |
https://www.hokkaido-np.co.jp/article/691722/
|
有罪判決 |
2022-06-10 00:25:00 |
北海道 |
北海道新聞 |
吉川元農水相有罪確定 鶏卵汚職、双方控訴せず 4年間公民権停止 |
https://www.hokkaido-np.co.jp/article/691721/
|
公民権停止 |
2022-06-10 00:24:00 |
北海道 |
北海道新聞 |
与野党、参院選へ準備加速 480人超が立候補予定 |
https://www.hokkaido-np.co.jp/article/691719/
|
立候補 |
2022-06-10 00:22:00 |
北海道 |
北海道新聞 |
映画監督の石井隆さん死去 劇画家、「GONIN」など |
https://www.hokkaido-np.co.jp/article/691717/
|
gonin |
2022-06-10 00:19:00 |
GCP |
Cloud Blog |
WebGL-powered maps features now generally available |
https://cloud.google.com/blog/products/maps-platform/webgl-powered-maps-features-now-generally-available/
|
WebGL powered maps features now generally availableAt last year s Google I O our team announced the preview release of a set of new WebGL powered maps features for the Maps JavaScript API These features give you unprecedented control of the vector basemap as part of the customization and styling options available with Cloud based maps styling Check out our demo to explore these features more They include Tilt and Rotation which lets you and your users move the map in three dimensionsMove Camera which gives you the ability to control the perspective of the viewpoint as well as create smooth camera animationsWebGL Overlay View which exposes direct hooks into the lifecycle of the WebGL rendering context of the map so you can render D and D objects directly on the map with depth and occlusionWebGL powered maps features are made possible thanks to the native WebGL APIs that are supported in all modern browsers giving access to the rendering power of the device GPU This means you can create performant beautiful maps experiences never before possible with Maps Javascript API Thank you to all the developers who tried WebGL powered maps features during the preview phase Your feedback bug reports and testing were a big part of the journey from preview to the GA release of these features today What s NewTo make WebGL Overlay View GA ready we ve made some API evolutions and additional improvements to the internal renderer including upgrading the vector map to use a WebGL rendering context offering extra extensions as part of the core library faster real time rendering new graphics features and reduced video memory consumption Use CasesSince we launched these features in preview last year we ve been excited to see what you ve created From using deck gl and WebGL Overlay View to create D and D visualizations of large geospatial datasets To creating enterprise grade data mapping software tools like CARTO Builder that makes it easy to integrate large geospatial datasets pulled from BigQuery To featuring how digital twins can be used to perform digital analyses and scenarios before being put to the test in the real world This is just a small subset of the powerful use cases that WebGL powered map features unlock To see these demos and more visit our demo gallery Get StartedFor a detailed list of changes in the GA release and to learn more about WebGL powered maps features and how to use it with open source libraries like deck gl and threejs org check out the documentation and our WebGL codelab Happy D mapping For more information on Google Maps Platform visit our website |
2022-06-09 15:30:00 |
コメント
コメントを投稿