投稿時間:2023-03-19 20:08:02 RSSフィード2023-03-19 20:00 分まとめ(11件)
カテゴリー等 | サイト名等 | 記事タイトル・トレンドワード等 | リンクURL | 頻出ワード・要約等/検索ボリューム | 登録日 |
---|---|---|---|---|---|
TECH | Techable(テッカブル) | KDDI・三菱重工業ら、実験でデータセンター内のサーバーを液体冷却。冷却電力の94%減を達成 | https://techable.jp/archives/200174 | 三菱重工 | 2023-03-19 10:00:42 |
AWS | AWSタグが付けられた新着投稿 - Qiita | [AWS]用語について備忘録! | https://qiita.com/momozo_trademen/items/2fddfaf2100708984e9c | 箇条書き | 2023-03-19 19:55:41 |
AWS | AWSタグが付けられた新着投稿 - Qiita | AWS EC2インスタンスのボリューム拡張 | https://qiita.com/keitean/items/b8b5282499a2611e8064 | usemountedonoverlaygg | 2023-03-19 19:03:48 |
技術ブログ | Developers.IO | [アップデート] AWS Database Migration Service でターゲットエンドポイントへ S3 を指定する時に Glue データカタログを自動生成するオプションが利用出来るようになりました | https://dev.classmethod.jp/articles/dms-s3-glue-datacatalog/ | アップデートAWSDatabaseMigrationServiceでターゲットエンドポイントへSを指定する時にGlueデータカタログを自動生成するオプションが利用出来るようになりましたいわさです。 | 2023-03-19 10:39:53 |
海外TECH | DEV Community | Revolutionizing APIs: The GraphQL Future | https://dev.to/jagroop2000/revolutionizing-apis-the-graphql-future-2gc9 | Revolutionizing APIs The GraphQL FutureGraphQL is a query language and runtime for Facebook APIs Application Programming Interfaces It enables developers to specify the structure of the data they require from the API and the server will return that data One of the primary benefits of GraphQL is that it allows customers to request only the data they require This decreases data overfetching and underfetching which can increase application performance while also lowering network traffic GraphQL specifies a schema that outlines the different sorts of data and the queries and changes that may be done on that data The schema acts as a contract between the client and the server guaranteeing that only legitimate data is requested by the client GraphQL is also adaptable and expandable allowing developers to create new kinds queries and mutations It is compatible with a broad number of computer languages and frameworks and it is gaining popularity in the web development community Advantages GraphQL allows clients to request exactly the data they want decreasing data overfetching and underfetching which can enhance application speed and minimise network traffic GraphQL s schema and tightly typed architecture assist to prevent frequent API problems and enable auto generated API documentation resulting in increased developer productivity This can increase developer productivity and decrease debugging time GraphQL is both versatile and extendable enabling developers to build their own types queries and mutations As a result it is appropriate for a wide range of applications Improved client server collaboration The GraphQL schema establishes a clear contract between the client and the server guaranteeing that the client may only request legitimate data This has the potential to promote communication between client and server teams Cross platform support GraphQL can be used with a wide range of programming languages and frameworks making it a versatile technology for building APIs Future of GraphQL GraphQL has a bright future because it is already being utilised by a lot of businesses and developers and is anticipated to continue growing in popularity Further tools and resources will probably be created when it is embraced more widely in order to make it simpler to use There may also be an effort to standardise best practises and norms more broadly In addition to APIs GraphQL may also be applied to other kinds of data sources When this potential is investigated it may result in more data sources being integrated In especially when GraphQL is used to handle bigger quantities of data performance optimization will be a key area of attention Overall GraphQL has a promising future since it is still a cutting edge and adaptable technology for creating APIs and managing data | 2023-03-19 10:57:07 |
海外TECH | DEV Community | TypeScript for Beginners: What You Should Know | https://dev.to/swordheath/typescript-for-beginners-what-you-should-know-n0a | TypeScript for Beginners What You Should KnowTypeScript is a great programming language that was introduced to the public in This language is a typed superset of JavaScript that compiles to plain JavaScript TypeScript is pure object oriented with classes and interfaces and statically typed like C or Java The popular JavaScript framework Angular is written in TypeScript Mastering TypeScript can help programmers write object oriented programs and have them compiled to JavaScript both on the server side and the client side Since I ve only recently mastered my skills working with this programming language I decided to share my experience and hopefully help those who are just at the beginning of their journey Why can using typescript be helpful As was already mentioned TypeScript is a kind of subtype of JavaScript which helps developers simplify the original language so it is easier to implement it in projects In the developer world there are lots of doubts regarding TypeScript and the general sense that it brings to the code writing process But my opinion here is that TypeScript knowledge is not something that will take a lot of your time while learning but something that will definitely give you lots of advantages especially if you work with JavaScript Furthermore TypeScript extends JavaScript and improves the developer experience It enables developers to add type safety to their projects TypeScript provides various other features like interfaces type aliases abstract classes function overloading tuples generics etc Setting up typescriptThe first and most obvious step is to know JavaScript Because typescript is based on this programming language learning it is primarily dependent on your understanding of JavaScript You don t have to be a master of JavaScript but without knowing some basics of this language working with TypeScript is a challenging task When I was dealing with this programming language I found dozens of different resources explaining the mechanics of writing the code and also very helpful for me was the official documentation which you can find here There are a few basic steps that will help you start working with TypeScript Step Installing In this step you need to install Node js on your computer and the npm command manager It is also possible to use Visual Studio typescript plugins but I personally prefer working with Node Js gt npm install g typescriptOnce Node js is installed run node v to see if the installation was successful Step Generate the Node js fileUsing the npm init command you will need to generate the Node js package json file which will introduce systematic questions about your project Step Add TypeScript dependenciesNow when we prepared our environment in Node js we needed to install dependencies for TypeScript using the following command npm install g typescriptThe command will install the TypeScript compiler on a system wide basis From that moment any project you create on your computer can access TypeScript dependencies without having to reinstall the TypeScript package Step Install typescript ambient declarationsThis is probably one of the greatest things that typescript offers ambients This is a specific declaration type or module that tells the TypeScript compiler about actual source code like variables or functions existing elsewhere If our TypeScript code needs to use a third party library that was written in plain JavaScript libraries like jQuery AngularJS or Node js we can always write ambient declarations The ambient declaration describes the types that would have been there and will be written in TypeScript The TypeScript ecosystem contains thousands of such ambient declarations files which you can access through DefinitelyTyped DefinitelyTyped is a repository that contains declaration files contributed and maintained by the TypeScript community To install this declaration file use this command npm install save dev types nodeMost of the types for popular JavaScript libraries exist in DefinitelyTyped However if you have a JavaScript library whose types are missing from DefinitelyTyped you can always write your own ambient modules for it Defining types doesn t necessarily have to be done for every line of code in the external library only for the portions you are using Step Create a typescript configuration fileThe tsconfig json file is where we define the TypeScript compiler options npx tsc init rootDir src outDir buildThe tsconfig json file has many options It s good to know when to turn things on and off TSC reads this file and uses these options to translate TypeScript into browser readable JavaScript Step Create a scr foldersrc hosts the TypeScript files mkdir srctouch src index tsInside src we also create an index ts file and then we can start writing some TypeScript code While writing Typescript it is advisable to have a Typescript compiler installed in your project s local dependencies Step Executing TypeScriptNow run the tsc command using npx the Node package executer tsc will read the tsconfig json file in the current directory and apply the configuration against the TypeScript compiler to generate the compiled JavaScript code npx tscNow run the command below to execute the code node dist index jsBasically that s it we ve set up an environment and compiled our first TypeScript file where we can now start writing our code Important things to knowWhen starting to work with TypeScript you should take into account that TypeScript takes longer to write than JavaScript because you have to specify types so it may not be worth using for small projects TypeScript must be compiled which can take some time particularly in larger projects These are two limitations that TypeScript has it doesn t mean that you should not implement it in larger projects but you should be aware that it may slow down the code writing process So if you have an urgent huge project think thoroughly about whether to use TypeScript for it or not In this post I just briefly explained the basics of setting up TypeScript and its purpose but to be able to build projects based on this programming language you need to know a lot of theory especially ones about classes modules variables functions interfaces etc As with any programming language theory is the basis that allows developers to avoid mistakes in most cases and successfully create and run projects ConclusionBecause TypeScript generates plain JavaScript code you can use it with any browser TypeScript is also an open source project that provides many object oriented programming language features such as classes interfaces inheritance overloading and modules Overall TypeScript is a promising language that can undoubtedly assist you in neatly writing and organizing your JavaScript code base making it more maintainable and extensible | 2023-03-19 10:31:23 |
海外TECH | DEV Community | AWS Services for Blogging: A Comprehensive Overview | https://dev.to/manojlingala/aws-services-for-blogging-a-comprehensive-overview-3e4b | AWS Services for Blogging A Comprehensive OverviewIn this article we ll explore how to leverage AWS services to create a scalable and efficient system for blogging However the intent of this article is not to build a complete blogging platform from scratch Instead we ll focus on showcasing how to use AWS services like Api gateway Api SQS SNS Dynamo DB to create a scalable and efficient backend for a blog Designing the BackendDefine the data model for the blog articlesBefore we can start building the backend we need to define the data model for the blog articles Here s an example of what our data model might look like using System Text Json public class Article JsonPropertyName id public string Id get set JsonPropertyName title public string Title get set JsonPropertyName content public string Content get set JsonPropertyName author public string Author get set JsonPropertyName published public DateTime Published get set JsonPropertyName media public Media Media get set public class Media JsonPropertyName url public string Url get set JsonPropertyName type public string Type get set In this data model we have several attributes for each article including an id for identifying each article a title content author published date time and media information for any images or other media associated with the article Create a DynamoDB table for storing article dataNext we need to create a DynamoDB table for storing the article data Here s an example of how to create a DynamoDB table using the AWS SDK for NET in C AmazonDynamoDBClient client new AmazonDynamoDBClient var request new CreateTableRequest TableName ArticlesTable KeySchema new List lt KeySchemaElement gt new KeySchemaElement id KeyType HASH Partition key AttributeDefinitions new List lt AttributeDefinition gt new AttributeDefinition id ScalarAttributeType S ProvisionedThroughput new ProvisionedThroughput ReadCapacityUnits WriteCapacityUnits CreateTableResponse response await client CreateTableAsync request In this example we re creating a DynamoDB table called ArticlesTable with a partition key of id We re also specifying a provisioned throughput of read and write capacity units Create an S bucket for storing media filesNow let s create an S bucket for storing media files Here s an example of how to create an S bucket using the AWS SDK for NET in C AmazonSClient client new AmazonSClient var request new PutBucketRequest BucketName my media bucket PutBucketResponse response await client PutBucketAsync request In this example we re creating an S bucket called my media bucket Set up Elastic Cache to improve performance of read heavy operationsFinally we ll set up Elastic Cache to improve the performance of read heavy operations Here s an example of how to create an Elastic Cache cluster using the AWS SDK for NET in C GET api articles HttpGet public async Task lt ActionResult lt IEnumerable lt Article gt gt gt Get const string cacheKey RecentArticles var articlesJson await cache GetStringAsync cacheKey if articlesJson null var articles await dbContext ScanAsync lt Article gt new List lt ScanCondition gt GetRemainingAsync articlesJson JsonSerializer Serialize articles await cache SetStringAsync cacheKey articlesJson new DistributedCacheEntryOptions AbsoluteExpirationRelativeToNow TimeSpan FromMinutes var articlesResult JsonSerializer Deserialize lt IEnumerable lt Article gt gt articlesJson return Ok articlesResult Use SNS to notify subscribers when a new comment is added POST api articles articleId comments HttpPost articleId comments public async Task lt ActionResult gt AddComment string articleId Comment comment Save the comment to DynamoDB assume a method called SaveCommentAsync exists await SaveCommentAsync articleId comment Publish a message to the SNS topic var message A new comment was added to article articleId by comment Author var request new PublishRequest TopicArn Configuration AWS SNS NewCommentTopicArn Message message await snsClient PublishAsync request return CreatedAtAction nameof GetComment new articleId commentId comment Id comment Use SQS to process tasks such as sending emails to users POST api users HttpPost public async Task lt ActionResult lt User gt gt CreateUser User user await SaveUserAsync user Send a welcome email using SQS var messageBody JsonSerializer Serialize new Email user Email Subject Welcome to the Blogging Platform Body Hi user FirstName n nThank you for joining our blogging platform We re excited to have you on board n nBest regards nThe Blogging Platform Team var sendMessageRequest new SendMessageRequest QueueUrl Configuration AWS SQS EmailQueueUrl MessageBody messageBody await sqsClient SendMessageAsync sendMessageRequest return CreatedAtAction nameof GetUser new id user Id user Let s discuss how the architecture we ve set up using AWS services impacts scalability performance and reliability Scalability API Gateway and Lambda allow you to create serverless applications that can scale automatically with the number of incoming requests This means you don t have to worry about provisioning or managing servers to handle a growing user base DynamoDB is a managed NoSQL database that can scale horizontally to support large amounts of data and high request rates It automatically partitions your data across multiple servers to provide consistent low latency performance SQS enables you to decouple components of your application allowing you to scale each component independently This helps ensure that your application remains responsive even when individual components experience high load SNS supports the fan out messaging pattern allowing you to easily distribute messages to multiple subscribers As the number of subscribers grows SNS can handle the increased load without affecting the performance of your application Performance ElastiCache provides an in memory data store that can be used to cache frequently accessed data reducing the latency of data retrieval and offloading read traffic from your database This helps to improve the overall performance of your application Lambda functions execute in parallel enabling your application to handle a large number of requests concurrently This ensures that your application can respond quickly to user requests even during peak traffic periods DynamoDB s consistent single digit millisecond latency enables you to build high performance applications that require low latency data access Reliability AWS services such as API Gateway Lambda DynamoDB SQS and SNS are designed for high availability and durability They are hosted across multiple Availability Zones ensuring that your application remains operational even if an entire data center experiences an outage By decoupling components using SQS you can build fault tolerant applications that can continue to operate even if individual components fail This helps to ensure that your application remains reliable and available to users In this article we ve discussed how to build a scalable high performance blogging system using AWS services including Lambda SQS SNS DynamoDB and ElastiCache We have also touched on the data models example code and practical implementation of various AWS services By leveraging these services you can create a serverless architecture that easily scales with demand provides high performance and ensures reliability allowing you to focus on building features and functionality rather than managing infrastructure Note to readers If you require more in depth information on each topic or have any questions please feel free to leave a comment below I would be more than happy to address your concerns and help my fellow developers dive deeper into these topics Your feedback and engagement are valuable to me and I look forward to assisting you in your journey with AWS and serverless technologies | 2023-03-19 10:02:55 |
ニュース | BBC News - Home | Harrison: 'I had no option but to take Stephen Bear to court' | https://www.bbc.co.uk/news/uk-64998904?at_medium=RSS&at_campaign=KARANGA | explicit | 2023-03-19 10:45:43 |
ニュース | BBC News - Home | Gary Lineker will not present FA cup coverage after losing his voice | https://www.bbc.co.uk/news/uk-65005620?at_medium=RSS&at_campaign=KARANGA | impartiality | 2023-03-19 10:51:11 |
ニュース | BBC News - Home | SNP leadership: Decisions need to be made by 'big team', says Forbes | https://www.bbc.co.uk/news/uk-scotland-scotland-politics-65001543?at_medium=RSS&at_campaign=KARANGA | members | 2023-03-19 10:44:03 |
ニュース | Newsweek | またロシア大物「不審死」...39人目は、英ヘンリー王子夫妻が住む豪邸の元所有者 | https://www.newsweekjapan.jp/stories/world/2023/03/39-12.php | 2023-03-19 19:40:00 |
コメント
コメントを投稿