AWS |
AWS Big Data Blog |
Stream Amazon EMR on EKS logs to third-party providers like Splunk, Amazon OpenSearch Service, or other log aggregators |
https://aws.amazon.com/blogs/big-data/stream-amazon-emr-on-eks-logs-to-third-party-providers-like-splunk-amazon-opensearch-service-or-other-log-aggregators/
|
Stream Amazon EMR on EKS logs to third party providers like Splunk Amazon OpenSearch Service or other log aggregatorsSpark jobs running on Amazon EMR on EKS generate logs that are very useful in identifying issues with Spark processes and also as a way to see Spark outputs You can access these logs from a variety of sources On the Amazon EMR virtual cluster console you can access logs from the Spark History UI … |
2022-07-20 15:30:05 |
AWS |
AWS Big Data Blog |
Integrate Amazon Redshift row-level security with Amazon Redshift native IdP authentication |
https://aws.amazon.com/blogs/big-data/integrate-amazon-redshift-row-level-security-with-amazon-redshift-native-idp-authentication/
|
Integrate Amazon Redshift row level security with Amazon Redshift native IdP authenticationAmazon Redshift is a fully managed petabyte scale data warehouse service in the cloud You can start with just a few hundred gigabytes of data and scale to a petabyte or more This enables you to use your data to acquire new insights for your business and customers As enterprise customers look to build their data … |
2022-07-20 15:25:30 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
[python] 仮想環境 |
https://qiita.com/afrodog0828/items/1045f16b77b59e74f322
|
開発 |
2022-07-21 00:26:31 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】EC2インスタンスを起動してTeraTermからSSH接続する |
https://qiita.com/Aichi_Lover/items/3471b1ba710e995ffd80
|
teraterm |
2022-07-21 00:40:38 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
未経験エンジニアが感じたサーバレスってなに? |
https://qiita.com/shirochu0911/items/ead9212f2f567f2b118b
|
違い |
2022-07-21 00:09:32 |
海外TECH |
DEV Community |
Microsoft Releases New .NET Rate Limiter in .NET 7 - And It's Amazing!🤯 |
https://dev.to/dotnetsafer/microsoft-releases-new-net-rate-limiter-in-net-7-and-its-amazing-1bkf
|
Microsoft Releases New NET Rate Limiter in NET And It x s Amazing It s official ーMicrosoft has released the new NET Rate Limiter in NET It s amazing and it will avoid any problems you have had with rate limiting in the past Check out this blog post to learn more about it As far as performance goes this new NET rate limiter has been designed to handle thousands of concurrent requests with minimal overhead ーmaking it perfect for high traffic sites with millions of active users First of all before we start talking about the amazing features that Microsoft s rate limiting brings to NET we need to understand what rate limiting is what it is for and how it works What is Rate Limiting Before we are building our project NET API Blazor application or whatever… we must make sure that we don t have any security problem and the app throttling has already a long time That s why this rate limiting concept is not new Rate limiting is about as its name suggests limiting or restricting access to certain resources in a specific time window by setting maximum access rates To explain this concept in a more practical way imagine that you have an application that connects to a database through an API Let s assume that this database and API is not hosted on a quantum super server and we know that it can handle about requests daily At this point many developers will be wondering things like Will the API and database be able to handle more than requests daily What would happen if it exceeded that number of requests If it can t handle any more requests will it go down All these questions raise doubts as to whether the database and API have the capacity to handle more requests This is why the concept of rate limiting has been created A rate limiter using different types of algorithms would accept in this case requests each day and deny or block any request that exceeds that number In this way we could ensure that the service is never saturated If rate limiting is not implemented in our developments we create a nice gateway for any attacker who wants to harm our application or service or even unintentionally by excessive requests Implementing rate limiting within NET services and controlling the maximum number of requests will prevent possible API and database saturation API limit rate but this is not the only problem it solves Why do we need and use Rate Limiting As I said before the problem of saturation of a service or functionality can not only be due to an involuntary action It can also be intentionally thought and performed by a hacker or attacker causing a DoS Denial of Service attack If we assume the case where we have a public API which can be accessed by many clients at the same time Even if most of them are legitimate users just by having the API or public service opens the possibility of attacks from the outside This depends on the requirements that the API may need as the throttling may affect a specific endpoint or all endpoints Using API rate limit will also help protect us from possible Dos attacks by human attackers or even bot attacks which are multiple infected computers controlled by the attacker botnets These controls can limit by IP address commonly by user or by any identifier Another more commercial use of Rate Limiting is to offer a charge or subscription for using a service or API called pay as you go In this way many IaaS companies and cloud providers that offer public APIs ensure that their users and customers do not use the service more than they have paid for Now that the concept of Rate Limiting is clear let s see and explain the new Rate Limiter that Microsoft has released in NET NET Rate LimitingFirst of all let s remember that we have AspNetCoreRateLimit nuget package for a MVC app or web API and it s also in Github by Stefan Prodan This new Rate Limiter is integrated in NET and according to Microsoft it will help us to keep the traffic of our application on a safe level and will prevent us from overwhelming the application “Rate limiting provides a way to protect a resource in order to avoid overwhelming your app and keep traffic at a safe level There are actually multiple combination of algorithms and different ways to control the flow of all the requests that a NET application may have and Microsoft has decided to present the main algorithms for NET applications provided in NET Concurrency limitConcurrency limiter is the “simplest solution for rate limiting This limiter presented by Microsoft is in charge of limiting the maximum number of concurrent requests By specifying a limit number the limiter will deny the next request because it has exceeded the maximum number of allowed requests Imagine you set the limit to concurrent requests which would mean that only requests would be allowed at a time If for any reason a st request is generated it would be denied for exceeding the specified limit Using RateLimitLease with RateLimiter class we can increase the number of requests allowed each time a request is completed Let s check this code example RateLimitLease is part of System Threading RateLimiting the new nuget package that provides the built in “primitives and algorithms for creating and configuring rate limiters and is included in NET Token bucket limitThe token bucket is the second algorithm released by Microsoft This algorithm limits the number of requests based on a defined amount of allowed requests As Microsoft says its name describes how it works a bit abstactly but yes let s understand it with a simple example Suppose we have an application and this application has an imaginary bucket This bucket has a limit of tokens requests to the application and only tokens can fit in it for example If a user comes and makes a request token this will be consumed from the bucket and tokens will remain Now let s imagine that an attacker comes with a botnet and generates tokens requests As there were free tokens left before only the first of the requests made by the attacker will be processed and the remaining will be denied In this current scenario no request will be processed until some free token is generated in the bucket This process happens every minute Fixed window limitThe third algorithm released by Microsoft in the new NET rate limiter is fixed window limit This algorithm is somewhat similar in some respects to token bucket limit but it does have its differences Fixed window limit is in charge of allowing a certain amount of requests through a fixed window in a given time To explain it in a more practical way I will reuse Microsoft s example of the cinema Let s imagine that we have in front of us a cinema with seats maximum capacity of Now in this cinema is projected the Fast and Furious movie that lasts h m people enter and watch the movie but at the same time another people can queue up to watch the next session Once the h m of the first session is over the people who were watching the movie will leave and leave the seats free for the next people and so on Let s say it goes in cycles of at a time in this example Sliding window limitThe fourth algorithm for rate limiting in NET is sliding window The sliding window limit is similar to fixed window limit but has an addition of divisions also known as segments Let s understand it based on the example provided by Microsoft again Let s imagine that we have a window of hours this window is divided into segments of hour each and can accept a maximum of requests simultaneously Now we also have an index that will point to the current segment of the window the most recent or new one Now in the first hour we receive requests These requests will go directly to the current segment pointed to by the index When the first hour has passed the window index will go to the next segment with a total capacity of requests since the other are occupied in the previous segment In the second hour new requests come in which go back to the segment indicated by the index and the number of available requests would drop to requests Again when this second hour has passed the window index will move to the next position and as the first requests that entered in the first hour have been left out of the window those requests are recovered leaving a total of free requests at the moment Having explained this we also have a couple of abstractions inside the nuget package System Threading RateLimiting like PartitionedRateLimiter or RateLimiting middleware and let s explain them to understand them and be able to move our NET applications and APIs away from throttle PartitionedRateLimiterAs I said a moment ago PartitionedRateLimiter belongs to the popular nuget package System Threading RateLimiting It is similar in some aspects to RateLimiter that I explained above but the main difference is that PartitionedRateLimiter allows to have arguments for methods on TResource instances As Microsoft explains Acquire becomes Let s see how Microsoft provides the example If you want to know more please check the original source Microsoft PartitionedRateLimiter RateLimiting middlewareRateLimiting middleware is also part of System Threading RateLimiting and its main function is to be able to configure and add custom rate limiting policies to endpoints Going back to the Microsoft examples in this case we can find that Has the same functionality as PartionedRateLimiter It also has the option RateLimiterOptions which includes RejectionStatusCode with which we can return a status code default is If you want to know more please check the original source Microsoft RateLimiting middleware I hope these explanations have cleared up a lot of doubts about NET rate limiting I would like to know if any developer is going to implement or has already implemented the NET rate limiter for API limiting in API |
2022-07-20 15:11:41 |
Apple |
AppleInsider - Frontpage News |
Morgan Stanley trims AAPL target to $180 on weaker than expected quarter |
https://appleinsider.com/articles/22/07/20/morgan-stanley-trims-aapl-target-to-180-on-weaker-than-expected-quarter?utm_medium=rss
|
Morgan Stanley trims AAPL target to on weaker than expected quarterInvestment bank Morgan Stanley has cut its Apple price target to from and is expecting June quarter results slightly below Wall Street expectations Apple MacBook modelsIn a note to investors seen by AppleInsider Morgan Stanley lead analyst Katy Huberty says that foreign exchange rates and ongoing supply chain issues are likely to limit June quarter upside That s despite the fact that the iPhone is still seeing solid results Read more |
2022-07-20 15:50:38 |
海外TECH |
Engadget |
DoorDash couriers will need to scan a customer’s ID before delivering alcohol |
https://www.engadget.com/doordash-alcohol-delivery-id-scan-154843005.html?src=rss
|
DoorDash couriers will need to scan a customer s ID before delivering alcoholDoorDash is rolling out a new requirement for alcohol deliveries across the US The delivery person will need to scan a customer s ID with the DoorDash app to make sure the buyer is of legal drinking age They ll also check for signs of intoxication before handing over the booze couriers are not allowed to deliver alcohol to someone who is visibly intoxicated The identity verification measure builds on DoorDash s existing alcohol delivery rules You ll still need to scan your ID into the app before you can complete an order for hooch Until now customers only had to show their ID to the delivery person DoorDash s goal with the scanning requirement is to make it harder for users aged under to receive alcohol DoorDash delivers alcohol in states as well as Puerto Rico Canada and Australia DoorDashThe company tested the dual ID verification measure in several cities It said the feature made it easier for couriers to verify the user s identity and age before giving them the order When it comes to ensuring ID details remain secure DoorDash says it has implemented administrative organizational technical and physical security controls that are designed to safeguard personal information According to the privacy policy it will permanently delete biometric information that s no longer needed “At DoorDash safety is a top priority and our goal is to deliver alcohol in the safest and most responsible way possible DoorDash s general manager of alcohol Erik Ragotte said in a statement “With today s announcement of two step or dual ID verification we re setting a new industry standard for responsible alcohol delivery The new safety measures will help ensure alcohol is delivered to people over the age of We will continue to innovate and find even more ways to promote responsible alcohol delivery |
2022-07-20 15:48:43 |
海外TECH |
Engadget |
Somehow, I’m playing ‘Overwatch’ again |
https://www.engadget.com/overwatch-2-beta-replay-gaming-irl-153032179.html?src=rss
|
Somehow I m playing Overwatch againI m not sure what pulled me back into Overwatch Correction It was all Jessica Conditt s fault Her incisive overview on the Summer Game Fest which noted the lack of fresh updates on AAA games those major games we re all excited about got me thinking about which games I m waiting to play One of those is Overwatch Which is coming this year has a release date and is just wrapping up its public beta Oh and it s completely rid of loot boxes Rejoice The fact that the original Overwatch will evolve into its sequel which will be free to play rewired my brain Before I knew it I was back in the game s lobby waiting my turn to play as all of the popular characters now categorized as Damage players I was already used to the notion that your team of heroes had to strike a balance between support healers Tank damage sponges and Damage your er damage dealers This dynamic makes for more strategic fights even in casual match ups But it means I often don t get to play with some of my favorite characters BlizzardIn casual games there seems to be a dearth in Support players sadly Luckily for me Moria is one of my go to characters Hopefully Overwatch will redistribute characters across those three categories ーnot to mention new additions and new skills and supers Of course these mandatory squad layouts were one of many major changes and shifts in Overwatch since it first arrived back in Once upon a time the dwarfy Torbjörn had an upgradable turret gun and threw out armor packs Reaper had to collect little orbs of death to gain health from his kills Symmetra one of the relatively late additions to the game has had her abilities and ultimates reshuffled several times At one point she had two ultimate options while another changed nerfed her sentry turret down from six turrets down to three Outrageous The most controversial change was made to everyone s go to healer Mercy In the early stages of Overwatch her ultimate attack would revive all KOed heroes in range It was…rather overpowered These days it s a more sensible single person revive that charges faster but some may never get over some of these shakeups They should Ed note I won t Engadget ·What s up with Overwatch There are big changes afoot in Overwatch too After weeks of playing the beta I was relieved that many of my primary characters really haven t changed at all at least not yet It s unusual to see Bastion wheeling around as a tank and I m now bad at playing as Bastion while I m still acquainting myself with Orisa s changes which completely shake up her playstyle no shield This will take some time A few new skill effects are also a little hard to decipher visually You can check out my colleague Jessica s deeper thoughts on the beta right here I maintain despite or thanks to the many many additions that Overwatch has the most iconic character roster of a game since Street Fighter Still I don t like having to really dig for the lore and character backgrounds outside of the game to understand the motivations ーor at least the sassy asides they say to each other It s funny I mention SF because the beta feels a little like Super Street Fighter which gave us four new characters a few more locales but didn t exactly reinvent the wheel The beta remains limited to standard versus matches though you will occasionally get to test out the cute robot tug of war matches every now and then It s mostly the same Overwatch experience The two new characters Junker Queen and Sojourn are both compelling additions to the roster so far even if there are still too many Damage characters The Junker Queen in particular seems to offer some intriguing new moves to shake up the competitive meta I m still hoping for more beyond the base game matchups though whether that s more cooperative set pieces or something entirely new and different Is that too much to ask from what will be a free to play game Hopefully Overwatch will also better expand on narrative bits and pieces The addictive ebb and flow of the fights feel the same but I wonder if Blizzard can continually evolve and expand the experience to keep me hooked this time just like Roadhog would have wanted |
2022-07-20 15:30:32 |
Cisco |
Cisco Blog |
Cisco DNA Center is now FIPS 140-2 certified |
https://blogs.cisco.com/networking/cisco-dna-center-is-now-fips-140-2-certified
|
catalyst |
2022-07-20 15:00:50 |
海外TECH |
CodeProject Latest Articles |
Setting Up Wazuh for Host-Based Monitoring |
https://www.codeproject.com/Articles/5337660/Setting-Up-Wazuh-for-Host-Based-Monitoring
|
server |
2022-07-20 15:45:00 |
金融 |
◇◇ 保険デイリーニュース ◇◇(損保担当者必携!) |
保険デイリーニュース(07/21) |
http://www.yanaharu.com/ins/?p=4975
|
損保ジャパン |
2022-07-20 15:13:07 |
金融 |
RSS FILE - 日本証券業協会 |
NISA及びジュニアNISA口座開設・利用状況調査結果について |
https://www.jsda.or.jp/shiryoshitsu/toukei/nisajoukyou.html
|
調査結果 |
2022-07-20 16:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
全国上場会社のエクイティファイナンスの状況 |
https://www.jsda.or.jp/shiryoshitsu/toukei/finance/index.html
|
上場会社 |
2022-07-20 15:30:00 |
金融 |
RSS FILE - 日本証券業協会 |
会長記者会見−2022年− |
https://www.jsda.or.jp/about/kaiken/kaiken_2022.html
|
記者会見 |
2022-07-20 15:30:00 |
金融 |
RSS FILE - 日本証券業協会 |
中間層の資産所得拡大に向けて 〜資産所得倍増プランへの提言〜 |
https://www.jsda.or.jp/about/teigen/shotokubaizouplan/index.html
|
資産 |
2022-07-20 15:30:00 |
ニュース |
BBC News - Home |
London Fire Brigade had busiest day since World War Two, says London mayor |
https://www.bbc.co.uk/news/uk-62232654?at_medium=RSS&at_campaign=KARANGA
|
unprecedented |
2022-07-20 15:14:45 |
ニュース |
BBC News - Home |
Boris Johnson signs off last PMQs claiming mission largely accomplished |
https://www.bbc.co.uk/news/uk-politics-62235845?at_medium=RSS&at_campaign=KARANGA
|
twitter |
2022-07-20 15:11:07 |
ニュース |
BBC News - Home |
David Venables jailed for wife's septic tank murder |
https://www.bbc.co.uk/news/uk-england-hereford-worcester-62235752?at_medium=RSS&at_campaign=KARANGA
|
brenda |
2022-07-20 15:53:54 |
ニュース |
BBC News - Home |
Wildfires rage in Greece, Spain and Italy as heatwave moves across Europe |
https://www.bbc.co.uk/news/world-europe-62235561?at_medium=RSS&at_campaign=KARANGA
|
italy |
2022-07-20 15:09:08 |
ニュース |
BBC News - Home |
EuroMillions: UK ticket-holder claims £195m record jackpot |
https://www.bbc.co.uk/news/uk-62240298?at_medium=RSS&at_campaign=KARANGA
|
lottery |
2022-07-20 15:31:27 |
ニュース |
BBC News - Home |
Rishi Sunak or Liz Truss will be next PM, Tory MPs decide |
https://www.bbc.co.uk/news/uk-politics-62237121?at_medium=RSS&at_campaign=KARANGA
|
leader |
2022-07-20 15:12:27 |
ニュース |
BBC News - Home |
Who will replace Boris Johnson? |
https://www.bbc.co.uk/news/uk-politics-60037657?at_medium=RSS&at_campaign=KARANGA
|
minister |
2022-07-20 15:31:24 |
ニュース |
BBC News - Home |
Tour de France: Tadej Pogacar wins stage 17 but Jonas Vingegaard retains overall lead |
https://www.bbc.co.uk/sport/cycling/62241055?at_medium=RSS&at_campaign=KARANGA
|
Tour de France Tadej Pogacar wins stage but Jonas Vingegaard retains overall leadTadej Pogacar edges out Jonas Vingegaard to win stage of the Tour de France but the Dane retains a handsome overall lead |
2022-07-20 15:38:12 |
北海道 |
北海道新聞 |
「弱り目」ハム、打線沈黙 負傷・コロナで離脱者…あわや無安打無得点(20日) |
https://www.hokkaido-np.co.jp/article/708187/
|
無安打無得点 |
2022-07-21 00:31:00 |
北海道 |
北海道新聞 |
軽乗用車が路外逸脱、男性死亡 標津 |
https://www.hokkaido-np.co.jp/article/708184/
|
標津町古多糠 |
2022-07-21 00:28:00 |
北海道 |
北海道新聞 |
菅野投手ら巨人の22選手陽性 新型コロナ、岡本和内野手も |
https://www.hokkaido-np.co.jp/article/708183/
|
岡本和真 |
2022-07-21 00:20:00 |
北海道 |
北海道新聞 |
南部ヘルソンの補給路攻撃 ウクライナ、米供与兵器で |
https://www.hokkaido-np.co.jp/article/708182/
|
補給 |
2022-07-21 00:20:00 |
海外TECH |
reddit |
Tonari 213 RAW |
https://www.reddit.com/r/OnePunchMan/comments/w3okte/tonari_213_raw/
|
Tonari RAW submitted by u VibhavM to r OnePunchMan link comments |
2022-07-20 15:03:00 |
コメント
コメントを投稿