投稿時間:2023-01-18 21:19:07 RSSフィード2023-01-18 21:00 分まとめ(20件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… 「ドラクエ」シリーズのスマホ向け新作タイトル「ドラゴンクエストチャンピオンズ」発表 https://taisy0.com/2023/01/18/167225.html 発表 2023-01-18 11:40:28
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] Tinder、出会いたい人をプロフィールに表示できる新機能 目的を明確化 https://www.itmedia.co.jp/business/articles/2301/18/news169.html 需要拡大 2023-01-18 20:03:00
python Pythonタグが付けられた新着投稿 - Qiita Pythonでの両端キュー(deque) https://qiita.com/Snorlax/items/d061de2426277364bab6 collection 2023-01-18 20:24:19
海外TECH MakeUseOf How to Create Custom Alerts in React Using React-Toastify https://www.makeuseof.com/react-toastify-custom-alerts-create/ toastifylearn 2023-01-18 11:30:15
海外TECH MakeUseOf How iMessage Typing Indicators Work and How Long They Last https://www.makeuseof.com/imessage-typing-indicators-explained/ lasthere 2023-01-18 11:16:14
海外TECH DEV Community Manage serverless APIs with Apache APISIX https://dev.to/apisix/manage-serverless-apis-with-apache-apisix-55a8 Manage serverless APIs with Apache APISIXServerless computing enables developers to build applications faster by eliminating the need for them to manage infrastructure With serverless APIs in the cloud the cloud service provider automatically provisions scales and manages the infrastructure required to run the code This article shows with the simple example how to manage Java based serverless APIs build with Azure functions It uses azure functions plugin to integrate Apache APISIX API Gateway with Azure Serverless Function that invokes the HTTP trigger functions and return the response from Azure Cloud Apache APISIX offers additional plugins that can be used with other serverless solutions like AWS Lambda Learning objectivesYou will learn the following throughout the article What serverless APIs The role of API Gateway in managing complex serverless API traffic How to set up Apache APISIX Gateway How to build serverless APIs with Azure Functions How to expose serverless APIs as upstream services How to secure serverless APIs with APISIX authentication plugins How to apply rate limiting policies Before we get started with the practical side of the tutorial let s go through some concepts What serverless APIs Serverless APIs are the same as traditional APIs except they utilize a serverless backend For businesses and developers serverless computing means they no longer have to worry about server maintenance or scaling server resources to meet user demands Also serverless APIs avoid the issue of scaling because they create server resources every time a request is made Serverless APIs reduce latency because they are hosted on an origin server Last but not least serverless computing is far more cost efficient than the traditional alternative such as building entire microservices Serverless APIs using Azure functionAn Azure Function is a simple way of running small pieces of code in the cloud You don t have to worry about the infrastructure required to host that code You can write the Function in C Java JavaScript PowerShell Python or any of the languages that are listed in the supported languages With Azure Functions you can rapidly build HTTP APIs for your web apps without the headache of web frameworks Azure Functions is serverless so you re only charged when an HTTP endpoint is called When the endpoints aren t being used you aren t being charged These two things combined make serverless platforms like Azure Functions an ideal choice for APIs where you experience unexpected spikes in traffic API Gateway for Serverless APIs traffic managementAn API Gateway is the fundamental part of serverless API because it is responsible for the connection between a defined API and the function handling requests to that API There are many benefits of API Gateway in the serverless based APIs architecture In addition to API Gateway s Primary edge functionalities such as authentication rate throttling observability caching and so on it is capable of invoking serverless APIs subscribing to events then processing them using callbacks and forward authentication requests to external authorization services with completely custom serverless function logic Manage serverless APIs with Apache APISIX demoWith enough theoretical knowledge in mind now we can jump into a practical session We use an example project repo apisix manage serverless apis hosted on GitHub You can find the source code and sample curl commands we use in this tutorial For our mini project we ll work with two simple Azure functions written in Java that simulates our serverless APIs for Product and Review services PrerequisitesMust be familiar with fundamental API conceptsMust have a working knowledge of Azure Functions for example this learning module shows how to build an HTTP API using the Azure Functions extension for Visual Studio Code DockerAzure AccountAzure CLIJava Developer Kit at least version MavenAzure Functions Core ToolsVisual Studio CodeAzure Functions Core Tools min version Azure Functions extension for Visual Studio Code Set up the projectThis first thing you clone the project repo from GitHub git clone Open the project folder in your favorite code editor The tutorial leverages VS Code Run Apache APISIXTo run Apache APISIX and Azure functions locally you can follow these steps Open a new terminal window and run docker compose up command from the root folder of the project docker compose up dAbove command will run Apache APISIX and etcd together with Docker For example if Docker desktop installed on your machine you can see running containers there We installed APISIX on our local environment in this demo but you can also deploy it to Azure and run it on Azure Container Instance See the following tutorial Run Azure functionsThen navigate to upstream folder mvn clean installmvn azure functions runThe two functions will start in a terminal window You can request both serverless APIs in your browser For example Deploy Azure functionsNext we deploy functions code to Azure Function App by running below cmd mvn azure functions deployOr you can simply follow this tutorial on how to deploy the function project to AzureNote that the function app name is randomly generated based on your artifactId appended with a randomly generated number In the tutorial cmds the function app name serverless apis is mentioned Just to make sure our function works we can test an invocation call directly requesting it URL in the browser Exposing serverless APIs in APISIXOnce the set up is complete now we will expose serverless Azure function APIs as upstream services in APISIX To do so we need to create a new Route with azure function plugin enabled for both products and reviews serverless backend APIs If azure function plugin is enabled on a route APISIX listens for requests on that route s path and then it invokes the remote Azure Function code with the parameters from that request Create a Route for ProductsTo create a route for Products function run the following command curl apisix admin routes H X API KEY eddcfffadbcf X PUT d name Create a route with Azure function plugin plugins azure functions function uri ssl verify false uri products Note that we set ssl verify attribute of azure functions plugin to false to disable SSL verification for only the demo purpose You can also enable it to perform more secure requests from APISIX to Azure Functions Learn other configuration parameters Test With a Curl RequestWe can use curl to send a request seeing if APISIX listens on the path correctly and forwards the request to the upstream service successfully curl i XGET productsHTTP OK id name Product description Description id name Product description Description Great We got response from the actual serverless API on Azure Function Next we will make similar configuration for reviews function Create a Route for Reviews and testCreate the second route with Azure function plugin enabled curl apisix admin routes H X API KEY eddcfffadbcf X PUT d plugins azure functions function uri ssl verify false uri reviews Test serverless API response curl i XGET reviewsIn this section we introduced the new route and added azure functions plugin to our serverless APIs so that APISIX can invoke remote Azure functions and manage the traffic In the following sections we will learn how to authenticate API consumers and apply runtime policies like rate limiting Secure serverless APIs with APISIX authentication pluginsUp to now our serverless APIs are public and accessible by unauthorized users In this section we will enable the authentication feature to disallow unauthorized requests to serverless APIs Apache APISIX can verify the identity associated with API requests through credential and token validation Also it is capable of determining which traffic is authorized to pass through the API to backend services You can check all available authentication plugins Let s create a new consumer for our serverless APIs and add basic auth plugin for the existing route so that only allowed user can access them Create a new consumer for serverless APIsThe below command will create our new consumer with its credentials such as username and password curl apisix admin consumers H X API KEY eddcfffadbcf X PUT d username consumer plugins basic auth username username password password Add basic auth plugin to the existing Products and Services routes Now we configure basic auth plugin for routes to let APISIX check the request header with the API consumer credentials each time APIs are called curl apisix admin routes H X API KEY eddcfffadbcf X PUT d name Create a route with Azure function plugin plugins azure functions function uri ssl verify false basic auth uri products curl apisix admin routes H X API KEY eddcfffadbcf X PUT d plugins azure functions function uri ssl verify false basic auth uri reviews Test basic auth pluginNow if we request the serverless APIs without user credentials in the header we will get an unauthorized error curl i productsHTTP Unauthorized message Missing authorization in request The result is as we expected But if we provide the correct user credentials in the request and access the same endpoint it should work well curl i u username password productsHTTP OKWe have validated the client s identity attempting to request serverless APIs by using basic authentication plugin with the help of Apache APISIX Apply rate limiting policies for serverless APIsIn this section we will protect serverless APIs from abuse by applying a throttling policy In Apache APISIX Gateway we can apply rate limiting to restrict the number of incoming calls Apply and test the rate limit policyWith the existing route configurations for Products and Reviews functions selected we can apply a rate limit policy with limit count plugin to protect our API from abnormal usage We will limit the number of API calls to per s per API consumer To enable limit count plugin for the existing Products route we need to add the plugin to plugins attribute in our Json route configuration curl apisix admin routes H X API KEY eddcfffadbcf X PUT d name Create a route with Azure function plugin plugins azure functions function uri ssl verify false basic auth limit count count time window rejected code rejected msg Requests are too frequent please try again later uri products Apache APISIX will handle the first two requests as usual However a third request in the same period will return a HTTP Forbidden code with our custom error message HTTP Forbidden error msg Requests are too frequent please try again later Next stepsIn this article we learned step by step how to create Java based serverless APIs with Azure Functions and Apache APISIX Gateway to manage your APIs throughout their full lifecycle from the exposing serverless APIs as upstream services in APISIX to properly secure and apply rate limiting to limit the number of requests This opens the doors to other use cases of API Gateway and serverless APIs integration You can explore other capabilities of APISIX Gateway by chaining of various built in plugins to transform requests monitor the availability performance and usage of our serverless APIs cache API responses and further evolve them by versioning APIs that helps you to reduce development time increase scalability and cost savings Apache APISIX is fully open source API Gateway solution If you require to have more advanced API management features for serverless APIs you can use API Enterprise or API Cloud which are powered by APISIX Related resourcesAzure Functions Build Serverless APIs with Azure Functions Create a Java function in Azure using Visual Studio Code Run Apache APISIX on Microsoft Azure Container Instance Recommended contentHow to choose the right API Gateway Why Is Apache APISIX the Best API Gateway What Are API Gateway Policies Community️Join the Apache APISIX Community Follow us on TwitterFind us on Slack 2023-01-18 11:12:04
Apple AppleInsider - Frontpage News Best safety apps for college students for iPhone https://appleinsider.com/inside/iphone/best/best-safety-apps-for-college-students-for-iphone?utm_medium=rss Best safety apps for college students for iPhoneSpreading your wings and heading off to college can be intimidating These apps will help bring some peace of mind with added safety and security Campus safety appsFinally gaining the autonomy you ve always wanted and moving onto campus is an exciting time for all but newfound independence for college students can be wrought with challenges Read more 2023-01-18 11:59:30
Apple AppleInsider - Frontpage News Apple planned M2 Mac mini, MacBook Pro launch for 2022 https://appleinsider.com/articles/23/01/18/apple-planned-m2-mac-mini-macbook-pro-launch-for-2022?utm_medium=rss Apple planned M Mac mini MacBook Pro launch for The new M Mac mini and updated MacBook Pro lineup were originally to be launched in with the release video shot to go in an event that then never happened There s a reason it seemed odd that Apple would release a presentation like minute promo video for its new Macs And for why its press announcements talked about today s event when there hadn t been an event It s because there also wasn t an event sometime in The video was made then and most likely for an October event that for some reason was then cancelled Read more 2023-01-18 11:36:02
海外TECH Engadget Twitter's Blue subscription gets a slightly cheaper annual option https://www.engadget.com/twitter-is-now-offering-a-yearly-discount-rate-on-blue-verified-checkmarks-115514908.html?src=rss Twitter x s Blue subscription gets a slightly cheaper annual optionTwitter is now offering a yearly discount on its Blue subscription service according to a new support page spotted by The Verge Web users can now sign up for per year per month and save a buck over the monthly price Similar discounts are available in other countries that offer Twitter Blue including the UK Canada Australia New Zealand and Japan nbsp Until now Twitter Blue users only had the option of an per month subscription via the web or month on iOS passing Apple s percent fee onto the user However iOS users can still sign up on the web to save the extra In that case the new yearly subscription would save them percent compared to signing up directly on iOS nbsp A Twitter Blue subscription offers a number of perks including a blue verified checkmark higher ranking replies minute video uploads and more Users can also undo and edit tweets customize app icons themes and navigations bookmark tweets and more You ll need a phone number to sign up and Twitter is supposed to verify your account to assure it s not fraudulent or fake ーsomething it failed at recently nbsp The Elon Musk owned social media network seems to need as many subscriptions as possible According to a recent report on The Information more than of Twitter s advertisers have paused spending on the site and daily revenue on January th was down percent compared to last year nbsp In the first quarter of before Musk s acquisition was finalized Twitter reported sales of billion with billion of that in advertising and subscriptions plus other revenue making up the rest nbsp 2023-01-18 11:55:14
海外TECH Engadget CNET is reviewing its AI-written articles after being notified of serious errors https://www.engadget.com/cnet-reviewing-ai-written-articles-serious-errors-113041405.html?src=rss CNET is reviewing its AI written articles after being notified of serious errorsIf you visit any of CNET s AI written articles you ll now see an editor s note at the top that says quot We are currently reviewing this story for accuracy If we find errors we will update and issue corrections quot The publication has added the note after being notified of major errors in at least one of the machine written financial explainers it had published nbsp If you ll recall CNET editor in chief Connie Guglielmo recently admitted that the publication had put out around articles about basic financial topics since November last year Guglielmo said the website decided to do an experiment to see if AI can truly be used in newsrooms and other information based services in the coming months and years Based on Futurism s report it looks like the answer is Sure but the pieces it generates need to thoroughly fact checked by a human editor nbsp Futurism combed through one of the articles Guglielmo highlighted in the post namely the piece entitled quot What Is Compound Interest quot and found a handful of serious errors While the article has since been corrected the original version said that quot you ll earn at the end of the first year quot ーinstead of just ーif you deposit into an account that earns percent interest compounding annually The AI also made errors in explaining loan interest rate payments and certificates of deposit or CDs nbsp You ll find a huge difference in quality when comparing CNET s articles with machine written pieces in previous years which read more like a bunch of facts thrown together rather than coherent stories As Futurism notes the errors it found highlight the biggest issue with the current generation of AI text generators They may be capable of responding in a human like manner but they still struggle with sifting out inaccuracies nbsp quot Models like ChatGPT have a notorious tendency to spew biased harmful and factually incorrect content quot MIT s Tech Review wrote in a piece examining how Microsoft could use OpenAI s ChatGPT tech with Bing quot They are great at generating slick language that reads as if a human wrote it But they have no real understanding of what they are generating and they state both facts and falsehoods with the same high level of confidence quot That said OpenAI recently rolled out an update to ChatGPT meant to quot improve accuracy and factuality quot nbsp As for CNET a spokesperson told Futurism in a statement quot We are actively reviewing all our AI assisted pieces to make sure no further inaccuracies made it through the editing process as humans make mistakes too We will continue to issue any necessary corrections according to CNET s correction policy quot 2023-01-18 11:30:41
医療系 医療介護 CBnews 小児への解熱薬投与、錠剤粉砕で院内製剤加算の算定可-「やむを得ない事情」の記載必須、22年度改定Q&A https://www.cbnews.jp/news/entry/20230118202235 医療機関 2023-01-18 20:26:00
金融 RSS FILE - 日本証券業協会 協会員処分 https://www.jsda.or.jp/kyoukaiin/syobun/kyokaiin/index.html 協会 2023-01-18 11:30:00
金融 金融庁ホームページ フォトギャラリーを更新しました。 https://www.fsa.go.jp/kouhou/photogallery.html フォトギャラリー 2023-01-18 12:00:00
ニュース BBC News - Home Ukraine interior ministry leadership killed in helicopter crash https://www.bbc.co.uk/news/world-europe-64315594?at_medium=RSS&at_campaign=KARANGA minister 2023-01-18 11:43:51
ニュース BBC News - Home Air travel costs soar at record rate in December https://www.bbc.co.uk/news/business-64315925?at_medium=RSS&at_campaign=KARANGA coach 2023-01-18 11:33:11
ニュース BBC News - Home Chancellor Jeremy Hunt branded 'Mr Bean' for video https://www.bbc.co.uk/news/business-64315850?at_medium=RSS&at_campaign=KARANGA coffee 2023-01-18 11:46:26
ニュース BBC News - Home East Yorkshire's Peggy the Pugese bids to be named UK's ugliest dog https://www.bbc.co.uk/news/uk-wales-64304551?at_medium=RSS&at_campaign=KARANGA yorkshire 2023-01-18 11:32:28
ニュース BBC News - Home Can I get a Cold Weather Payment and how much are they? https://www.bbc.co.uk/news/business-55992592?at_medium=RSS&at_campaign=KARANGA temperatures 2023-01-18 11:44:51
ニュース BBC News - Home Snooker match-fixing investigation - 10 Chinese players charged by WPBSA https://www.bbc.co.uk/sport/snooker/64297128?at_medium=RSS&at_campaign=KARANGA corruption 2023-01-18 11:46:35
ニュース BBC News - Home Calisthenics: How an outdoor gym made of melted knives is helping a London community https://www.bbc.co.uk/sport/av/64028654?at_medium=RSS&at_campaign=KARANGA Calisthenics How an outdoor gym made of melted knives is helping a London communityBBC Sport finds out how an outdoor gym made out of melted knives taken off the streets of London is being used to help a community train in calisthenics 2023-01-18 11:53:25

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)