投稿時間:2021-09-03 03:27:35 RSSフィード2021-09-03 03:00 分まとめ(31件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… AppleのAR/VRヘッドセットはiPhoneとの接続が必須に?? − 早ければ来年登場する可能性も https://taisy0.com/2021/09/03/144842.html apple 2021-09-02 17:51:09
AWS AWS Architecture Blog Practical Entity Resolution on AWS to Reconcile Data in the Real World https://aws.amazon.com/blogs/architecture/practical-entity-resolution-on-aws-to-reconcile-data-in-the-real-world/ Practical Entity Resolution on AWS to Reconcile Data in the Real WorldThis post was co written with Mamoon Chowdry Solutions Architect previously at AWS Businesses and organizations from many industries often struggle to ensure that their data is accurate Data often has to match people or things exactly in the real world such as a customer name an address or a company Matching our data is important … 2021-09-02 17:12:54
AWS AWS Media Blog How to get to market fast with Automated ABR encoding https://aws.amazon.com/blogs/media/how-to-get-to-market-fast-with-automated-abr-encoding/ How to get to market fast with Automated ABR encodingAutomated ABR is an AWS Elemental MediaConvert feature that is ideal for customers who are launching an application and require the encoding of video files but are not video experts Before Automated ABR developers had to guess which bitrates resolutions and encoding settings were ideal to enable the best picture quality for end users Usually when … 2021-09-02 17:57:49
js JavaScriptタグが付けられた新着投稿 - Qiita 未経験からWebエンジニアになる為の4つの課題 https://qiita.com/hamaguri/items/b09628e381293ac58051 個人的おすすめクリエイタークエストドットインストール課題クイズアプリ記事はコピペで実装できるので下記機能を自分で調べて追加してみましょう結果の画⾯でやり直しのボタンを追加答え終わった時にタイマーを⽌める問題をランダムに出す課題掲示板※こちらの記事はDBデータベースの基本知識があるのが前提です。 2021-09-03 02:31:23
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) libcurlによって作られた記憶のないcookieというファイルをコミットしていたが、何なのか https://teratail.com/questions/357509?rss=all libcurlによって作られた記憶のないcookieというファイルをコミットしていたが、何なのかRailsnbspJSでWebアプリを作っている最中に、cookieという記憶のないファイルをコミットしてしまっていました。 2021-09-03 02:31:09
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) sambaファイルサーバーのバックアップデータに対するアクセス権(パーミッション)について https://teratail.com/questions/357508?rss=all sambaファイルサーバーのバックアップデータに対するアクセス権パーミッションについてCentosnbspStramにて台のSambaaddcを構築ました。 2021-09-03 02:28:13
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Realm Swiftで日本語の文字列をプライマリキーにしたい https://teratail.com/questions/357507?rss=all realmnbspswift 2021-09-03 02:25:26
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Python tkinterでメニューバーのcommandが勝手に実行されてしまう https://teratail.com/questions/357506?rss=all Pythontkinterでメニューバーのcommandが勝手に実行されてしまうタイトルのとおりですTkinterでのメニューバーを作成しましたそこのプルダウンメニューの内容にTestnbspOpenとTestnbspCloseというものを作りました本来はそこを押したら実行するようにしたいのですが、何故かソフトを起動した瞬間に実行され、メニューを選択しても実行されません。 2021-09-03 02:08:34
Ruby Railsタグが付けられた新着投稿 - Qiita [Rails]0から新規アプリケーションの作成 https://qiita.com/janani/items/3f6667a02b7dfdcc1af1 バージョンが「Homebrew」というふうに表示されていたら、ちゃんとインストールがされていることになるbrewv次にRubyのインストールツール「rbenv」をインストールするため、ターミナルで下記のコマンドを入力する。 2021-09-03 02:46:26
技術ブログ Developers.IO Google スプレッドシートの表をS3へJSONファイルとして保存する https://dev.classmethod.jp/articles/save-google-spreadsheet-table-as-json-to-s3/ gutentag 2021-09-02 17:55:32
海外TECH Ars Technica Audi subverts the luxury sedan with new grandsphere concept https://arstechnica.com/?p=1791520 doesn 2021-09-02 17:30:46
海外TECH DEV Community LeetCode Sep' 21 Challenge Series | Day 1 | Largest Time for Given Digits https://dev.to/geetcloud/leetcode-sep-21-challenge-series-day-1-largest-time-for-given-digits-1glp LeetCode Sep x Challenge Series Day Largest Time for Given Digits Largest Time for Given Digits ProblemGiven an array arr of digits find the latest hour time that can be made using each digit exactly once hour times are formatted as HH MM where HH is between and and MM is between and The earliest hour time is and the latest is Return the latest hour time in HH MM format If no valid time can be made return an empty string Example Input arr Output Explanation The valid hour times are and Of these times is the latest Example Input arr Output Explanation There are no valid hour times as is not valid Example Input arr Output Example Input arr Output Constraints arr length lt arr i lt Let s startOur main goal is to solve the problem and at the same time achieve the best linear time complexity with minimal space complexity If you are a beginner to problem solving or trying data structure problems I suggest you start with a brute force approach and then try to optimize your solution to the best time space complexity AnalysisLet s start analysing the problem statement Given the array of digits we need to find out the latest hour time that can be made using each digit only once Before jumping into a solution or pseudocode read the problem statement a couple of times and make sure to understand it well Based on the problem statement we understand that we need to compute all the possible combinations of the four digits to find the answer This will give us a hint immediately that this problem falls under Dynamic Programming It s a very interesting topic to learn all the different approaches to tackle these kind of similar Permutation amp Combination problems Try to identify the keywords like each digit can be used only once This is our first clue We exactly have four digits to make our hh mm latest hour final answer Second clue we can think of is to check each digit or hold the digit occurrences of all hh mm combinations to compare with the array to get our final answer Since we want the latest hour max hour and minute in a day hour time format we need to start from the max hr and minute respectively and iterate backwards to get the latest hour So with all these hints and analysis let s start writing our algorithm or pseudocode Algorithm PseudocodeStart iterating from the max hour minute max time and hold all of the digits combinations for each iterationInitialise a latest hour boolean flag at the start to true If the digits of the single iteration not matching with the elements of the input array we have not reached the latest hour So set the latest hour flag to false Iterate and continue till we find the latest hour i e until the digits combinations match with the elements of the array Let s start writing the solution Loop through every hour and digit combination If we find the exactfour array elements That s it That is our answer The Latest hour Time Solution in Java class Solution public String largestTimeFromDigits int arr for int hour hour gt hour for int minute minute gt minute boolean latest hour true int count new int count hour lt hour count hour lt hour hour count minute lt minute count minute lt minute minute for int item arr if count item lt latest hour false break if latest hour return String format d d hour minute return ComplexityTime Complexity gt O x x gt O Space Complexity gt O ConclusionThis problem is a very good example of Dynamic Programing Do check out for more examples in this category for further learning Dynamic Programming has two methods Top down and Bottom up approach Be on the lookout for a future article where I explain the two and their differences ReferencesThe LeetCode Problem in this article LeetCode September Challenge Thanks for reading this post I hope this article is informative and helpful in some way If it is please like and share Follow me on Twitter LinkedIn for related content Happy learning 2021-09-02 17:29:10
海外TECH DEV Community MoSCoW: The Best Code Review Technique You're Not Using https://dev.to/allthecode/moscow-the-best-code-review-technique-you-re-not-using-2b0e MoSCoW The Best Code Review Technique You x re Not UsingWe ve all been there You ve got comments on your code from a reviewer and it feels like you might as well rewrite everything from scratch It s demoralising and feels like a waste of time especially since you know it works and fulfils the requirements of the task Situations like this can lead to you cherry picking your reviewers having endless back and forths about a forEach vs a for and generally feeling a bit fed up with the whole process Well let me introduce you to a system that lets the reviewer express their thoughts in a manner that indicates exactly how important each comment is and how much attention you need to pay to it MoSCoW taken from the world of project management is the name given to a list of requirements laid out as MustsShouldsCouldsWouldsI won t dwell on what they mean exactly in the world they originate from because it s not relevant and the system is so self explanatory you ve probably already worked out where I m going M S C WEach comment should begin with M S C or W and then the comment Must this has to be changed to be approved These are errors that either go against the coding standards of the team or are clearly just incorrect and will lead to a bug These can t be ignored Should these are things that would be an obvious and clear improvement You have to give a reason to ignore this and the code reviewer has to agree A third party can be brought in if needs be Could these are for niceties that the reviewer thinks would improve the codebase in some way but are probably going above and beyond what the task requires If they have an idea for a slightly better function name or they want to leave a comment but aren t all that bothered if you take the advice then this is the prefix to use These can be ignored without a reason given Would these are reserved for the I wouldn t have done it this way comments that require lots of rework but are personal preference These rarely get used because a would is really just the reviewer being given space to express their thoughts An ideal usage of this is to educate a junior member of the team and perhaps follow up with a conversation around it post review In the example above about a for loop I would say S Use forEach here to avoid off by one errors and aid understanding of loop conditionsor similar SummaryIntroduce this at your next team meeting get a clear understanding of your musts and a rough idea of some shoulds and you will see how liberating this is for everyone involved in the code review process 2021-09-02 17:28:51
Apple AppleInsider - Frontpage News Apple TV+ comedy 'Dickinson' to end after third season https://appleinsider.com/articles/21/09/02/apple-tv-comedy-dickinson-to-end-after-third-season?utm_medium=rss Apple TV comedy x Dickinson x to end after third seasonApple TV original series Dickinson will air for its third and final season this coming November Apple said on Thursday Image Credit Apple Dickinson was among the first shows to debut to Apple s new streaming service when it launched in November of The series which follows young poet Emily Dickinson will return for a third and final season on November Read more 2021-09-02 17:40:14
Apple AppleInsider - Frontpage News New malicious Lightning cable can steal user data from a mile away https://appleinsider.com/articles/21/09/02/new-malicious-lightning-cable-can-steal-user-data-from-a-mile-away?utm_medium=rss New malicious Lightning cable can steal user data from a mile awayA new and upgraded version of a malicious Lightning cable that can steal user data and remotely send it to an attacker illustrates the threat of untrusted accessories Credit MGThe OMG Cable which looks exactly like a standard Lightning to USB cable was first demoed back in by security researcher MG Since then MG was able to work with cybersecurity vendor Hak to mass produce the cables for researchers and penetration testers Read more 2021-09-02 17:33:19
海外TECH Engadget Virgin Galactic's 'Unity 23' flight will be its first for commercial research https://www.engadget.com/virgin-galactics-unity-23-flight-will-be-its-first-for-commercial-research-175245048.html?src=rss Virgin Galactic x s x Unity x flight will be its first for commercial researchVirgin Galactic announced on Wednesday that its upcoming quot Unity quot mission will include the first commercial research payload in the company s launch history ーthat payload being three paying passengers from the Italian Air Force The IAF members have teamed with the National Research Council to study the effects on the human body of transitioning from full G gravity to the microgravity felt in orbit The launch will also carry additional instruments designed to study the impact microgravity has on various chemical and physical properties of the surrounding environment according to a Wednesday press release from the company nbsp “The Italian Air Force has always placed great importance on the understanding of space and aerospace quot Lieutenant General Alberto Rosso Chief of Staff of the Italian Air Force said in a prepared statement quot Aerospace is the natural operational extension of our institutional duty Strength in this domain is an asset for the country and is critical to its protection and safety which is why the Air Force places great emphasis on further deepening its knowledge With this mission the Italian Air Force aims to start exploring potential implementations for this kind of vehicle both civilian and military and to further opportunities for technological scientific and industrial growth Unity when it launches during its window between late September and early October will be the first Virgin Galactic flight since company founder Richard Branson and crew completed their history making flight in July 2021-09-02 17:52:45
海外TECH Engadget Roland Emmerich's 'Moonfall' asks what would happen if the Moon fell on Earth https://www.engadget.com/moonfall-roland-emmerich-teaser-trailer-174550646.html?src=rss Roland Emmerich x s x Moonfall x asks what would happen if the Moon fell on EarthHow do you build on a filmography that includes disaster movies like The Day After Tomorrow and Independence Day If you re Roland Emmerich the answer is quite simply to drop the Moon on the planet In the first trailer for his latest film Moonfall Earth s natural satellite has decided to do humanity a solid favor and put it out of its misery by crashing into its anchor You might think its title says almost everything you need to know about Moonfall but sorry the end of the world is only part of the story here According to the film s official synopsis a “mysterious force is what sets the Moon on its collision course with Earth It s up to a NASA executive former astronaut and conspiracy theorist ーplayed by Halle Berry Patrick Wilson and John Bradley respectively ーto save the world “These unlikely heroes will mount an impossible last ditch mission into space leaving behind everyone they love only to find out that our Moon is not what we think it is the film s official summary says I ll say it now I hope it s not aliens that are behind everything Either way Moonfall looks like it will be a fun and trashy way to spend an hour or two forgetting about all the real problems haunting humans at the moment The film will debut in theaters on February th We can t wait 2021-09-02 17:45:50
海外TECH Engadget Razer Blade 14 review: Big power, small package https://www.engadget.com/razer-blade-14-review-amd-ryzen-173003809.html?src=rss Razer Blade review Big power small packageRazer has finally found the perfect balance between power and portability with the Blade It features AMD s latest processor NVIDIA s RTX series GPUs and a responsive inch display but it wraps all of that together in a sub four pound package What s not to love While Razer s inch Blade Stealth is even lighter I ve always found it to be woefully underpowered and dramatically overpriced But the Blade represents what Razer does best delivering powerful hardware that feels more polished than the competition Imagine a shrunken down version of the Blade and you ve pretty much got the inch It has the same sleek black aluminum case and a minimalist aesthetic that resembles Apple s MacBook Pro more than a typical gaming laptop That of course has been Razer s major accomplishment over the last few years Its computers are still the closest Windows users can get to Apple s polished hardware The only major feature that screams quot gaming laptop quot is the Blade s RGB LED keyboard which allows every key to display its own color something you can also turn off easily too Like most inch gaming laptops these days the Blade s biggest selling point is that it s lighter than most inch notebooks Here s where Razer s own innovations start to work against it though The Blade currently weighs around pounds whereas the clocks in at pounds That s only a half pound difference something that could be noticeable if you were comparing these laptops in each hand but less so in normal usage The Blade would have seemed more impressive when the inch model was upwards of pounds but now it s actually a bit hefty compared to competitors like the pound ASUS Zephyrus G This isn t the first time that Razer has had a inch laptop either which takes some of the luster away from the Blade The last model dropped around three years ago toting a th gen Intel CPU and weak NVIDIA GTX graphics What makes this new version stand out is under the hood It s the first time Razer has used an AMD processor ーevery Blade comes with the powerful Ryzen HX ーand it also has NVIDIA s fastest RTX graphics Devindra Hardawar EngadgetStill it s worth noting even those graphics cards are constrained by the Blade s size NVIDIA lets every PC maker tweak the wattage of their GPUs which is helpful for dealing with thermal constraints but that also means performance can vary wildly Basically not every RTX is created equal especially when it comes to gaming laptops Keep that caveat in mind because it ll explain some of the performance benchmarks I ended up seeing Our review unit was the most expensive configuration a build with the Ryzen HX RTX GB of fixed RAM TB SSD and a quad HD Hz display Given that caliber hardware the Blade had no troubling handling demanding games and torturous benchmarks In Destiny reached up to fps while playing in p with maxed out settings It also looked smooth on the laptop s inch screen with excellent color reproduction and solid brightness Ray tracing performance was also solid I was able to see between and fps in Control while playing in p with maxed graphics DLSS and medium ray tracing NonePCMark DMark TimeSpy Extreme Geekbench ATTO top reads writes Razer Blade AMD Ryzen HX NVIDIA RTX Gb s GB s ASUS ROG Strix G Advantage Edition AMD Ryzen HX AMD Radeon RX M GB s GB sASUS Zephyrus G AMD Ryzen HS NVIDIA RTX Max Q GB s GB sMSI GS Stealth Intel i H NVIDIA RTX Max Q GB s GB sASUS Zephyrus G AMD Ryzen HS NVIDIA RTX Max Q GB s GB sStill I definitely noticed the compromises Razer had to make to squeeze the RTX into such a small case It was slower than the larger Lenovo Legion Pro equipped with an RTX GPU in all of our DMark tests and Geekbench s compute benchmark Clearly Lenovo was able to squeeze out more performance from what s supposed to be a slower GPU Compared to the ASUS Zephyrus G which has a Ryzen HS and an RTX the Blade lags behind slightly in all of our D benchmarks I also noticed that the Blade could get toasty with its CPU reaching up to degrees Celsius when I really stressed it out It s rare for me to see processors going beyond Celsius in gaming notebooks today so that was particularly surprising There were times when the bottom of the Blade felt too hot to touch I was glad that the GPU generally stayed below Celsius under load which is more in line with competitors Despite running so hot it lasted hours and minutes in our battery benchmark That s mainly for productivity tasks though Expect it to last a lot less if you re gaming unplugged The Blade s case size also has implications for its keyboard While it looks and feels just like Razer s existing laptop designs with a satisfying amount of key travel and responsiveness the layout is far more cramped than the Blade That led to a bit of finger pain after extended Destiny and Overwatch sessions Maybe I m just becoming less dexterous in my older age but I think that alone could be a dealbreaker for some gamers You re going to be hitting those WASD keys quite a bit in shooters after all Port wise the Blade crams in most of what you d want two USB C connections with charging two USB Type A sockets a full sized HDMI port a headphone jack and a custom power cable It s definitely nice to be able to charge up using a normal USB C cable but those won t be powerful enough to juice up while gaming Thankfully the Blade s bundled power adapter is relatively small unlike the bricks that gaming laptops used to come with Devindra Hardawar EngadgetAs usual I would have liked to see an SD card reader but that s just another reason to consider the larger Razer notebooks Similarly the Blade doesn t have upgradable RAM which means you re stuck with the GB of memory it comes with You can upgrade the NVMe SSD but you ll be limited to TB The Blade and meanwhile let you add more RAM and up to two NVMe SSDs The Blade starts at with an RTX and a p Hz screen Given that price point I d recommend the Blade for most shoppers You d get a larger screen more customizable and faster hardware as well as fewer thermal restrictions And when it comes to inch competition the ASUS Zephyrus G is another solid choice though I d give Razer the upper hand when it comes to long term reliability Still there s a lot to love about the Blade More so than the overpriced Blade Stealth this new model is a light laptop that ll satisfy most of your hardware demands So if you re in love with the idea of a sub four pound Blade and don t mind the compromises involved then go with the gaming gods 2021-09-02 17:30:03
海外TECH Engadget Facebook expands access to licensed music for game streams https://www.engadget.com/facebook-gaming-level-up-creators-licensed-music-streams-170052703.html?src=rss Facebook expands access to licensed music for game streamsFacebook Gaming is letting more creators play licensed music in the background while streaming gameplay Streamers who have partner status have been able to spin tracks from a broad range of publishers and labels since last September and now Level Up creators can do so too Level Up is a step below partner status Creators in the former group can monetize their streams with Facebook s Stars currency ads and paid subscriptions They also get access to tools to build their audience and features like being able to stream in p at frames per second Partners get extra perks such as a partner badge early access to new products and more personalized support from Facebook Streamers in both categories can play songs from hundreds of music labels publishers and societies including big hitters like Universal Music Group Warner Music Group and Sony Music Entertainment As well as live broadcasts the deals cover archived streams and clips viewers make from streams Creators aren t limited to predetermined playlists so they can play almost any song they like Facebook notes that streamers don t have the right to use certain songs though and it ll flag those to creators with a notification The streamer can remove that restricted song from their playlist to avoid running into trouble Elsewhere Facebook says its systems are better at detecting the difference between having music in the background while you re playing games and having music as the focus of the stream like hosting a radio show which isn t allowed To mark the expansion Facebook is hosting several streams in which celebrity DJs will select the background tracks while creators play games DJ Khaled and Diplo are among those taking part in the special streams which take place throughout this month 2021-09-02 17:00:52
海外科学 NYT > Science More Than 80 Percent of Seniors Are Vaccinated. That’s ‘Not Safe Enough.’ https://www.nytimes.com/2021/09/02/health/covid-vaccines-seniors.html covid 2021-09-02 17:48:37
海外科学 NYT > Science House Committees Demand F.D.A. Records on Alzheimer’s Drug Approval https://www.nytimes.com/2021/09/02/health/aduhelm-fda.html committee 2021-09-02 17:20:46
海外科学 NYT > Science Climate Change Is Bankrupting America’s Small Towns https://www.nytimes.com/2021/09/02/climate/climate-towns-bankruptcy.html Climate Change Is Bankrupting America s Small TownsRepeated shocks from hurricanes fires and floods are pushing some rural communities already struggling economically to the brink of financial collapse 2021-09-02 17:30:00
ニュース BBC News - Home Abba delight fans with new 10-song album and virtual concert https://www.bbc.co.uk/news/entertainment-arts-58423452?at_medium=RSS&at_campaign=KARANGA studio 2021-09-02 17:40:50
ニュース BBC News - Home Afghanistan: Kabul airport could reopen for evacuation flights soon, says Dominic Raab https://www.bbc.co.uk/news/uk-58417078?at_medium=RSS&at_campaign=KARANGA qatar 2021-09-02 17:17:41
ニュース BBC News - Home England lose Root late as India hit back with ball https://www.bbc.co.uk/sport/cricket/58426471?at_medium=RSS&at_campaign=KARANGA england 2021-09-02 17:48:23
ニュース BBC News - Home US Open 2021: Emma Raducanu beats Zhang Shuai to reach third round https://www.bbc.co.uk/sport/tennis/58427963?at_medium=RSS&at_campaign=KARANGA US Open Emma Raducanu beats Zhang Shuai to reach third roundBritish teenager Emma Raducanu delivers another impressive display as she sweeps aside China s Zhang Shuai to reach the US Open third round 2021-09-02 17:35:34
ニュース BBC News - Home England v India: Best shots of Shardul Thakur's brilliant 57 in 36 balls https://www.bbc.co.uk/sport/av/cricket/58424969?at_medium=RSS&at_campaign=KARANGA England v India Best shots of Shardul Thakur x s brilliant in ballsShardul Thakur smashes a brilliant in balls to take the fight back to England before India are eventually bowled out for on the first day of the fourth Test at The Oval 2021-09-02 17:08:20
ビジネス ダイヤモンド・オンライン - 新着記事 夫を不良から英雄に変えた「元祖あげまん」、縁結びの神様とは? - 最強の神様100 https://diamond.jp/articles/-/280805 夫を不良から英雄に変えた「元祖あげまん」、縁結びの神様とは最強の神様「仕事運」「金運」「恋愛運」「健康運」アップ「のご利益」の組み合わせからあなたの願いが叶う神様が必ず見つかる八百万やおよろずの神様から項目にわたって紹介。 2021-09-03 02:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 自民党総裁選の仕組みを「1枚の図」にしてみた! - なんでも図解 https://diamond.jp/articles/-/281179 自民党総裁 2021-09-03 02:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 「相続なんて縁起の悪い話をするな!」と先送りしてはいけない理由 - ぶっちゃけ相続 https://diamond.jp/articles/-/281184 縁起 2021-09-03 02:35:00
GCP Cloud Blog Traffic Director explained! https://cloud.google.com/blog/topics/developers-practitioners/traffic-director-explained/ Traffic Director explained If your application is deployed in a microservices architecture then you are likely familiar with the networking challenges that come with it Traffic Director helps you run microservices in a global service mesh The mesh handles networking for your microservices so that you can focus on your business logic and application code and that doesn t need to know about underlying networking complexities This separation of application logic from networking logic helps you improve your development velocity increase service availability and introduce modern DevOps practices in your organization Click to enlargeHow does a typical service mesh work in Kubernetes In a typical service mesh you deploy your services to a Kubernetes cluster Each of the services Pods has a dedicated proxy usually Envoy running as a sidecar container alongside the application container s Each sidecar proxy talks to the networking infrastructure a control plane that is installed in your cluster The control plane tells the sidecar proxies about services endpoints and policies in your service mesh When a Pod sends or receives a request the request is intercepted by the Pod s sidecar proxy The sidecar proxy handles the request for example by sending it to its intended destination The control plane is connected to each proxy and provides information that the proxies need to handle requests To understand the flow if application code in Service A sends a request the proxy handles the request and forwards it to Service B This model enables you to move networking logic out of your application code You can focus on delivering business value while letting the service mesh infrastructure take care of application networking How is Traffic Director different Traffic Director works similarly to the typical service mesh model but it s different in a few very crucial ways  Traffic Director provides  A fully managed and highly available control plane You don t install it it doesn t run in your cluster and you don t need to maintain it Google Cloud manages all this for you with production level SLOs  Global load balancing with capacity and health awareness and failovers Integrated security features to enable a zero trust security posture  Rich control plane and data plane observability features Support for multi environment service meshes spanning across multi cluster Kubernetes hybrid cloud VMs gRPC services and more In the example pictured here Traffic Director is the control plane and the four services in the Kubernetes cluster each with sidecar proxies are connected to Traffic Director Traffic Director provides the information that the proxies need to route requests For example application code on a Pod that belongs to Service A sends a request The sidecar proxy running alongside this Pod handles the request and routes it to a Pod that belongs to Service B Multi cluster Kubernetes Traffic Director supports application networking across Kubernetes clusters In this example it provides a managed and global control plane for Kubernetes clusters in the US and Europe Services in one cluster can talk to services in another cluster You can even have services that consist of Pods in multiple clusters With Traffic Director s proximity based global load balancing requests destined for Service B go to the geographically nearest Pod that can serve the request You also get seamless failover if a Pod is down the request automatically fails over to another Pod that can serve the request even if this Pod is in a different Kubernetes cluster How does Traffic Director work across hybrid and multi cloud environments Whether you have services in Google Cloud on premises in other clouds or all of these your fundamental application networking challenges remain the same How do you get traffic to these services How do these services communicate with each other Traffic Director can route traffic from services running in Google Cloud to services running in another public cloud and to services running in an on premises data center Services can use Envoy as a sidecar proxy or a proxyless gRPC service When you use Traffic Director you can send requests to destinations outside of Google Cloud This enables you to use Cloud Interconnect or Cloud VPN to privately route traffic from services inside Google Cloud to services or gateways in other environments You can also route requests to external services reachable over the public internet How does Traffic Director support proxyless gRPC and VMs Virtual machines Traffic Director solves application networking for VM based workloads alongside Kubernetes based workloads You simply add a flag to your Compute Engine VM instance template and Google seamlessly handles the infrastructure set up which includes installing and configuring the proxies that deliver application networking capabilities As an example traffic enters your deployment through External HTTP S Load Balancing to a service in the Kubernetes cluster in one region and can then be routed to another service on a VM in a totally different region gRPC With Traffic Director you can easily bring application networking capabilities such as service discovery load balancing and traffic management directly to your gRPC applications This functionality happens natively in gRPC so service proxies are not requiredーthat s why they re called proxyless gRPC applications For more information see Traffic Director and gRPCーproxyless services for your service mesh For a more in depth look into Traffic Director check out this post and documentation   For more GCPSketchnote follow the GitHub repo For similar cloud content follow me on Twitter pvergadia and keep an eye out on thecloudgirl dev Related ArticleImprove gRPC service availability and efficiency with Traffic DirectorMake your proxyless gRPC services with Traffic Director more reliable and efficient with the new capabilities Retry and Session Affinity Read Article 2021-09-02 17:30:00

コメント

このブログの人気の投稿

投稿時間: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件)